1
0
Fork 0

Compare commits

..

No commits in common. "b4b8b4ce5188578383507f7321dae523b70bcf09" and "1e91c000f127aa437830a3344388ece99e792a41" have entirely different histories.

16 changed files with 275 additions and 235 deletions

View file

@ -13,7 +13,6 @@ hc emit_hook reload
### disable touchpad, cuz trackpoint rulezzzz ### disable touchpad, cuz trackpoint rulezzzz
xinput --disable 'SynPS/2 Synaptics TouchPad' xinput --disable 'SynPS/2 Synaptics TouchPad'
xinput --disable 'SYNA88022:00 06CB:CE67 Touchpad'
xsetroot -solid "${colors[dark0_hard]}" xsetroot -solid "${colors[dark0_hard]}"
@ -138,9 +137,6 @@ hc keybind XF86AudioNext spawn systemd-run --scope --user "$HOME/bin/mprisctl" n
hc keybind XF86AudioPrev spawn systemd-run --scope --user "$HOME/bin/mprisctl" prev hc keybind XF86AudioPrev spawn systemd-run --scope --user "$HOME/bin/mprisctl" prev
hc keybind XF86AudioPlay spawn systemd-run --scope --user "$HOME/bin/mprisctl" toggle hc keybind XF86AudioPlay spawn systemd-run --scope --user "$HOME/bin/mprisctl" toggle
hc keybind XF86MonBrightnessDown spawn brightnessctl set 10%-
hc keybind XF86MonBrightnessUp spawn brightnessctl set 10%+
# shellcheck disable=2016 # needed to pass whole script to keybind... # shellcheck disable=2016 # needed to pass whole script to keybind...
hc keybind XF86TouchpadToggle spawn systemd-run --scope --user sh -c 'xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" $(xinput --list-props "SynPS/2 Synaptics TouchPad" | awk -F ":\t+" "/Device Enabled/ { print (1+\$2)%2}")' hc keybind XF86TouchpadToggle spawn systemd-run --scope --user sh -c 'xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" $(xinput --list-props "SynPS/2 Synaptics TouchPad" | awk -F ":\t+" "/Device Enabled/ { print (1+\$2)%2}")'

View file

@ -183,8 +183,7 @@ hc --idle | {
play_sym="%{T2}%{T-}" play_sym="%{T2}%{T-}"
;; ;;
esac esac
#playing="$play_sym$play_line" playing="$play_sym$play_line"
playing="$play_sym"
[[ -n "$playing" ]] && playing+=" $separator" [[ -n "$playing" ]] && playing+=" $separator"
fi fi
@ -192,6 +191,25 @@ hc --idle | {
# notify "Player: ${cmd[1]}" "${cmd[2]}" # notify "Player: ${cmd[1]}" "${cmd[2]}"
# player_status[${cmd[1]}]="${cmd[2]}" # player_status[${cmd[1]}]="${cmd[2]}"
;; ;;
ac)
case ${cmd[1]} in
charging)
batt_sym="%{F#00aa00}$batt_sym%{F-}"
ac="+"
notify "Power" "Battery charging"
;;
discharging)
ac="-"
batt_sym="%{F#ffdb00}$batt_sym%{F-}"
notify "Power" "Battery discharging"
;;
idle)
ac="="
notify "Power" "Fully charged"
;;
esac
;;
battery) battery)
#echo "battery" >&2 #echo "battery" >&2
batt_perc="${cmd[1]}" batt_perc="${cmd[1]}"
@ -200,21 +218,15 @@ hc --idle | {
{ [ "$batt_perc" -ge 50 ] && batt_sym= ; } || { [ "$batt_perc" -ge 50 ] && batt_sym= ; } ||
{ [ "$batt_perc" -ge 25 ] && batt_sym= ; } || batt_sym= { [ "$batt_perc" -ge 25 ] && batt_sym= ; } || batt_sym=
old_ac="$ac" case "$ac" in
case ${cmd[2]} in +)
charging)
batt_sym="%{F#00aa00}$batt_sym%{F-}" batt_sym="%{F#00aa00}$batt_sym%{F-}"
ac="+" ac="+"
[[ "$old_ac" != "$ac" ]] && notify "Power" "Battery charging"
;; ;;
discharging) -)
ac="-"
batt_sym="%{F#ffdb00}$batt_sym%{F-}" batt_sym="%{F#ffdb00}$batt_sym%{F-}"
[[ "$old_ac" != "$ac" ]] && notify "Power" "Battery discharging"
;; ;;
idle) *)
ac="="
[[ "$old_ac" != "$ac" ]] && notify "Power" "Fully charged"
;; ;;
esac esac

View file

@ -144,13 +144,10 @@ bind=SUPER,S,workspaceopt,allfloat
bind=SUPER,M,focusmonitor,0 bind=SUPER,M,focusmonitor,0
bind=SUPER,N,focusmonitor,1 bind=SUPER,N,focusmonitor,1
# Laptop multimedia keys for volume and LCD brightness # XF86AudioMute XF86AudioLowerVolume XF86AudioRaiseVolume
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ bind=,121,exec,pactl set-sink-mute $(pactl get-default-sink) toggle
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bind=,122,exec,pactl set-sink-volume $(pactl get-default-sink) -10%
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bind=,123,exec,pactl set-sink-volume $(pactl get-default-sink) +10%
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
# XF86ScreenSaver # XF86ScreenSaver
bind=,160,exec,swaylock bind=,160,exec,swaylock
@ -173,18 +170,28 @@ bind=SUPER_SHIFT,l,movewindow,r
bind=SUPER_SHIFT,k,movewindow,u bind=SUPER_SHIFT,k,movewindow,u
bind=SUPER_SHIFT,j,movewindow,d bind=SUPER_SHIFT,j,movewindow,d
bind=SUPER,1,focusworkspaceoncurrentmonitor,1 bind=SUPER,1,moveworkspacetomonitor,1 current
bind=SUPER,2,focusworkspaceoncurrentmonitor,2 bind=SUPER,1,workspace,1
bind=SUPER,3,focusworkspaceoncurrentmonitor,3 bind=SUPER,2,moveworkspacetomonitor,2 current
bind=SUPER,4,focusworkspaceoncurrentmonitor,4 bind=SUPER,2,workspace,2
bind=SUPER,5,focusworkspaceoncurrentmonitor,5 bind=SUPER,3,moveworkspacetomonitor,3 current
bind=SUPER,6,focusworkspaceoncurrentmonitor,6 bind=SUPER,3,workspace,3
bind=SUPER,7,focusworkspaceoncurrentmonitor,7 bind=SUPER,4,moveworkspacetomonitor,4 current
bind=SUPER,8,focusworkspaceoncurrentmonitor,8 bind=SUPER,4,workspace,4
bind=SUPER,9,focusworkspaceoncurrentmonitor,9 bind=SUPER,5,moveworkspacetomonitor,5 current
bind=SUPER,0,focusworkspaceoncurrentmonitor,10 bind=SUPER,5,workspace,5
bind=SUPER,60,focusworkspaceoncurrentmonitor,+1 bind=SUPER,6,moveworkspacetomonitor,6 current
bind=SUPER,59,focusworkspaceoncurrentmonitor,-1 bind=SUPER,6,workspace,6
bind=SUPER,7,moveworkspacetomonitor,7 current
bind=SUPER,7,workspace,7
bind=SUPER,8,moveworkspacetomonitor,8 current
bind=SUPER,8,workspace,8
bind=SUPER,9,moveworkspacetomonitor,9 current
bind=SUPER,9,workspace,9
bind=SUPER,0,workspace,movetomonitor10 current
bind=SUPER,0,workspace,10
bind=SUPER,60,workspace,+1
bind=SUPER,59,workspace,-1
bind=SUPER_SHIFT,1,movetoworkspacesilent,1 bind=SUPER_SHIFT,1,movetoworkspacesilent,1
bind=SUPER_SHIFT,2,movetoworkspacesilent,2 bind=SUPER_SHIFT,2,movetoworkspacesilent,2
@ -200,12 +207,5 @@ bind=SUPER_SHIFT,0,movetoworkspacesilent,10
bind=SUPER,mouse_down,workspace,e+1 bind=SUPER,mouse_down,workspace,e+1
bind=SUPER,mouse_up,workspace,e-1 bind=SUPER,mouse_up,workspace,e-1
bind=SUPER,space,layoutmsg,togglesplit
bind=SUPER_CONTROL,space,layoutmsg,movetoroot
bind=,Print,exec,slurp | grim - - | wl-copy
exec-once=systemctl --user import-environment WAYLAND_DISPLAY HYPRLAND_CMD HYPRLAND_INSTANCE_SIGNATURE exec-once=systemctl --user import-environment WAYLAND_DISPLAY HYPRLAND_CMD HYPRLAND_INSTANCE_SIGNATURE
exec=systemctl --user restart waybar-hyprland
exec-once=waybar
# exec=systemctl --user restart waybar-hyprland

View file

@ -1,2 +1,3 @@
experimental-features = nix-command flakes experimental-features = nix-command flakes
substituters = https://cache.nixos.org https://nix-shell.cachix.org https://php-src-nix.cachix.org substituters = https://cache.nixos.org https://nix-shell.cachix.org https://php-src-nix.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-shell.cachix.org-1:kat3KoRVbilxA6TkXEtTN9IfD4JhsQp1TPUHg652Mwc= php-src-nix.cachix.org-1:3IMVbxfljrbI1NZjuML/2eHLsmHEXfzKGY0kEA20qWY=

View file

@ -12,7 +12,6 @@ end
vim.opt.runtimepath:prepend(lazypath) vim.opt.runtimepath:prepend(lazypath)
require('configs.options').setup() require('configs.options').setup()
require('lazy').setup( require('lazy').setup(
'configs.packages', 'configs.packages',
{ {

View file

@ -29,9 +29,11 @@ function M.setup()
vim.keymap.set('n', '<S-Down>', '<C-E>') vim.keymap.set('n', '<S-Down>', '<C-E>')
vim.keymap.set('n', '<S-Up>', '<C-Y>') vim.keymap.set('n', '<S-Up>', '<C-Y>')
vim.keymap.set('n', '[e', function() vim.diagnostic.jump({count=-1, float = true, severity = vim.diagnostic.severity.ERROR }) end, vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to next diagnostic' })
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to prev diagnostic' })
vim.keymap.set('n', '[e', function() vim.diagnostic.goto_prev({ severity = vim.diagnostic.severity.ERROR }) end,
{ desc = 'Go to next error' }) { desc = 'Go to next error' })
vim.keymap.set('n', ']e', function() vim.diagnostic.jump({count = 1, float = true, severity = vim.diagnostic.severity.ERROR }) end, vim.keymap.set('n', ']e', function() vim.diagnostic.goto_next({ severity = vim.diagnostic.severity.ERROR }) end,
{ desc = 'Go to prev error' }) { desc = 'Go to prev error' })
vim.keymap.set('n', '<space>q', vim.diagnostic.setloclist, { desc = 'Diagnostic to loclist' }) vim.keymap.set('n', '<space>q', vim.diagnostic.setloclist, { desc = 'Diagnostic to loclist' })

View file

@ -1,39 +0,0 @@
return {
'saghen/blink.cmp',
-- optional: provides snippets for the snippet source
dependencies = 'rafamadriz/friendly-snippets',
-- use a release tag to download pre-built binaries
version = '*',
-- AND/OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
-- build = 'cargo build --release',
-- If you use nix, you can build from source using latest nightly rust with:
-- build = 'nix run .#build-plugin',
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = {
-- 'default' for mappings similar to built-in completion
-- 'super-tab' for mappings similar to vscode (tab to accept, arrow keys to navigate)
-- 'enter' for mappings similar to 'super-tab' but with 'enter' to accept
-- See the full "keymap" documentation for information on defining your own keymap.
keymap = { preset = 'default' },
appearance = {
-- Sets the fallback highlight groups to nvim-cmp's highlight groups
-- Useful for when your theme doesn't support blink.cmp
-- Will be removed in a future release
use_nvim_cmp_as_default = true,
-- Set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
-- Adjusts spacing to ensure icons are aligned
nerd_font_variant = 'mono'
},
-- Default list of enabled providers defined so that you can extend it
-- elsewhere in your config, without redefining it, due to `opts_extend`
sources = {
default = { 'lsp', 'path', 'snippets', 'buffer' },
},
},
opts_extend = { "sources.default" }
}

View file

@ -106,7 +106,6 @@ local server_configs = function()
}, -- }}} }, -- }}}
jsonnet_ls = {}, jsonnet_ls = {},
regal = {}, regal = {},
jedi_language_server = {}
} }
end end
@ -309,9 +308,9 @@ local function on_attach(args) -- {{{
end -- }}} end -- }}}
local function make_client_capabilities() local function make_client_capabilities()
-- local caps = require('cmp_nvim_lsp').default_capabilities() local caps = require('cmp_nvim_lsp').default_capabilities()
local def = vim.lsp.protocol.make_client_capabilities() local def = vim.lsp.protocol.make_client_capabilities()
local caps = require('blink.cmp').get_lsp_capabilities(def) caps = vim.tbl_deep_extend('keep', caps, def)
-- caps.workspace.didChangeWatchedFiles.dynamicRegistration = false -- caps.workspace.didChangeWatchedFiles.dynamicRegistration = false
return caps return caps
end end

View file

@ -45,5 +45,4 @@ function M.config()
}) })
end end
--return M return M
return {}

View file

@ -20,6 +20,27 @@ return {
}, },
}, },
{
's1n7ax/nvim-window-picker',
config = true,
opts = {
use_winbar = 'always',
fg_color = require('configs.colors').pallete.light0[1],
current_win_hl_color = require('configs.colors').pallete.red[1],
other_win_hl_color = require('configs.colors').pallete.green[1],
},
keys = {
{
'<leader>w',
function()
local picked_window_id = require('window-picker').pick_window() or vim.api.nvim_get_current_win()
vim.api.nvim_set_current_win(picked_window_id)
end,
desc = 'Pick a window',
},
},
},
{ 'AndrewRadev/linediff.vim', cmd = 'Linediff' }, { 'AndrewRadev/linediff.vim', cmd = 'Linediff' },
{ {
@ -44,6 +65,69 @@ return {
}, },
}, },
{
'chrisgrieser/nvim-various-textobjs',
keys = {
{
'ii',
function() require('various-textobjs').indentation('inner', 'inner', 'withBlanks') end,
mode = { 'o', 'x' },
desc =
'Inside indent',
},
{
'ai',
function() require('various-textobjs').indentation('outer', 'outer', 'withBlanks') end,
mode = { 'o', 'x' },
desc =
'Around indent',
},
-- { 'iI', function() require('various-textobjs').indentation(true, true) end, mode = { 'o', 'x' }, desc = '' },
-- { 'aI', function() require('various-textobjs').indentation(false, false) end, mode = { 'o', 'x' }, desc = '' },
{ 'iS', function() require('various-textobjs').subword('inner') end, mode = { 'o', 'x' }, desc = '' },
{ 'aS', function() require('various-textobjs').subword('outer') end, mode = { 'o', 'x' }, desc = '' },
{ '|', function() require('various-textobjs').column() end, mode = { 'o', 'x' }, desc = '' },
{ 'L', function() require('various-textobjs').url() end, mode = { 'o', 'x' }, desc = '' },
-- {"YOUR_MAPPING",function() require("various-textobjs").toNextClosingBracket() end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").restOfParagraph() end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").entireBuffer() end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").nearEoL() end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").lineCharacterwise() end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").value(true) end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").value(false) end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").key(true) end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").key(false) end, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").diagnostic() end, mode = { "o", "x" }, desc = "" },
--------------------------------------------------------------------------------------
-- put these into the ftplugins or autocms for the filetypes you want to use them with
-- {"YOUR_MAPPING",function() require("various-textobjs").mdlink(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").mdlink(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
--
-- {"YOUR_MAPPING",function() require("various-textobjs").mdFencedCodeBlock(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").mdFencedCodeBlock(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
--
-- {"YOUR_MAPPING",function() require("various-textobjs").cssSelector(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").cssSelector(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
--
-- {"YOUR_MAPPING",function() require("various-textobjs").htmlAttribute(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").htmlAttribute(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
--
-- {"YOUR_MAPPING",function() require("various-textobjs").doubleSquareBrackets(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").doubleSquareBrackets(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
--
-- {"YOUR_MAPPING",function() require("various-textobjs").shellPipe(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
-- {"YOUR_MAPPING",function() require("various-textobjs").shellPipe(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
},
},
{
'chrisgrieser/nvim-spider',
keys = {
{ '<M-w>', function() require('spider').motion('w') end, mode = { 'n', 'o', 'x' }, desc = 'Spider-w' },
{ '<M-e>', function() require('spider').motion('e') end, mode = { 'n', 'o', 'x' }, desc = 'Spider-e' },
{ '<M-b>', function() require('spider').motion('b') end, mode = { 'n', 'o', 'x' }, desc = 'Spider-b' },
},
},
{ {
'echasnovski/mini.trailspace', 'echasnovski/mini.trailspace',
version = '*', version = '*',
@ -71,6 +155,33 @@ return {
end, end,
}, },
{
'stevearc/overseer.nvim',
config = true,
cmd = {
'OverseerBuild',
'OverseerClearCache',
'OverseerClose',
'OverseerDeleteBundle',
'OverseerInfo',
'OverseerLoadBundle',
'OverseerOpen',
'OverseerQuickAction',
'OverseerRun',
'OverseerRunCmd',
'OverseerSaveBundle',
'OverseerTaskAction',
'OverseerToggle',
},
keys = {
{ '<leader>xx', '<Cmd>OverseerToggle<CR>', desc = 'Overseer toggle' },
{ '<leader>xi', '<Cmd>OverseerInfo<CR>', desc = 'Overseer info' },
{ '<leader>xa', '<Cmd>OverseerTaskAction<CR>', desc = 'Overseer action' },
{ '<leader>xr', '<Cmd>OverseerRun<CR>', desc = 'Overseer run' },
},
},
{ {
'numToStr/Comment.nvim', 'numToStr/Comment.nvim',
config = true, config = true,
@ -103,6 +214,29 @@ return {
end, end,
}, },
{
'echasnovski/mini.surround',
version = '*',
event = 'BufEnter',
config = true,
main = 'mini.surround',
},
{
'nvim-neorg/neorg',
enabled = false,
ft = 'norg',
dependencies = { 'nvim-lua/plenary.nvim' },
cmd = { 'Neorg' },
opts = {
load = {
['core.defaults'] = {},
['core.concealer'] = {},
['core.completion'] = { config = { engine = 'nvim-cmp' } },
},
},
},
{ 'fpob/nette.vim', ft = 'nette' }, { 'fpob/nette.vim', ft = 'nette' },
{ 'ziglang/zig.vim', ft = 'zig' }, { 'ziglang/zig.vim', ft = 'zig' },
{ 'chrisbra/csv.vim', ft = 'csv' }, { 'chrisbra/csv.vim', ft = 'csv' },
@ -110,6 +244,7 @@ return {
{ 'towolf/vim-helm' }, { 'towolf/vim-helm' },
{ 'grafana/vim-alloy' }, { 'grafana/vim-alloy' },
{ 'williamboman/mason.nvim', cmd = 'Mason', config = true }, { 'williamboman/mason.nvim', cmd = 'Mason', config = true },
{ {

View file

@ -83,5 +83,4 @@ function M.config()
-- }) -- })
end end
--return M return M
return {}

View file

@ -217,13 +217,13 @@ Shell=.tar.bz
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.bzip View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.bzip
[tar.bzip2] [tar.bzip2]
Regex=\\.t(ar\\.bz2|bz2?|b2)$ Regex=\.t(ar\.bz2|bz2?|b2)$
Open=%cd %p/utar:// Open=%cd %p/utar://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.bzip2 View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.bzip2
# .tar.lzma, .tlz # .tar.lzma, .tlz
[tar.lzma] [tar.lzma]
Regex=\\.t(ar\\.lzma|lz)$ Regex=\.t(ar\.lzma|lz)$
Open=%cd %p/utar:// Open=%cd %p/utar://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lzma View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lzma
@ -234,25 +234,19 @@ View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lz
# .tar.lz4, .tlz4 # .tar.lz4, .tlz4
[tar.lz4] [tar.lz4]
Regex=\\.t(ar\\.lz4|lz4)$ Regex=\.t(ar\.lz4|lz4)$
Open=%cd %p/utar:// Open=%cd %p/utar://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lz4 View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lz4
# .tar.lzo, .tzo
[tar.lzo]
Regex=\\.t(ar\\.lzo|zo)$
Open=%cd %p/utar://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lzo
# .tar.xz, .txz # .tar.xz, .txz
[tar.xz] [tar.xz]
Regex=\\.t(ar\\.xz|xz)$ Regex=\.t(ar\.xz|xz)$
Open=%cd %p/utar:// Open=%cd %p/utar://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.xz View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.xz
# .tar.zst, .tzst # .tar.zst, .tzst
[tar.zst] [tar.zst]
Regex=\\.t(ar\\.zst|zst)$ Regex=\.t(ar\.zst|zst)$
Open=%cd %p/utar:// Open=%cd %p/utar://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.zst View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.zst
@ -264,7 +258,7 @@ View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.F
# .qpr/.qpk - QNX Neutrino package installer files # .qpr/.qpk - QNX Neutrino package installer files
[tar.qpr] [tar.qpr]
Regex=\\.qp[rk]$ Regex=\.qp[rk]$
Open=%cd %p/utar:// Open=%cd %p/utar://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.qpr View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.qpr
@ -275,7 +269,7 @@ Open=%cd %p/utar://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar
[arj] [arj]
Regex=\\.a(rj|[0-9][0-9])$ Regex=\.a(rj|[0-9][0-9])$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=%cd %p/uarj:// Open=%cd %p/uarj://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view arj View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view arj
@ -293,7 +287,7 @@ Open=%cd %p/uha://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view ha View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view ha
[rar] [rar]
Regex=\\.r(ar|[0-9][0-9])$ Regex=\.r(ar|[0-9][0-9])$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=%cd %p/urar:// Open=%cd %p/urar://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view rar View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view rar
@ -320,11 +314,6 @@ Shell=.cpio.lz4
Open=%cd %p/ucpio:// Open=%cd %p/ucpio://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio.lz4 View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio.lz4
[cpio.lzo]
Shell=.cpio.lzo
Open=%cd %p/ucpio://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio.lzo
[cpio.xz] [cpio.xz]
Shell=.cpio.xz Shell=.cpio.xz
Open=%cd %p/ucpio:// Open=%cd %p/ucpio://
@ -346,7 +335,7 @@ ShellIgnoreCase=true
Include=cpio Include=cpio
[initrd] [initrd]
Regex=^(initramfs.*\\.img|initrd(-.+)?\\.img(-.+)?)$ Regex=^(initramfs.*\.img|initrd(-.+)?\.img(-.+)?)$
Include=cpio Include=cpio
[7zip] [7zip]
@ -356,32 +345,32 @@ Open=%cd %p/u7z://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view 7z View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view 7z
[patch] [patch]
Regex=\\.(diff|patch)$ Regex=\.(diff|patch)$
Open=%cd %p/patchfs:// Open=%cd %p/patchfs://
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view cat View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view cat
[patch.gz] [patch.gz]
Regex=\\.(diff|patch)\\.(gz|Z)$ Regex=\.(diff|patch)\.(gz|Z)$
Open=%cd %p/patchfs:// Open=%cd %p/patchfs://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz
[patch.bz2] [patch.bz2]
Regex=\\.(diff|patch)\\.bz2$ Regex=\.(diff|patch)\.bz2$
Open=%cd %p/patchfs:// Open=%cd %p/patchfs://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bz2 View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bz2
[patch.xz] [patch.xz]
Regex=\\.(diff|patch)\\.xz$ Regex=\.(diff|patch)\.xz$
Open=%cd %p/patchfs:// Open=%cd %p/patchfs://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view xz View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view xz
[patch.zst] [patch.zst]
Regex=\\.(diff|patch)\\.zst$ Regex=\.(diff|patch)\.zst$
Open=%cd %p/patchfs:// Open=%cd %p/patchfs://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zst View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zst
[ls-lR] [ls-lR]
Regex=(^|\\.)ls-?lR(\\.gz|Z|bz2)$ Regex=(^|\.)ls-?lR(\.gz|Z|bz2)$
Open=%cd %p/lslR:// Open=%cd %p/lslR://
[trpm] [trpm]
@ -391,7 +380,7 @@ View=%view{ascii} /usr/lib/mc/ext.d/package.sh view trpm
# RPM packages (SuSE uses *.spm for source packages) # RPM packages (SuSE uses *.spm for source packages)
[src.rpm] [src.rpm]
Regex=\\.(src\\.rpm|spm)$ Regex=\.(src\.rpm|spm)$
Open=%cd %p/rpm:// Open=%cd %p/rpm://
View=%view{ascii} /usr/lib/mc/ext.d/package.sh view src.rpm View=%view{ascii} /usr/lib/mc/ext.d/package.sh view src.rpm
@ -401,7 +390,7 @@ Open=%cd %p/rpm://
View=%view{ascii} /usr/lib/mc/ext.d/package.sh view rpm View=%view{ascii} /usr/lib/mc/ext.d/package.sh view rpm
[deb] [deb]
Regex=\\.u?deb$ Regex=\.u?deb$
Open=%cd %p/deb:// Open=%cd %p/deb://
View=%view{ascii} /usr/lib/mc/ext.d/package.sh view deb View=%view{ascii} /usr/lib/mc/ext.d/package.sh view deb
@ -422,7 +411,7 @@ Open=%cd %p/iso9660://
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view iso9660 View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view iso9660
[ar] [ar]
Regex=\\.s?a$ Regex=\.s?a$
Open=%cd %p/uar:// Open=%cd %p/uar://
#Open=%view{ascii} ar tv %f #Open=%view{ascii} ar tv %f
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view ar View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view ar
@ -436,12 +425,12 @@ View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view lib
### Sources ### ### Sources ###
[C/C++] [C/C++]
Regex=\\.(c|cc|cpp|cxx|c\\+\\+)$ Regex=\.(c|cc|cpp|cxx|c\+\+)$
RegexIgnoreCase=true RegexIgnoreCase=true
Include=editor Include=editor
[C/C++ header] [C/C++ header]
Regex=\\.(h|hh|hpp|hxx|h\\+\\+)$ Regex=\.(h|hh|hpp|hxx|h\+\+)$
RegexIgnoreCase=true RegexIgnoreCase=true
Include=editor Include=editor
@ -451,7 +440,7 @@ ShellIgnoreCase=true
Include=editor Include=editor
[Assembler] [Assembler]
Regex=\\.(s|asm)$ Regex=\.(s|asm)$
RegexIgnoreCase=true RegexIgnoreCase=true
Include=editor Include=editor
@ -463,19 +452,14 @@ Include=editor
# .so libraries # .so libraries
[so] [so]
Regex=\\.(so|so\\.[0-9\\.]*)$ Regex=\.(so|so\.[0-9\.]*)$
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view so View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view so
# .dylib libraries
[dylib]
Regex=\\.(dylib|dylib\\.[0-9\\.]*)$
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view dylib
### Documentation ### ### Documentation ###
#[Texinfo] #[Texinfo]
#Regex=\\.(te?xi|texinfo)$ #Regex=\.(te?xi|texinfo)$
[info-by-shell] [info-by-shell]
Shell=.info Shell=.info
@ -508,32 +492,27 @@ View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view nroff.ms %var{PAGER:more}
# Manual page # Manual page
[man.lz] [man.lz]
Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.lz$ Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz$
Open=/usr/lib/mc/ext.d/text.sh open man.lz %var{PAGER:more} Open=/usr/lib/mc/ext.d/text.sh open man.lz %var{PAGER:more}
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lz %var{PAGER:more} View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lz %var{PAGER:more}
[man.lz4] [man.lz4]
Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.lz4$ Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz4$
Open=/usr/lib/mc/ext.d/text.sh open man.lz4 %var{PAGER:more} Open=/usr/lib/mc/ext.d/text.sh open man.lz4 %var{PAGER:more}
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lz4 %var{PAGER:more} View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lz4 %var{PAGER:more}
[man.lzma] [man.lzma]
Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.lzma$ Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lzma$
Open=/usr/lib/mc/ext.d/text.sh open man.lzma %var{PAGER:more} Open=/usr/lib/mc/ext.d/text.sh open man.lzma %var{PAGER:more}
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lzma %var{PAGER:more} View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lzma %var{PAGER:more}
[man.lzo]
Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.lzo$
Open=/usr/lib/mc/ext.d/text.sh open man.lzo %var{PAGER:more}
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lzo %var{PAGER:more}
[man.xz] [man.xz]
Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.xz$ Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.xz$
Open=/usr/lib/mc/ext.d/text.sh open man.xz %var{PAGER:more} Open=/usr/lib/mc/ext.d/text.sh open man.xz %var{PAGER:more}
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.xz %var{PAGER:more} View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.xz %var{PAGER:more}
[man.zst] [man.zst]
Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.zst$ Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.zst$
Open=/usr/lib/mc/ext.d/text.sh open man.zst %var{PAGER:more} Open=/usr/lib/mc/ext.d/text.sh open man.zst %var{PAGER:more}
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.zst %var{PAGER:more} View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.zst %var{PAGER:more}
@ -572,66 +551,29 @@ ShellIgnoreCase=true
View=%view{ascii} /usr/lib/mc/ext.d/image.sh view svg View=%view{ascii} /usr/lib/mc/ext.d/image.sh view svg
Open=/usr/lib/mc/ext.d/image.sh open svg Open=/usr/lib/mc/ext.d/image.sh open svg
[webp]
Shell=.webp
View=%view{ascii} /usr/lib/mc/ext.d/image.sh view webp
Open=/usr/lib/mc/ext.d/image.sh open webp
[avif]
Shell=.avif
View=%view{ascii} /usr/lib/mc/ext.d/image.sh view avif
Open=/usr/lib/mc/ext.d/image.sh open avif
### Sound files ### ### Sound files ###
[sound] [sound]
Regex=\\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv|spx|flac)$ Regex=\.(wav|snd|voc|au|smp|aiff|aif|snd|m4a|ape|aac|wv|spx|flac|mp3|ogg|wma|opus)$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/sound.sh open common Open=/usr/bin/cmus-remote -q %f
View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view common View=herbstclient spawn /usr/bin/ffplay %f
Edit=herbstclient spawn /usr/bin/kid3-qt %f
[mod] [mod]
Regex=\\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$ Regex=\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/sound.sh open mod Open=/usr/lib/mc/ext.d/sound.sh open mod
[wav22]
Shell=.waw22
ShellIgnoreCase=true
Open=/usr/lib/mc/ext.d/sound.sh open wav22
[mp3]
Shell=.mp3
ShellIgnoreCase=true
Open=/usr/lib/mc/ext.d/sound.sh open mp3
View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view mp3
[ogg]
Regex=\\.og[gax]$
RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/sound.sh open ogg
View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view ogg
[opus]
Shell=.opus
ShellIgnoreCase=true
Open=/usr/lib/mc/ext.d/sound.sh open opus
View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view opus
[midi] [midi]
Regex=\\.(midi?|rmid?)$ Regex=\.(midi?|rmid?)$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/sound.sh open midi Open=/usr/lib/mc/ext.d/sound.sh open midi
[wma]
Shell=.wma
ShellIgnoreCase=true
Open=/usr/lib/mc/ext.d/sound.sh open wma
View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view wma
# Play list # Play list
[playlist] [playlist]
Regex=\\.(m3u|pls)$ Regex=\.(m3u|pls)$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/sound.sh open playlist Open=/usr/lib/mc/ext.d/sound.sh open playlist
@ -644,7 +586,7 @@ ShellIgnoreCase=true
Include=video Include=video
[asf] [asf]
Regex=\\.as[fx]$ Regex=\.as[fx]$
RegexIgnoreCase=true RegexIgnoreCase=true
Include=video Include=video
@ -659,12 +601,12 @@ ShellIgnoreCase=true
Include=video Include=video
[mov] [mov]
Regex=\\.(mov|qt)$ Regex=\.(mov|qt)$
RegexIgnoreCase=true RegexIgnoreCase=true
Include=video Include=video
[mp4] [mp4]
Regex=\\.(mp4|m4v|mpe?g)$ Regex=\.(mp4|m4v|mpe?g)$
RegexIgnoreCase=true RegexIgnoreCase=true
Include=video Include=video
@ -690,7 +632,7 @@ ShellIgnoreCase=true
Include=video Include=video
[fli] [fli]
Regex=\\.fl[icv]$ Regex=\.fl[icv]$
RegexIgnoreCase=true RegexIgnoreCase=true
Include=video Include=video
@ -700,7 +642,7 @@ ShellIgnoreCase=true
Include=video Include=video
[realaudio] [realaudio]
Regex=\\.ra?m$ Regex=\.ra?m$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/video.sh open ram Open=/usr/lib/mc/ext.d/video.sh open ram
@ -713,7 +655,7 @@ Include=video
### Documents ### ### Documents ###
[html] [html]
Regex=\\.html?$ Regex=\.html?$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/web.sh open html Open=/usr/lib/mc/ext.d/web.sh open html
View=%view{ascii} /usr/lib/mc/ext.d/web.sh view html View=%view{ascii} /usr/lib/mc/ext.d/web.sh view html
@ -725,7 +667,7 @@ Open=/usr/lib/mc/ext.d/doc.sh open ooffice
# StarOffice 6 and OpenOffice.org formats # StarOffice 6 and OpenOffice.org formats
[OpenOffice.org] [OpenOffice.org]
Regex=\\.(odt|fodt|ott|sxw|stw|ods|fods|ots|sxc|stc|odp|fodp|otp|sxi|sti|odg|fodg|otg|sxd|std|odb|odf|sxm|odm|sxg)$ Regex=\.(odt|fodt|ott|sxw|stw|ods|fods|ots|sxc|stc|odp|fodp|otp|sxi|sti|odg|fodg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/doc.sh open ooffice Open=/usr/lib/mc/ext.d/doc.sh open ooffice
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view odt View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view odt
@ -747,21 +689,21 @@ Open=/usr/lib/mc/ext.d/doc.sh open msdoc
# Microsoft Word Document # Microsoft Word Document
[msdoc-by-shell] [msdoc-by-shell]
Regex=\\.(do[ct]|wri|docx)$ Regex=\.(do[ct]|wri|docx)$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/doc.sh open msdoc Open=/usr/lib/mc/ext.d/doc.sh open msdoc
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msdoc View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msdoc
# Microsoft Excel Worksheet # Microsoft Excel Worksheet
[msxls-by-shell] [msxls-by-shell]
Regex=\\.(xl[sw]|xlsx)$ Regex=\.(xl[sw]|xlsx)$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/doc.sh open msxls Open=/usr/lib/mc/ext.d/doc.sh open msxls
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msxls View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msxls
# Microsoft PowerPoint Presentation # Microsoft PowerPoint Presentation
[msppt] [msppt]
Regex=\\.(pp[ts]|pptx)$ Regex=\.(pp[ts]|pptx)$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/doc.sh open msppt Open=/usr/lib/mc/ext.d/doc.sh open msppt
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msppt View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msppt
@ -778,25 +720,25 @@ ShellIgnoreCase=true
Include=editor Include=editor
[markdown] [markdown]
Regex=\\.mk?d$ Regex=\.(md|mkd)$
RegexIgnoreCase=true ShellIgnoreCase=true
Include=editor Include=editor
[djvu] [djvu]
Regex=\\.djvu?$ Regex=\.djvu?$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/doc.sh open djvu Open=/usr/lib/mc/ext.d/doc.sh open djvu
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view djvu View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view djvu
# Comic Books # Comic Books
[cbr] [cbr]
Regex=\\.cb[zr]$ Regex=\.cb[zr]$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/doc.sh open comic Open=/usr/lib/mc/ext.d/doc.sh open comic
# Epup, mobi, fb2 # Epup, mobi, fb2
[ebook] [ebook]
Regex=\\.(epub|mobi|fb2)$ Regex=\.(epub|mobi|fb2)$
RegexIgnoreCase=true RegexIgnoreCase=true
Open=/usr/lib/mc/ext.d/doc.sh open ebook Open=/usr/lib/mc/ext.d/doc.sh open ebook
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view ebook View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view ebook
@ -815,11 +757,11 @@ Open=xmkmf -a
# Makefile.PL (MakeMaker) # Makefile.PL (MakeMaker)
[Makefile.pl] [Makefile.pl]
Regex=^Makefile\\.(PL|pl)$ Regex=^Makefile\.(PL|pl)$
Open=%var{PERL:perl} %f Open=%var{PERL:perl} %f
[Makefile] [Makefile]
Regex=^[Mm]akefile$ Regex=^[Mm]akefile
Open=make -f %f %{Enter parameters} Open=make -f %f %{Enter parameters}
[dbf] [dbf]
@ -830,7 +772,7 @@ View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view dbf
# REXX script # REXX script
[rexx] [rexx]
Regex=\\.(rexx?|cmd)$ Regex=\.(rexx?|cmd)$
Open=rexx %f %{Enter parameters};echo "Press ENTER";read y Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
# Disk images for Commodore computers (VIC20, C64, C128) # Disk images for Commodore computers (VIC20, C64, C128)
@ -848,7 +790,7 @@ Open=/usr/lib/mc/ext.d/misc.sh open glade
# Gettext Catalogs # Gettext Catalogs
[mo] [mo]
Regex=\\.g?mo$ Regex=.g?mo$
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view mo View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view mo
[po] [po]
@ -965,7 +907,7 @@ Type=^JPEG
Include=image Include=image
[bitmap] [bitmap]
Type=^PC bitmap Type=^PC\ bitmap
Include=image Include=image
[png] [png]
@ -1017,28 +959,28 @@ View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view ps
[pdf] [pdf]
Type=^PDF Type=^PDF
Open=/usr/lib/mc/ext.d/doc.sh open pdf Open=/usr/bin/zathura %f
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view pdf View=/usr/bin/zathura %f
# Microsoft Word Document # Microsoft Word Document
[msdoc-by-type] [msdoc-by-type]
Type=^Microsoft Word Type=^Microsoft\ Word
Open=/usr/lib/mc/ext.d/doc.sh open msdoc Open=/usr/lib/mc/ext.d/doc.sh open msdoc
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msdoc View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msdoc
# Microsoft Excel Worksheet # Microsoft Excel Worksheet
[msxls-by-type] [msxls-by-type]
Type=^Microsoft Excel Type=^Microsoft\ Excel
Open=/usr/lib/mc/ext.d/doc.sh open msxls Open=/usr/lib/mc/ext.d/doc.sh open msxls
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msxls View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msxls
# Use OpenOffice.org/LibreOffice to open any MS Office documents # Use OpenOffice.org/LibreOffice to open any MS Office documents
[mso-doc-1] [mso-doc-1]
Type=^Microsoft Office Document Type=^Microsoft\ Office\ Document
Open=/usr/lib/mc/ext.d/doc.sh open ooffice Open=/usr/lib/mc/ext.d/doc.sh open ooffice
[mso-doc-2] [mso-doc-2]
Type=^Microsoft OOXML Type=^Microsoft\ OOXML
Open=/usr/lib/mc/ext.d/doc.sh open ooffice Open=/usr/lib/mc/ext.d/doc.sh open ooffice
[framemaker] [framemaker]
@ -1057,69 +999,69 @@ View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view sqlite
### Plain compressed files ### ### Plain compressed files ###
[gzip] [gzip]
Type=\\(gzip compressed Type=\(gzip compressed
Open=/usr/lib/mc/ext.d/archive.sh view gz %var{PAGER:more} Open=/usr/lib/mc/ext.d/archive.sh view gz %var{PAGER:more}
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz
[bzip] [bzip]
Type=\\(bzip compressed Type=\(bzip compressed
Open=/usr/lib/mc/ext.d/archive.sh view bzip %var{PAGER:more} Open=/usr/lib/mc/ext.d/archive.sh view bzip %var{PAGER:more}
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bzip View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bzip
[bzip2] [bzip2]
Type=\\(bzip2 compressed Type=\(bzip2 compressed
Open=/usr/lib/mc/ext.d/archive.sh view bzip2 %var{PAGER:more} Open=/usr/lib/mc/ext.d/archive.sh view bzip2 %var{PAGER:more}
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bz2 View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bz2
[compress] [compress]
Type=\\(compress'd Type=\(compress'd
Open=/usr/lib/mc/ext.d/archive.sh view gz %var{PAGER:more} Open=/usr/lib/mc/ext.d/archive.sh view gz %var{PAGER:more}
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz
[lz] [lz]
Type=\\(lzip compressed Type=\(lzip compressed
Open=/usr/lib/mc/ext.d/archive.sh view lz %var{PAGER:more} Open=/usr/lib/mc/ext.d/archive.sh view lz %var{PAGER:more}
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lz View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lz
[lzma] [lzma]
Type=\\(LZMA compressed Type=\(LZMA compressed
Open=/usr/lib/mc/ext.d/archive.sh view lzma %var{PAGER:more} Open=/usr/lib/mc/ext.d/archive.sh view lzma %var{PAGER:more}
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lzma View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lzma
[xz] [xz]
Type=\\(XZ compressed Type=\(XZ compressed
Open=/usr/lib/mc/ext.d/archive.sh view xz %var{PAGER:more} Open=/usr/lib/mc/ext.d/archive.sh view xz %var{PAGER:more}
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view xz View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view xz
[zstd] [zstd]
Type=\\(Zstandard compressed Type=\(Zstandard compressed
Open=/usr/lib/mc/ext.d/archive.sh view zst %var{PAGER:more} Open=/usr/lib/mc/ext.d/archive.sh view zst %var{PAGER:more}
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zst View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zst
[zip-by-type] [zip-by-type]
Type=\\(Zip archive Type=\(Zip archive
Open=%cd %p/uzip:// Open=%cd %p/uzip://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip
[jar] [jar]
Type=\\(Java (Jar file|archive) data \\((zip|JAR)\\)\\) Type=\(Java\ (Jar\ file|archive)\ data\ \((zip|JAR)\)
TypeIgnoreCase=true TypeIgnoreCase=true
Open=%cd %p/uzip:// Open=%cd %p/uzip://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip
[lha] [lha]
Type=^LHa .*archive Type=^LHa\ .*archive
Open=%cd %p/ulha:// Open=%cd %p/ulha://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lha View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lha
[pak] [pak]
Type=^PAK .*archive Type=^PAK\ .*archive
Open=%cd %p/unar:// Open=%cd %p/unar://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view pak View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view pak
# Parity Archive # Parity Archive
[par2] [par2]
Type=^Parity Archive Volume Set Type=^Parity\ Archive\ Volume\ Set
Open=/usr/lib/mc/ext.d/archive.sh open par2 Open=/usr/lib/mc/ext.d/archive.sh open par2
@ -1142,8 +1084,8 @@ Open=/usr/lib/mc/ext.d/image.sh open ALL_FORMATS
View=%view{ascii} /usr/lib/mc/ext.d/image.sh view ALL_FORMATS View=%view{ascii} /usr/lib/mc/ext.d/image.sh view ALL_FORMATS
[Include/video] [Include/video]
Open=handlr open %f Open=/usr/bin/vlc %f &>/dev/null &
View=%view{ascii} ffprobe -hide_banner %f View=/usr/bin/ffplay %f
######### Default ######### ######### Default #########

View file

@ -36,4 +36,3 @@ x-scheme-handler/snews=userapp-Thunderbird-LIA6B2.desktop;
x-scheme-handler/terminal=kitty.desktop; x-scheme-handler/terminal=kitty.desktop;
x-scheme-handler/webcal=userapp-Thunderbird-FW84B2.desktop; x-scheme-handler/webcal=userapp-Thunderbird-FW84B2.desktop;
x-scheme-handler/webcals=userapp-Thunderbird-FW84B2.desktop; x-scheme-handler/webcals=userapp-Thunderbird-FW84B2.desktop;
x-scheme-handler/msteams=teams.desktop

View file

@ -2010,8 +2010,6 @@ config.bind('d', 'tab-close --prev')
config.bind('D', 'tab-close --next') config.bind('D', 'tab-close --next')
config.bind('cl', 'tab-only --pinned keep --prev') config.bind('cl', 'tab-only --pinned keep --prev')
config.bind('ch', 'tab-only --pinned keep --next') config.bind('ch', 'tab-only --pinned keep --next')
config.bind(' pp', 'spawn --userscript gopass-fill')
config.bind(' po', 'spawn --userscript gopass-fill otp')
# config.bind("'", 'mode-enter jump_mark') # config.bind("'", 'mode-enter jump_mark')
# config.bind('+', 'zoom-in') # config.bind('+', 'zoom-in')
# config.bind('-', 'zoom-out') # config.bind('-', 'zoom-out')

View file

@ -5,20 +5,18 @@
// "width": 1280, // Waybar width // "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px) "spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["hyprland/workspaces", "hyprland/window"], "modules-left": ["wlr/workspaces", "hyprland/window"],
// "modules-center": [], // "modules-center": [],
"modules-right": [ "modules-right": [
"mpd",
"idle_inhibitor", "idle_inhibitor",
"pulseaudio", "pulseaudio",
"cpu", "cpu",
"memory", "memory",
"network",
"clock", "clock",
"upower",
"tray" "tray"
], ],
// Modules configuration // Modules configuration
"hyprland-workspaces": {},
"keyboard-state": { "keyboard-state": {
"numlock": true, "numlock": true,
"capslock": true, "capslock": true,

View file

@ -1,8 +1,8 @@
IMAPAccount gmail IMAPAccount gmail
Host imap.gmail.com Host imap.gmail.com
User vlada.dudr@gmail.com User vlada.dudr@gmail.com
TLSType IMAPS SSLType IMAPS
PassCmd "gopass show mail/gmail" PassCmd "pass show mail/gmail"
CertificateFile /etc/ssl/certs/ca-certificates.crt CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore gmail-remote IMAPStore gmail-remote