feat: sway cfg and md mode

- sway now uses wofi
- migrate to assigning windows to workspaces using app_ids instead of
classes
- Md mode hitting enter now automatically calls insert list item
This commit is contained in:
2025-06-27 11:57:55 +03:00
parent d9c094f786
commit c22fcd3ca2
3 changed files with 6 additions and 2 deletions

View File

@@ -630,3 +630,6 @@
(map! :leader (map! :leader
:nv "e" #'ellama :nv "e" #'ellama
) )
;; I really needed this a long time ago
;; Markdown enter )
(setq markdown-indent-on-enter 'indent-and-new-item)

View File

@@ -19,8 +19,8 @@ set $term wezterm
# Your preferred application launcher # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on. # on the original workspace that the command was run on.
# set $menu wofi -d -f -S drun set $menu wofi -d -S drun
set $menu rofi -show drun # set $menu rofi -show drun
include /etc/sway/config-vars.d/* include /etc/sway/config-vars.d/*

View File

@@ -20,6 +20,7 @@ workspace $Mail output $second
#Terminal #Terminal
assign [class = "kitty"] $Terminal assign [class = "kitty"] $Terminal
assign [app_id = "org.wezfurlong.wezterm"] $Terminal
assign [class = "qutebrowser"] $Terminal assign [class = "qutebrowser"] $Terminal
for_window [title = "Mozilla Firefox (Private Browsing)"] move to workspace $Vm for_window [title = "Mozilla Firefox (Private Browsing)"] move to workspace $Vm