~lindsay/dotfiles

dotfiles/dot_config/sway/config.d/app_shortcuts.conf -rw-r--r-- 1.0 KiB
a074542dLindsay # a month ago
                                                                                
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
exec pactl upload-sample ~/.config/alert.ogg alert

bindsym $mod+Shift+q kill

# terminal
bindsym $mod+Return exec $term
bindsym $mod+Shift+Return exec WAYLAND_DISPLAY= $term

# rofi
bindsym $mod+d exec "rofi -combi-modi drun,run -modi combi,ssh -show combi"
## pass
bindsym $mod+p exec "python ~/.config/rofi/scripts/pass.py -p "
bindsym $mod+Shift+p exec "python ~/.config/rofi/scripts/pass.py -o"

bindsym $mod+o mode "App"
mode "App" {
  bindsym c exec "emacsclient -nc", mode "default"
  bindsym Shift+c exec "code", mode "default"
  bindsym b exec "firefox", mode "default"
  
  bindsym e exec "alacritty -e 'lf'", mode "default"
  bindsym m exec "alacritty -e 'neomutt'", mode "default"
  bindsym d exec "alacritty -e 'sdcv'", mode "default"
  bindsym a exec "alacritty -e 'amfora'", mode "default"
  bindsym t exec "alacritty -e 'htop'", mode "default"
  bindsym s exec "~/.config/rofi/scripts/sink.py", mode "default"

  bindsym Escape mode "default"
  bindsym $mod+o mode "default"
  bindsym Return mode "default"
}