summaryrefslogtreecommitdiff
path: root/user/sway
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-06-15 09:49:15 +0200
committerMartin Fischer <martin@push-f.com>2025-06-18 21:15:31 +0200
commit340416cc38bb68dc97ae3577f717e8505c18114f (patch)
tree922e98cc4d09bc7b5ec199699dee81560480078a /user/sway
parent7d65ee9b6b6046b73b9e7736b8ce7596724449e9 (diff)
feat(workstation): add shortcut to edit notes
Diffstat (limited to 'user/sway')
-rw-r--r--user/sway/config4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/sway/config b/user/sway/config
index fa7b39b..cf9101f 100644
--- a/user/sway/config
+++ b/user/sway/config
@@ -18,7 +18,7 @@ set $term foot
set $menu wmenu-run
### Output configuration
-exec_always <~/repos/pad/roadmap.md sed 's/(.\+)//' | set-wallpaper
+exec_always <~/repos/notes/roadmap.md sed 's/(.\+)//' | set-wallpaper
# Example configuration:
#
@@ -89,6 +89,8 @@ input "10429:514:Hanvon_Ugee_Shortcut_Remote_Keyboard" {
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+q 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'
+
+ bindsym $mod+m exec foot zsh -c 'cd ~/repos/notes && ed --blank'
#
# Moving around:
#