summaryrefslogtreecommitdiff
path: root/.config/sway/config.d/20-keybinds
blob: bd8440fc89e9ad2f40f841f8b8a9697828609978 (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
bindsym $mod+Ctrl+c reload
bindsym $mod+Ctrl+r restart
bindsym $mod+q kill
bindsym $mod+Ctrl+Shift+q exec poweroff
bindsym $mod+Ctrl+Shift+e exit
bindsym $mod+Ctrl+Shift+r exec restart

bindsym $mod+u [urgent=latest] focus

#bindsym $mod+g gaps inner all toggle 5

bindsym $mod+Return exec $term
bindsym $mod+p exec $menu
#bindsym $mod+Shift+x exec dm-tool lock

floating_modifier $mod

#bindsym $mod+Escape exec "main-menu"

bindsym $mod+b split h
bindsym $mod+v split v
bindsym $mod+Tab split toggle
bindsym $mod+Escape workspace back_and_forth

bindsym $mod+t layout tabbed
bindsym $mod+w layout default
bindsym $mod+Shift+Tab layout toggle split

bindsym $mod+BackSpace focus mode_toggle
bindsym $mod+Shift+BackSpace floating toggle
bindsym $mod+Ctrl+BackSpace sticky toggle

bindsym $mod+f fullscreen toggle
bindsym $mod+a focus parent
bindsym $mod+Shift+a focus child

# ============ Navegation & Focus Keybinds ============
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l 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+Ctrl+h resize shrink width 5 px or 5 ppt
bindsym $mod+Ctrl+j resize shrink height 5 px or 5 ppt
bindsym $mod+Ctrl+k resize grow height 5 px or 5 ppt
bindsym $mod+Ctrl+l resize grow width 5 px or 5 ppt

bindsym $mod+Shift+minus move scratchpad
bindsym $mod+minus scratchpad show
# bindsym $mod+tilda for_window [instace="dropdown_*"] scratchpad show

# ============ Funcion Keys ============
bindsym XF86AudioRaiseVolume exec --no-startup-id volume -i 5
bindsym XF86AudioLowerVolume exec --no-startup-id volume -d 5
bindsym XF86AudioMute exec --no-startup-id volume -t

bindsym XF86AudioPlay exec --no-startup-id "mpc toggle"
bindsym XF86AudioNext exec --no-startup-id "mpc next"
bindsym XF86AudioPrev exec --no-startup-id "mpc prev"

bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl s +5%
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl s 5%-

# ============ User Keybinds ============
bindsym $mod+Shift+S exec --no-startup-id "printedit -s"
bindsym $mod+Control+S exec --no-startup-id "printedit"

bindsym $mod+s exec --no-startup-id "i3-big-swap.py"