aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-12 19:36:01 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-12 19:36:01 +0530
commit4a23fddcefd8f537e8a227e83bd1e5c73e5d56e5 (patch)
tree8ab01eb93efc0e91cbf7feecbb357cb348aa5370 /.config
parent866ef062f8c0873862c9e8c3442c64618c156aa2 (diff)
added ncmpcpp scratchpad
Diffstat (limited to '.config')
-rw-r--r--.config/XMonad/lib/Keybindings.hs1
-rw-r--r--.config/XMonad/lib/Scratchpads.hs16
2 files changed, 10 insertions, 7 deletions
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))