-
Notifications
You must be signed in to change notification settings - Fork 0
/
i3.nix
85 lines (85 loc) · 3.04 KB
/
i3.nix
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
xsession.windowManager.i3 = {
enable = true;
config = {
window.titlebar = false;
floating.titlebar = false;
focus.wrapping = "no";
window.hideEdgeBorders = "smart";
bars = [ ];
keybindings = {
"XF86AudioRaiseVolume" = "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%";
"XF86AudioLowerVolume" = "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%";
"XF86AudioMute" = "exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle";
"XF86AudioMicMute" = "exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle";
"XF86MonBrightnessUp" = "exec --no-startup-id brightnessctl set +5%";
"XF86MonBrightnessDown" = "exec --no-startup-id brightnessctl set 5%-";
"Mod1+k" = "exec flameshot gui -r | xclip -selection clipboard -t image/png";
"Mod1+s" = "exec wezterm-gui";
"Mod1+r" = "exec firefox";
"Mod1+equals" = "exec --no-startup-id dmenu_run -fn 'JetBrainsMono Nerd Font' -nf '#cdd6f4' -nb '#181825' -sb '#11111b'";
"Mod1+t" = "kill";
"Mod1+n" = "focus left";
"Mod1+e" = "focus up";
"Mod1+i" = "focus down";
"Mod1+o" = "focus right";
"Mod1+2" = "move left";
"Mod1+4" = "move down";
"Mod1+1" = "move up";
"Mod1+8" = "move right";
"Mod1+m" = "fullscreen toggle";
"Mod1+g" = "floating toggle";
"Mod1+w" = "workspace number 1";
"Mod1+f" = "workspace number 2";
"Mod1+p" = "workspace number 3";
"Mod1+b" = "workspace number 4";
"Mod1+5" = "move container to workspace number 1";
"Mod1+0" = "move container to workspace number 2";
"Mod1+3" = "move container to workspace number 3";
"Mod1+7" = "move container to workspace number 4";
"Mod1+j" = "resize grow width 10 px or 10 ppt";
"Mod1+l" = "resize shrink width 10 px or 10 ppt";
"Mod1+u" = "resize grow height 10 px or 10 ppt";
"Mod1+y" = "resize shrink height 10 px or 10 ppt";
};
colors = {
focused = {
background = "#1e1e2e";
border = "#cba6f7";
childBorder = "#cba6f7";
indicator = "#f5e0dc";
text = "#cdd6f4";
};
focusedInactive = {
background = "#1e1e2e";
border = "#181825";
childBorder = "#181825";
indicator = "#f5e0dc";
text = "#cdd6f4";
};
unfocused = {
background = "#1e1e2e";
border = "#181825";
childBorder = "#181825";
indicator = "#f5e0dc";
text = "#cdd6f4";
};
urgent = {
background = "#1e1e2e";
border = "#fab387";
childBorder = "#fab387";
indicator = "#6c7086";
text = "#fab387";
};
placeholder = {
background = "#1e1e2e";
border = "#181825";
childBorder = "#181825";
indicator = "#f5e0dc";
text = "#cdd6f4";
};
background = "#1e1e2e";
};
};
};
}