aboutsummaryrefslogtreecommitdiff
path: root/XMonad
diff options
context:
space:
mode:
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/xmonad.hs21
1 files changed, 12 insertions, 9 deletions
diff --git a/XMonad/xmonad.hs b/XMonad/xmonad.hs
index 10a7f972..3a8e6e1f 100644
--- a/XMonad/xmonad.hs
+++ b/XMonad/xmonad.hs
@@ -47,10 +47,10 @@ import XMonad.Util.NamedScratchpad
myStartupHook :: X ()
myStartupHook = do
spawnOnce "/home/zt/.xmonad/baraction | lemonbar -b -g 500x21+800+0 -B '#171520' -F '#ffffff' -f 'Source Han Sans JP:size=10'"
- spawnOnce "nitrogen --restore"
- spawnOnce "startpage-server"
- spawnOnce "picom"
- spawnOnce "deadd-notification-center"
+-- spawnOnce "nitrogen --restore"
+-- spawnOnce "startpage-server"
+-- spawnOnce "picom"
+-- spawnOnce "deadd-notification-center"
spawnOnce "brave"
-- 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"
@@ -234,11 +234,14 @@ myKeys = [
] ++ [ -- to swap workspaces
((mod1Mask .|. shiftMask, k), windows $ swapWithCurrent i)
| (i, k) <- zip myWorkspaces [xK_1 ..]
- ] -- ++ [
--- ((m .|. myModMask, k), windows $ f i)
--- | (i, k) <- zip (myWorkspaces x) [xK_1 ..]
--- , (f, m) <- [(copy, shiftMask .|. controlMask)]
--- ]
+ ] ++ [ -- copy
+ ((m .|. myModMask, k), windows $ f i)
+ | (i, k) <- zip (myWorkspaces) [xK_1 ..]
+ , (f, m) <- [(copy, shiftMask .|. altMask)]
+ ] ++ [ -- sticky-ing windows
+ ((myModMask, xK_v), windows copyToAll) -- make window visible on all screens
+ , ((myModMask .|. shiftMask, xK_v), killAllOtherCopies)
+ ]