blob: 3161c9c86b7a25a42ad4a383f497880dc54c3995 (
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
|
# =========================
# クロナのI3チエッフギ
# ==> maxwasmailed@proton.me
# =========================
# -------------------------
# mod key
# -------------------------
set $mod Mod4
# -------------------------
# default terminal & launcher
# -------------------------
set $term alacritty
set $shell fish
# ------------------------
# system & controls
# ------------------------
bindsym Mod1+Space exec jmdmenu run
bindsym $mod+BackSpace exec jmdmenu run
bindsym $mod+Return exec $term
#bindsym $mod+v exec jmdmenu clipbd
bindsym $mod+period exec jmdmenu bmj
bindsym $mod+Shift+c exec xcolor | jmdmenu
bindsym $mod+e exec nemo
# functions binds
bindsym XF86MonBrightnessUp exec brightnessctl set +5%
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
# more accurate (1%/i)
bindsym $mod+XF86MonBrightnessUp exec brightnessctl set +1%
bindsym $mod+XF86MonBrightnessDown exec brightnessctl set 1%-
# volume up / down
bindsym XF86AudioRaiseVolume exec pamixer -i 5
bindsym XF86AudioLowerVolume exec pamixer -d 5
# more accurate (1%/i)
bindsym $mod+XF86AudioRaiseVolume exec pamixer -i 1
bindsym $mod+XF86AudioLowerVolume exec pamixer -d 1
# mute speakers
bindsym XF86AudioMute exec pamixer -t
# mute mic
bindsym XF86AudioMicMute exec pamixer --default-source -t
# -------------------------
# window management
# -------------------------
for_window [floating] resize set 672 432
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
bindsym $mod+q kill
bindsym $mod+t floating toggle
bindsym $mod+v split v
bindsym $mod+h split h
bindsym $mod+w layout toggle tabbed split
bindsym $mod+Ctrl+Tab focus next
bindsym $mod+Ctrl+Shift+Tab focus prev
bindsym $mod+Tab exec i3-msg workspace next_on_output
bindsym $mod+Shift+Tab exec i3-msg workspace prev_on_output
# -------------------------
# a bit of layout
# -------------------------
exec --no-startup-id i3-msg gaps horizontal all set 32
exec --no-startup-id i3-msg gaps vertical all set 8
# -------------------------
# workspaces
# -------------------------
set $ws1 "1:f"
set $ws2 "2:u"
set $ws3 "3:c"
set $ws4 "4:k
set $ws5 "5:my"
set $ws6 "6:l"
set $ws7 "7:i"
set $ws8 "8:f"
set $ws9 "9:e"
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
# -------------------------
# i dont know where to put this crap
# -------------------------
focus_follows_mouse yes
floating_modifier $mod
# -------------------------
# borders / titlebars
# -------------------------
new_window pixel 16
client.focused #f82323 #0f0f0f #f82323 #0f0f0f
client.focused_inactive #0f0f0f #0f0f0f #f82323 #0f0f0f
client.unfocused #0f0f0f #0f0f0f #f82323 #0f0f0f
client.urgent #0f0f0f #0f0f0f #f82323 #0f0f0f
# -------------------------
# bar black + white (kurobar.sh)
# -------------------------
bar {
#status_command i3status
status_command ~/.config/i3/kurobar.sh
font pango:chirufont 10
position top
colors {
background #0f0f0f
statusline #f82323
separator #f82323
focused_workspace #0f0f0f #f82323 #0f0f0f
active_workspace #0f0f0f #f82323 #0f0f0f
inactive_workspace #0f0f0f #0f0f0f #f82323
urgent_workspace #0f0f0f #0f0f0f #f82323
}
}
# -------------------------
# startup
# -------------------------
exec --no-startup-id export GTK_USE_PORTAL=0
exec --no-startup-id export XDG_CURRENT_DESKTOP=GNOME
exec --no-startup-id sudo systemctl --user mask xdg-desktop-portal-kde.service
exec --no-startup-id ibus-daemon -drx
exec --no-startup-id nm-applet
exec --no-startup-id xsetroot -cursor_name left_ptr
exec --no-startup-id xsetroot -solid "#1f1f1f"
exec --no-startup-id feh --bg-fill ~/Pictures/halftone-red0.png
exec --no-startup-id picom
exec --no-startup-id kwalletd6
exec --no-startup-id xinput set-prop 11 "libinput Tapping Enabled" 1
exec --no-startup-id xinput set-prop 9 "libinput Accel Speed" -1
exec --no-startup-id blueman-applet
# -------------------------
# reload / restart / exit
# -------------------------
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exit
bindsym $mod+l exec i3lock -c 0f0f0f
|