open ncmpcpp in scratchpad

This commit is contained in:
2025-05-29 23:00:30 +05:00
parent 4b4034d538
commit bf75eefdb9
2 changed files with 10 additions and 3 deletions

View File

@ -15,9 +15,12 @@ vim.opt.termguicolors = true
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.updatetime = 300
vim.opt.timeoutlen = 5000
vim.opt.ttimeoutlen = 5
-- vim.opt.timeoutlen = 5000
-- vim.opt.ttimeoutlen = 5
vim.cmd "set notimeout"
vim.cmd "set ttimeout"
vim.opt.signcolumn = "yes:2"
vim.opt.jumpoptions = "stack,view"
vim.opt.keymap = "russian-jcukenwin"
vim.opt.iminsert = 0

View File

@ -47,12 +47,16 @@ bindsym --to-code $mod+Shift+q kill
# start your launcher
bindsym --to-code $mod+d exec $menu
# app shortcuts
bindsym --to-code $mod+b exec librewolf
bindsym --to-code $mod+m exec $term -e ncmpcpp
bindsym --to-code $mod+m exec $term --class in_scratchpad -e ncmpcpp
bindsym --to-code $mod+e exec $term -e neomutt
bindsym --to-code $mod+n exec $term -e newsboat
# open windows with id "in_scratchpad" in scratchpad
for_window [app_id="in_scratchpad"] move container to scratchpad, focus
# powermenu
bindsym --to-code $mod+SHIFT+BackSpace exec ~/.config/tofi/powermenu.sh