From 4a23fddcefd8f537e8a227e83bd1e5c73e5d56e5 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 12 Jan 2023 19:36:01 +0530 Subject: added ncmpcpp scratchpad --- .config/XMonad/lib/Keybindings.hs | 1 + .config/XMonad/lib/Scratchpads.hs | 16 +++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) (limited to '.config') diff --git a/.config/XMonad/lib/Keybindings.hs b/.config/XMonad/lib/Keybindings.hs index 8b871ff..f6311d4 100644 --- a/.config/XMonad/lib/Keybindings.hs +++ b/.config/XMonad/lib/Keybindings.hs @@ -171,6 +171,7 @@ myKeybindingsP = [ , ("M-S-x", myScratchpad "wallpaper") , ("M-m o", spawn "obs") , ("M-S-o", spawn "obs") + , ("M-S-p", myScratchpad "musicplayer") , ("M-m S-o", spawn "osu") , ("M-m s", spawn "syncplay") , ("M-m g", spawn "gimp") diff --git a/.config/XMonad/lib/Scratchpads.hs b/.config/XMonad/lib/Scratchpads.hs index 8769437..bb23814 100644 --- a/.config/XMonad/lib/Scratchpads.hs +++ b/.config/XMonad/lib/Scratchpads.hs @@ -19,15 +19,17 @@ term3Cmd = myTerminal' ++ " -t 'Term P'" lfCmd = myTerminal' ++ " -t 'lf' -e 'lf'" nmtuiCmd = myTerminal' ++ " -t 'nmtui' -e 'nmtui'" bpytopCmd = myTerminal' ++ " -t 'BPYTOP' -e 'bpytop'" +playerCmd = myTerminal' ++ " -t 'NCMPCPP' -e 'ncmpcpp'" myScratchpads = - [ NS "Term 0" term0Cmd (title =? "Term U") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) - , NS "Term 1" term1Cmd (title =? "Term I") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) - , NS "Term 2" term2Cmd (title =? "Term O") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) - , NS "Term 3" term3Cmd (title =? "Term P") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) - , NS "lf" lfCmd (title =? "lf") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) - , NS "nmtui" nmtuiCmd (title =? "nmtui") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) - , NS "BPYTOP" bpytopCmd (title =? "BPYTOP") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) + [ NS "Term 0" term0Cmd (title =? "Term U") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) + , NS "Term 1" term1Cmd (title =? "Term I") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) + , NS "Term 2" term2Cmd (title =? "Term O") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) + , NS "Term 3" term3Cmd (title =? "Term P") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) + , NS "lf" lfCmd (title =? "lf") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) + , NS "nmtui" nmtuiCmd (title =? "nmtui") (customFloating $ W.RationalRect (5/13) (4/13) (3/13) (6/13)) + , NS "BPYTOP" bpytopCmd (title =? "BPYTOP") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) + , NS "musicplayer" playerCmd (title =? "NCMPCPP") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) , NS "arandr" "arandr" (className =? "Arandr") (customFloating $ W.RationalRect (1/4) (1/4) (1/2) (1/2)) , NS "calc" "galculator" (className =? "Galculator") (customFloating $ W.RationalRect (5/13) (4/13) (3/13) (6/13)) , NS "blueman" "blueman-manager" (className =? "Blueman-manager") (customFloating $ W.RationalRect (5.5/16) (4/13) (5/16) (6/13)) -- cgit v1.2.3