blob: e8b0619349661dc8a4830e73c24a2846a03c8ae6 (
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
|
floating_modifier $super
bindsym {
$super+Return exec $term
$super+p exec $menu
$super+q kill
$super+Ctrl+r reload
$super+Ctrl+Shift+e exit
$super+Ctrl+Shift+q exec doas poweroff
$super+Ctrl+Shift+r exec doas restart
$super+u [urgent=latest] focus
$super+Shift+minus move scratchpad
$super+minus scratchpad show
$super+g [class="scrcpy"] scratchpad show
$super+Shift+S exec --no-startup-id 'grim -g "$(slurp)" - | wl-copy'
$super+Shift+T exec --no-startup-id 'NOTIFY=$(dmenu -l 0 -p "notification text") \
&& sleep $(dmenu -l 0 -p "time") && notify-send "$NOTIFY"'
}
bindsym {
$super+h focus left
$super+j focus down
$super+k focus up
$super+l focus right
$super+Shift+h move left
$super+Shift+j move down
$super+Shift+k move up
$super+Shift+l move right
$super+Ctrl+h resize shrink width 5 px or 5 ppt
$super+Ctrl+j resize shrink height 5 px or 5 ppt
$super+Ctrl+k resize grow height 5 px or 5 ppt
$super+Ctrl+l resize grow width 5 px or 5 ppt
$super+b split h
$super+v split v
$super+Tab split toggle
$super+Escape workspace back_and_forth
$super+t layout toggle tabbed
$super+Shift+Tab layout toggle split
$super+BackSpace focus mode_toggle
$super+Shift+BackSpace floating toggle
$super+Ctrl+BackSpace sticky toggle
$super+f fullscreen toggle
$super+a focus parent
$super+d focus child
}
bindsym {
XF86AudioRaiseVolume exec --no-startup-id pamixer -i 5
XF86AudioLowerVolume exec --no-startup-id pamixer -d 5
XF86AudioMute exec --no-startup-id pamixer -t
XF86AudioPlay exec --no-startup-id "mpc toggle"
XF86AudioNext exec --no-startup-id "mpc next"
XF86AudioPrev exec --no-startup-id "mpc prev"
}
|