29a25c4ab277b4b70aa5749c98f71e7157b2d6bb
[distro-setup] / i3-sway / common.conf
1 ####### DO NOT EDIT LIVE CONFIG. generated from /a/bin/distro-setup/i3-sway/gen #######
2
3 # https://i3wm.org/docs/userguide.html#keybindings
4 #To get the current mapping of your keys, use xmodmap -pke. To
5 #interactively enter a key and see what keysym it is configured to, use
6 #xev.
7 set $mod Mod4
8
9 bindsym $mod+2 exec "pavucontrol"
10 bindsym $mod+3 exec "abrowser"
11 #bindsym $mod+3 exec "abrowser -no-remote -P sfw"
12 bindsym $mod+4 exec "abrowser -no-remote -P firefox-main-profile"
13 bindsym $mod+5 exec "/usr/local/bin/start-tor-browser"
14 bindsym $mod+6 exec "/a/bin/redshift.sh"
15 # bindsym $mod+equal exec "t s w; t in"
16 # bindsym $mod+Home exec "t out"
17 # #bindsym $mod+End exec "t s x; t in"
18 # bindsym $mod+grave exec "t s lunch; t in; t out -a '45 minutes from now'"
19
20
21 bindsym $mod+w focus parent
22 bindsym $mod+e fullscreen toggle
23 bindsym $mod+r exec "/a/bin/ds/xl"
24 # todo, in newer i3, make this toggle split tabbed
25 bindsym $mod+t layout toggle split
26 bindsym $mod+Shift+t move workspace to output right
27 bindsym $mod+g layout tabbed
28
29 # Use Mouse+$mod to drag floating windows to their wanted position
30 floating_modifier $mod
31
32 bindsym $mod+u focus left
33 bindsym $mod+i focus right
34 bindsym $mod+o focus up
35 bindsym $mod+p focus down
36
37 bindsym $mod+Left move left
38 bindsym $mod+Right move right
39 bindsym $mod+Up move up
40 bindsym $mod+Down move down
41
42 # switch to workspace
43 bindsym $mod+Shift+a move container to workspace 4
44 bindsym $mod+a workspace 4
45 # move focused container to workspace
46 bindsym $mod+Shift+s move container to workspace 3
47 bindsym $mod+s workspace 3
48
49 bindsym $mod+Shift+d move container to workspace 2
50 bindsym $mod+d workspace 2
51
52 bindsym $mod+Shift+f move container to workspace 1
53 bindsym $mod+f workspace 1
54
55 bindsym $mod+Shift+z move container to workspace 5
56 bindsym $mod+z workspace 5
57
58 bindsym $mod+Shift+x move container to workspace 6
59 bindsym $mod+x workspace 6
60
61
62 # todo, in newer i3, make this split toggle
63 bindsym $mod+v split vertical
64 bindsym $mod+b split horizontal
65
66 bindsym $mod+c kill
67
68
69 bindsym $mod+Shift+Home move container to workspace 7
70 bindsym $mod+Home workspace 7
71 bindsym $mod+Shift+q move container to workspace 8
72 bindsym $mod+q workspace 8
73
74 bindsym $mod+Shift+8 move container to workspace 9
75 bindsym $mod+8 workspace 9
76 bindsym $mod+Shift+9 move container to workspace 10
77 bindsym $mod+9 workspace 10
78
79
80 # random keybind, feel free to change
81 bindsym $mod+Shift+m border toggle
82
83 bindsym $mod+j exec emacsclient -c
84 bindsym $mod+k exec myterm
85 bindsym $mod+l exec dmenu_run
86 # note default is 27% on my system76. not sure if these
87 # keybinds will screw up other laptop brightness keys.
88 bindsym XF86MonBrightnessUp exec brightnessctl s +5%
89 bindsym XF86MonBrightnessDown exec brightnessctl s 5%-
90
91 # Font for window titles. Will also be used by the bar unless a different font
92 # is used in the bar {} block below.
93 font pango:monospace 8
94
95 # todo: only available in newer i3n
96 #hide_edge_borders smart
97
98 #exec --no-startup-id /usr/lib/x86_64-linux-gnu/libexec/kdeconnectd
99
100 # Start clipster daemon
101 #exec --no-startup-id /a/opt/clipster/clipster -d
102
103
104 # shortcut to selection widget (primary)
105 bindsym $mod+End exec /a/opt/clipster/clipster -sp
106
107 # file:///usr/share/doc/i3-wm/userguide.html#_border_style_for_new_windows
108 new_window none