diff options
author | Casper <me@skylarcloud.xyz> | 2024-12-23 18:57:18 -0700 |
---|---|---|
committer | Casper <me@skylarcloud.xyz> | 2024-12-23 18:57:18 -0700 |
commit | ac1e8b14d4e35a0c38a053b8f1e27747518f52e5 (patch) | |
tree | 96f69989f8e0d6923afaeda77776b0a13f4d4195 | |
parent | 3e39ad75fe0cc9884fb928632e23d89289f21cdd (diff) |
added i3 launchers for some apps
-rw-r--r-- | dots/i3-config | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/dots/i3-config b/dots/i3-config index 2200428..5c80100 100644 --- a/dots/i3-config +++ b/dots/i3-config @@ -256,6 +256,7 @@ bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" +bindsym $mod+r mode "resize" mode "resize" { # These bindings trigger as soon as you enter the resize mode @@ -274,7 +275,26 @@ mode "resize" { bindsym Mod1+r mode "default" } -bindsym $mod+r mode "resize" +bindsym $mod+Shift+w mode $mode_web +set $mode_launchers split-(w)eb|split-(t)or|split-(T)-safest +mode "$mode_launchers" { + bindsym w exec "qvm-run split-web split-browser" + bindsym t exec "qvm-run split-tor split-browser" + bindsym Shift+t exec "qvm-run split-tor split-browser --safest" + + bindsym Return mode "default" + bindsym Escape mode "default" +} + +bindsym $mod+Shift+a mode $mode_launchers +set $mode_launchers (s)ignal|split-(w)eb|split-(t)or|split-(T)-safest|emacs-(o)rg +mode "$mode_launchers" { + bindsym s exec "qvm-run signal-personal signal-desktop" + bindsym o exec "qvm-run emacs-org emacs" + + bindsym Return mode "default" + bindsym Escape mode "default" +} exec ~/.screenlayout/home.sh exec nitrogen --restore |