1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
module Defaults where
import XMonad
import XMonad.Layout.Spacing
import XMonad.Layout.Tabbed
myBorder = "#120F23"
myBorder' = "#C44CF2"
myBorderWidth :: Dimension
myBorderWidth = 2
myFont = "xft:Sauce Code Pro:style=Regular:size=14"
myModMask = mod4Mask
myModMask' = mod1Mask
myLockscreen = "notify-send 'to be set up!' 'to be set up!'"
myColorPicker = "colorpicker --short --one-shot --preview | xsel -b"
myTerminal = "open_terminal"
myTerminal' = "alacritty"
volUp = "pamixer -i 5"
volDown = "pamixer -d 5"
volMute = "pamixer -t"
backlightUp = "brightnessctl s +5"
backlightDown = "brightnessctl s 5-"
screenshot = "flameshot screen"
fullScreenshot = "flameshot full"
customScreenshot = "flameshot gui"
-- workspaces
myExtraWorkspaces = [(xK_0, "十")] -- , (xK_comma, " 十一 "), (xK_period, " 十二 "), (xK_slash, " 十三 ")]
myWorkspaces = ["一", "二", "三", "四", "五", "六", "七", "八", "九"] ++ map snd myExtraWorkspaces
-- screen gaps
sGap = 4
wGap = 6
myGap = spacingRaw True (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True
myGap' = spacingRaw False (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True
myTabTheme = def {
fontName = myFont
, activeColor = "#755999"
, inactiveColor = "#282c35"
, activeBorderColor = "#755999"
, inactiveBorderColor = "#313846"
, activeTextColor = "#FFFFFF"
, inactiveTextColor = "#d0d0d0"
, decoHeight = 20
}
|