buster + fixes
[distro-setup] / subdir_files / .config / sway / config
1 set $mod Mod4
2
3 bindsym $mod+2 exec "pavucontrol"
4 bindsym $mod+3 exec "abrowser"
5 bindsym $mod+4 exec "abrowser -no-remote -P firefox-main-profile"
6
7 bindsym $mod+w focus parent
8 bindsym $mod+e fullscreen toggle
9 bindsym $mod+r exec "/a/bin/redshift.sh"
10 # todo, in newer i3, make this toggle split tabbed
11 bindsym $mod+t layout toggle split
12 bindsym $mod+g layout tabbed
13
14 # Use Mouse+$mod to drag floating windows to their wanted position
15 floating_modifier $mod
16
17 bindsym $mod+u focus up
18 bindsym $mod+i focus down
19 bindsym $mod+o focus left
20 bindsym $mod+p focus right
21
22 bindsym $mod+Left move left
23 bindsym $mod+Right move right
24 bindsym $mod+Up move up
25 bindsym $mod+Down move down
26
27 # switch to workspace
28 bindsym $mod+a workspace 4
29 bindsym $mod+s workspace 3
30 bindsym $mod+d workspace 2
31 bindsym $mod+f workspace 1
32
33 # todo, in newer i3, make this split toggle
34 bindsym $mod+v split vertical
35 bindsym $mod+b split horizontal
36
37 bindsym $mod+c kill
38
39
40 bindsym $mod+7 workspace 5
41 bindsym $mod+0 workspace 6
42
43 # move focused container to workspace
44 bindsym $mod+Shift+f move container to workspace 1
45 bindsym $mod+Shift+d move container to workspace 2
46 bindsym $mod+Shift+s move container to workspace 3
47 bindsym $mod+Shift+a move container to workspace 4
48 bindsym $mod+Shift+7 move container to workspace 5
49 bindsym $mod+Shift+0 move container to workspace 6
50
51 bindsym $mod+j exec emacsclient -c
52 bindsym $mod+k exec konsole
53 bindsym $mod+l exec dmenu_run
54
55 bindsym $mod+Shift+p restart
56
57
58 # Font for window titles. Will also be used by the bar unless a different font
59 # is used in the bar {} block below.
60 font pango:monospace 8
61
62 # todo: only available in newer i3n
63 #hide_edge_borders smart
64 # exit sway (logs you out of your Wayland session)
65 bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
66
67 bindsym $mod+Shift+p reload