๐Ÿ“ฆ REALERvolker1 / homescripts

๐Ÿ“„ keybinds.i3 ยท 247 lines
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247#!/dev/null
#: vim:foldmethod=marker:ft=i3config
floating_modifier $mod

# Commands {{{

bindsym $mod+d $exec "rofi -modes 'drun,run' -show drun -sidebar-mode"
bindsym $mods+d $exec rofi -show run
bindsym $modc+d $exec wofi -S drun

bindsym $mod+Tab $exec rofi -modi window -show window

bindsym --release $mod+BackSpace $exec vlk-sensible-browser 1
bindsym --release $mods+BackSpace $exec vlk-sensible-browser 2
bindsym --release $modc+BackSpace $exec vlk-sensible-browser 3

bindsym --release $mod+z $exec vlk-sensible-browser 1
bindsym --release $mods+z $exec vlk-sensible-browser 2
bindsym --release $modc+z $exec vlk-sensible-browser 3

bindsym --release $mod+backslash $exec nemo
bindsym --release $mods+backslash $exec mousepad
bindsym --release $modc+backslash $exec codium

bindsym --release $mod+x $exec nemo
bindsym --release $mods+x $exec mousepad
bindsym --release $modc+x $exec codium

bindsym $mod+Return $exec vlk-sensible-terminal 1
bindsym $mods+Return $exec vlk-sensible-terminal 2
bindsym $modc+Return $exec vlk-sensible-terminal 3
bindsym $mod+t $exec vlk-sensible-terminal 1
bindsym $mods+t $exec vlk-sensible-terminal 2
bindsym $modc+t $exec vlk-sensible-terminal 3

bindsym $mod+period $exec rofi-charamap-menu.sh

bindsym XF86Calculator $exec gnome-calculator
bindsym --release $mod+KP_Enter $exec gnome-calculator

bindsym --release Print $exec vlk-sensible-screenshot --region
bindsym --release shift+Print $exec vlk-sensible-screenshot --active-output
bindsym --release ctrl+shift+Print $exec vlk-sensible-screenshot --full
bindsym --release $mod+Print $exec vlk-sensible-screenshot --region
bindsym --release $mods+Print $exec vlk-sensible-screenshot --active-output
bindsym --release $modc+Print $exec vlk-sensible-screenshot --full

# bindsym --release Print $exec flameshot gui
# bindsym --release shift+Print $exec flameshot screen
# bindsym --release ctrl+shift+Print $exec flameshot full
# bindsym --release $mod+Print $exec flameshot gui
# bindsym --release $mods+Print $exec flameshot screen
# bindsym --release $modc+Print $exec flameshot full

bindsym $mod+Escape $exec rofi -show powermenu

bindsym $mod+equal $exec vlklock.sh

bindsym $mod+XF86Launch3 $exec gfxmenu.sh
bindsym $mods+XF86Launch3 $exec $XDG_CONFIG_HOME/bar-scripts/bluetooth-bar.sh --toggle
bindsym $mod+Scroll_Lock $exec gfxmenu.sh
bindsym $mods+Scroll_Lock $exec $XDG_CONFIG_HOME/bar-scripts/bluetooth-bar.sh --toggle

bindsym XF86AudioMute $exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioMicMute $exec playerctl play-pause

bindsym XF86AudioRaiseVolume $exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioLowerVolume $exec pactl set-sink-volume @DEFAULT_SINK@ -5%

bindsym $mods+ XF86AudioRaiseVolume $exec playerctl position 5+
bindsym $mods+XF86AudioLowerVolume $exec playerctl position 5-

bindsym $mod+XF86AudioRaiseVolume $exec playerctl next
bindsym $mod+XF86AudioLowerVolume $exec playerctl previous


bindsym XF86Launch3 nop kitti3
bindsym Scroll_Lock nop kitti3

# Asus Aura key (Unused potential)
bindsym XF86Launch4 $exec "dunstify -a $XDG_CURRENT_DESKTOP -- asusctl 'Aura mode not changed -- not configured'"

# Brightness key
bindsym XF86MonBrightnessUp $exec light -A 10
bindsym XF86MonBrightnessDown $exec light -U 10

# Touchpad toggle
bindsym XF86TouchpadToggle $exec pointer.sh -t
bindsym $mod+F10 $exec pointer.sh -t


bindsym $mod+p $exec "ps -A | grep 'picom' && killall picom || picom"
bindsym $mods+p $exec "killall picom && picom"

bindsym $alt+h $exec ydotool key '102:1' '102:0' # home
bindsym $alt+l $exec ydotool key '107:1' '107:0' # end
bindsym $alt+Left $exec ydotool key '102:1' '102:0'
bindsym $alt+Right $exec ydotool key '107:1' '107:0'


# }}}
# Wm ctrl {{{

bindsym $mod+r reload
bindsym $mods+r restart

bindsym $mod+q kill
bindsym $mods+q $exec xkill
bindsym $alt+F4 $exec "dunstify -a $XDG_CURRENT_DESKTOP -i 'face-laugh' -- 'lmao you thought'"
bindsym $alt+F3 $exec "dunstify -a $XDG_CURRENT_DESKTOP -i 'face-cool' -- '๐Ÿค™๐Ÿค™๐Ÿค™๐Ÿค™๐Ÿค™๐Ÿค™๐Ÿค™๐Ÿค™๐Ÿค™๐Ÿค™๐Ÿค™๐Ÿค™๐Ÿค™'"

bindsym $mod+c open

bindsym $mod+v split toggle
bindsym $mod+f fullscreen toggle

bindsym $mod+slash border toggle
bindsym $mods+slash bar mode toggle

#bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split

bindsym $mod+space focus mode_toggle
bindsym $mods+space floating toggle

bindsym $mod+grave gaps inner current set $gapsize-alt
bindsym $mods+grave gaps inner current set $gapsize

#bindsym $mod+comma $exec "i3-msg 'mark --toggle pinned' && i3-msg floating toggle && i3-msg sticky toggle"
bindsym $mod+comma $exec i3-msg sticky toggle

# }}}
# motion binds {{{

# focus {{{

bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right

bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

# }}}
# movement {{{

bindsym $mods+h move left
bindsym $mods+j move down
bindsym $mods+k move up
bindsym $mods+l move right

bindsym $mods+Left move left
bindsym $mods+Down move down
bindsym $mods+Up move up
bindsym $mods+Right move right

# }}}
# output focus {{{

bindsym $modc+h focus output left
bindsym $modc+j focus output down
bindsym $modc+k focus output up
bindsym $modc+l focus output right

bindsym $modc+Left focus output left
bindsym $modc+Down focus output down
bindsym $modc+Up focus output up
bindsym $modc+Right focus output right

# }}}
# output movement {{{

bindsym $modcs+h move output left; focus output left
bindsym $modcs+j move output down; focus output left
bindsym $modcs+k move output up; focus output left
bindsym $modcs+l move output right; focus output left

bindsym $modcs+Left move output left; focus output left
bindsym $modcs+Down move output down; focus output down
bindsym $modcs+Up move output up; focus output up
bindsym $modcs+Right move output right; focus output right

# }}}
# resize small {{{

bindsym $moda+h resize shrink width 10px or 10 ppt
bindsym $moda+j resize grow height 10px or 10 ppt
bindsym $moda+k resize shrink height 10px or 10 ppt
bindsym $moda+l resize grow width 10px or 10 ppt

bindsym $moda+Left resize shrink width 10px or 10 ppt
bindsym $moda+Down resize grow height 10px or 10 ppt
bindsym $moda+Up resize shrink height 10px or 10 ppt
bindsym $moda+Right resize grow width 10px or 10 ppt

# }}}
# resize large {{{

bindsym $modas+h resize shrink width 30px or 30 ppt
bindsym $modas+j resize grow height 30px or 30 ppt
bindsym $modas+k resize shrink height 30px or 30 ppt
bindsym $modas+l resize grow width 30px or 30 ppt

bindsym $modas+Left resize shrink width 30px or 30 ppt
bindsym $modas+Down resize grow height 30px or 30 ppt
bindsym $modas+Up resize shrink height 30px or 30 ppt
bindsym $modas+Right resize grow width 30px or 30 ppt

# }}}

# }}}
# Workspaces {{{

bindsym $mod+1 workspace number $ws1
bindsym $mod+2 workspace number $ws2
bindsym $mod+3 workspace number $ws3
bindsym $mod+4 workspace number $ws4
bindsym $mod+5 workspace number $ws5
bindsym $mod+6 workspace number $ws6
bindsym $mod+7 workspace number $ws7
bindsym $mod+8 workspace number $ws8
bindsym $mod+9 workspace number $ws9
bindsym $mod+0 workspace number $ws10

bindsym $mods+1 move container to workspace number $ws1
bindsym $mods+2 move container to workspace number $ws2
bindsym $mods+3 move container to workspace number $ws3
bindsym $mods+4 move container to workspace number $ws4
bindsym $mods+5 move container to workspace number $ws5
bindsym $mods+6 move container to workspace number $ws6
bindsym $mods+7 move container to workspace number $ws7
bindsym $mods+8 move container to workspace number $ws8
bindsym $mods+9 move container to workspace number $ws9
bindsym $mods+0 move container to workspace number $ws10

# scratchpad
bindsym $mod+minus scratchpad show
bindsym $mods+minus move scratchpad
#bindsym XF86Launch3 scratchpad show
#bindsym Shift+XF86Launch3 move scratchpad

# }}}