<柱間 (@hashirama:hashi.sbs)> myConfig = def { modMask = mod4Mask -- Rebind Mod to the Super key , layoutHook = windowArrange myLayout -- Use custom layouts , terminal = "kitty" , focusedBorderColor = "#000000" , manageHook = myManageHook -- Match on certain windows , startupHook = do -- other startup commands -- spawnOnce "xrandr --output DisplayPort-0 --mode 1366x768 --pos 1366x0 --rotate left --output HDMI-A-0 --primary --mode 1366x768 --pos 0x0 --rotate normal --output DVI-D-0 --off" spawnOnce "xrandr --output HDMI-A-0 --mode 1366x768 --pos 0x0 --rotate normal" spawnOnce "xrdb /home/hashirama/.Xresources" spawnOnce "/home/hashirama/.local/bin/rotate_wallpapers.sh" spawnOnce "picom -b" spawnOnce "polybar top-monitor-1" spawnOnce "fcitx5 -d -r" spawnOnce "emacs --daemon" } let workspacen = ["ws1", "ws2", "ws3", "ws4", "ws5", "ws6", "ws7", "ws8", "ws9", "ws10", "ws11", "ws12", "ws13", "ws14", "ws15", "ws16"] "additionalKeysP" [ (otherModMasks ++ "M-" ++ key, action tag) | (tag, key) <- zip workspacen (words "1 2 3 4 5 6 7 8 9 0 - = ") , (otherModMasks, action) <- [("", windows . W.greedyView) ,("S-", windows . W.shift) ,("C-", windows . copy) ], < other keybindings >