aboutsummaryrefslogtreecommitdiff
path: root/XMonad
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2020-12-13 12:22:02 +0530
committerVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2020-12-13 12:22:02 +0530
commitfae6a50528db16d7961b916ab64b2cac9fda4e7c (patch)
treef385dd78de6408559692aa4b0ddc461c0454ce8c /XMonad
parentc589a1e89cbed602d0f2177c1594dd8035615256 (diff)
added more scratchpads!
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/xmonad.hs13
1 files changed, 9 insertions, 4 deletions
diff --git a/XMonad/xmonad.hs b/XMonad/xmonad.hs
index 278a38b5..3dd54f98 100644
--- a/XMonad/xmonad.hs
+++ b/XMonad/xmonad.hs
@@ -48,10 +48,11 @@ myStartupHook = do
spawnOnce "nitrogen --restore &"
spawnOnce "picom &"
spawnOnce "deadd-notification-center &"
- -- spawnOnce "firefox &"
+ spawnOnce "firefox &"
+ spawnOnce "vivaldi &"
spawnOnce "sxhkd &"
spawnOnce "weather"
- spawnOnce "betterlockscreen -l -t 'Welcome, Vidhu Kant!'"
+ -- spawnOnce "betterlockscreen -l -t 'Welcome, Vidhu Kant!'"
spawnOnce "sleep 3; trayer --align center --edge top --width 20 --height 21 --expand true --distance 90 --distancefrom right --tint 0x171520 --transparent true --alpha 0 --iconspacing 8"
setWMName "Oppai"
setDefaultCursor xC_left_ptr
@@ -99,13 +100,15 @@ myWorkspaces = [" 一 "," 二 "," 三 "," å›› "," 五 "," å…­ "," ä
-- scratchpad config
myScratchpads = [
-- NS "Vysor" "Vysor.AppImage" (title =? "Vysor") defaultFloating
- NS "Phone" "scrcpy" (title =? "Motorola One Power") defaultFloating
+ NS "Phone" "scrcpy" (title =? "Motorola One Power") defaultFloating,
+ NS "T#1" "st -t 'T#1'" (title =? "T#1") defaultFloating,
+ NS "T#2" "st -t 'T#2'" (title =? "T#2") defaultFloating,
] where role = stringProperty "WM_WINDOW_ROLE"
-- keybindings
myKeys = [
- ((mod4Mask, xK_Return), spawn (myTerminal ++ " -e fish"))
+ ((mod4Mask, xK_Return), spawn (myTerminal))
, ((mod1Mask, xK_p), spawn "/home/zt/.config/scripts/run_dmenu")
, ((mod1Mask, xK_w), kill1)
, ((mod1Mask .|. shiftMask, xK_k), kill1)
@@ -113,6 +116,8 @@ myKeys = [
-- scratchpad keybindings
, ((mod4Mask, xK_p), namedScratchpadAction myScratchpads "Phone")
+ , ((mod4Mask, xK_o), namedScratchpadAction myScratchpads "T#1")
+ , ((mod4Mask, xK_i), namedScratchpadAction myScratchpads "T#2")
-- view prev/next workspaces
, ((mod1Mask, xK_h), prevWS)