blob: 5d3ce7092b2afbef8464cfb650879a55eefa20ac (
plain)
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
exec dbus-update-activation-environment --all
set $mod Mod4
set $term foot
set $browser firefox
set $menu bemenu-run
font pango:monospace 10
# AUTOSTART
exec start-pipewire
exec reloadsingbox
exec dunst
exec foot --server
# WORKSPACES
workspace 1 output DP-2
workspace 2 output DP-3
output DP-3 mode 2560x1440@240Hz position 2560 0
output DP-2 mode 2560x1440@165Hz position 0 0
# output * bg /mnt/ssd/papes/thiemeyer_road_to_samarkand.jpg fill
exec_always swaybg -c 4C566A
# COLORS
client.focused #5e81ac #5e81ac #d8dee9 #5e81ac #5e81ac
client.focused_inactive #3b4252 #3b4252 #d8dee9 #3b4252 #3b4252
client.unfocused #2e3440 #2e3440 #d8dee9 #2e3440 #2e3440
client.urgent #bf616a #bf616a #d8dee9 #bf616a #bf616a
client.placeholder #000000 #0c0c0c #d8dee9 #000000 #0c0c0c
client.background #2e3440
# STYLE
gaps inner 10
default_border pixel 3
default_floating_border pixel 3
for_window [class=.*] border pixel 3
floating_modifier $mod normal
# floating window assigments
for_window [window_role = "pop-up"] floating enable
for_window [window_role = "bubble"] floating enable
for_window [window_role = "dialog"] floating enable
for_window [window_type = "dialog"] floating enable
for_window [window_role = "task_dialog"] floating enable
for_window [window_type = "menu"] floating enable
for_window [app_id = "floating"] floating enable
for_window [app_id = "floating_update"] floating enable, resize set width 1000px height 600px
for_window [class = "(?i)pinentry"] floating enable
for_window [title = "Administrator privileges required"] floating enable
for_window [title = "About Mozilla Firefox"] floating enable
for_window [window_role = "About"] floating enable
for_window [app_id="firefox" title="Library"] floating enable, border pixel 1, sticky enable
# BINDS
bindsym $mod+h focus left
bindsym $mod+k focus down
bindsym $mod+j focus up
bindsym $mod+l focus right
bindsym $mod+f fullscreen
bindsym $mod+s layout toggle split
bindsym $mod+Shift+space floating toggle
bindsym $mod+Return exec $term
bindsym $mod+w exec $browser
bindsym $mod+d exec $menu
bindsym $mod+Shift+d exec tessen
bindsym $mod+grave exec bookmarks
bindsym $mod+m exec $term -e spotify_player
bindsym $mod+e exec 'sh -c "$term -e neomutt; pkill -RTMIN+12 i3blocks"'
bindsym $mod+Shift+n exec 'sh -c "$term -e newsboat; pkill -RTMIN+6 i3blocks"'
bindsym $mod+Shift+s exec sh -c slurp | grim -t jpeg -g - - | wl-copy
bindsym $mod+Shift+r exec $term -e btop
# Switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
bindsym $mod+q kill
bindsym $mod+Shift+e reload
bindsym $mod+Shift+q exec sysact
# INPUT
input * {
xkb_layout "us,ru"
xkb_options "grp:win_space_toggle"
accel_profile flat
}
# BAR
bar {
position top
# swaybar_command waybar
status_command i3blocks
separator_symbol " | "
colors
{
background #2e3440
active_workspace #2e3440 #2e3440 #d8dee9
focused_workspace #2e3440 #2e3440 #d8dee9
inactive_workspace #2e3440 #2e3440 #3b4252
}
}
|