From cc67020f49365170487b70b0409e705cab799591 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Tue, 15 Jun 2021 22:55:31 +0530 Subject: updated keybindings --- .config/XMonad/xmonad.hs | 12 ++++++++++-- .config/nvim/.netrwhist | 7 ++++++- .config/openbox/menu.xml | 20 ++++++++++++++++++++ .config/sxhkd/sxhkdrc | 10 +++++----- 4 files changed, 41 insertions(+), 8 deletions(-) diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs index 47d158a..2272822 100644 --- a/.config/XMonad/xmonad.hs +++ b/.config/XMonad/xmonad.hs @@ -248,12 +248,20 @@ main = do , ((myModMask, 4), \w -> prevWS) , ((myModMask, 5), \w -> nextWS) ] `additionalKeys` myKeys `additionalKeysP` [ - ("M-i f", runOrCopy "librewolf" (className =? "Firefox")) - , ("M-i S-f", spawn "librewolf") + ("M-i l", runOrCopy "librewolf" (className =? "Librewolf")) + , ("M-i S-l", spawn "librewolf") , ("M-i b", spawn "brave") , ("M-i S-b", spawn "brave --incognito") + , ("M-i d", spawn "discord") + , ("M-i s", spawn "steam") + , ("M-i t", spawn "transmission-gtk") + , ("M-i k", spawn "konqueror") + , ("M-i f", spawn "filezilla") + , ("M-i b", spawn "blueman-manager") + , ("M-i p", spawn "pavucontrol") -- this doesn't work when in myKeys , ("M-c", spawn myColorPicker) + , ("M-x", spawn "notify_battery_status.sh") -- Launchers , ("M-p", myTreeMenu myTSConfig) , ("M-S-p", spawn "dmenu_run") diff --git a/.config/nvim/.netrwhist b/.config/nvim/.netrwhist index a497546..62362d1 100644 --- a/.config/nvim/.netrwhist +++ b/.config/nvim/.netrwhist @@ -1,5 +1,10 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhistcnt =3 +let g:netrw_dirhistcnt =8 +let g:netrw_dirhist_8='/home/zt/Documents/Dev/openbills/src/components' +let g:netrw_dirhist_7='/home/zt/.scripts' +let g:netrw_dirhist_6='/home/zt/Documents/Dev/openbills/server/database' +let g:netrw_dirhist_5='/home/zt/.config/openbox' +let g:netrw_dirhist_4='/home/zt/Documents/Dev/openbills/server' let g:netrw_dirhist_3='/etc/X11/xorg.conf.d' let g:netrw_dirhist_2='/zt/Docs/WebDev/react-practise/openbills/src/server/build/static' let g:netrw_dirhist_1='/zt/Docs/WebDev/react-practise/openbills/build' diff --git a/.config/openbox/menu.xml b/.config/openbox/menu.xml index 7ea7699..d0341b5 100644 --- a/.config/openbox/menu.xml +++ b/.config/openbox/menu.xml @@ -29,6 +29,25 @@ + + + + steam steam://rungameid/291550 + + yes + + + + + + prime-run osu.AppImage + + yes + + + + + @@ -229,6 +248,7 @@ + diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index bf44264..8824f7b 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -93,11 +93,7 @@ super + ctrl + {1-9} super + ctrl + space bspc node -p cancel -# cancel the preselection for the focused desktop -super + ctrl + shift + space - bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel - -# +# cancel the preselection for the focused desktop super + ctrl + shift + space bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel # move/resize # @@ -112,3 +108,7 @@ super + alt + shift + {h,j,k,l} # move a floating window super + {Left,Down,Up,Right} bspc node -v {-20 0,0 20,0 -20,20 0} + + + +# other keybindings -- cgit v1.2.3