aboutsummaryrefslogtreecommitdiff
path: root/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config20
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/i3/config b/.config/i3/config
index ca6e0a0..abb77e9 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -10,6 +10,8 @@
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod4
+set $Terminal urxvt
+set $WebBrowser qutebrowser
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
@@ -205,6 +207,24 @@ mode "$mode_system" {
bindsym $mod+Shift+c mode "$mode_system"
+set $mode_launch Launch [a] org-agenda [c] org-capture [j] org-roam-dailies [w] webbrowser [m] mutt [n] newsboat
+set $org_agenda emacs -f org-agenda -f delete-other-windows
+set $org_capture emacs -f org-capture -f delete-other-windows
+set $org_roam_dailies emacs -f org-roam-dailies-goto-today -f delete-other-windows
+mode "$mode_launch" {
+ bindsym a exec $org_agenda, mode "default"
+ bindsym m exec $Terminal -e mutt, mode "default"
+ bindsym n exec $Terminal -e newsboat, mode "default"
+ bindsym w exec $WebBrowser, mode "default"
+ bindsym c exec $org_capture, mode "default"
+ bindsym j exec $org_roam_dailies, mode "default"
+
+ bindsym Return mode "default"
+ bindsym Escape mode "default"
+ bindsym $mod+Return mode "default"
+}
+bindsym $mod+Return mode "$mode_launch"
+
bindsym $mod+e layout toggle split
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed