aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/sway
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:33 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:33 +0100
commit9b2756e4b8ffcce1a2d494cf32a99b971c5ae13f (patch)
treebb6dbfa15df09e957fc423ac13037711d2c2e44a /dot_config/sway
parentda1de8c64955f2ca5bb4891764e4b183f4250566 (diff)
downloaddotfiles-9b2756e4b8ffcce1a2d494cf32a99b971c5ae13f.tar.gz
dotfiles-9b2756e4b8ffcce1a2d494cf32a99b971c5ae13f.tar.bz2
dotfiles-9b2756e4b8ffcce1a2d494cf32a99b971c5ae13f.zip
feat(sway,waybar): scratch nvim+ipython binds; bolder VPN visuals
VPN module: - Pango markup colours the text directly so up/down is visually unambiguous even without CSS classes (green shield up, dim strikethrough down) - .down also gets a faint red background tint for at-a-glance scan Sway: - Super+Shift+t -> floating ghostty with nvim editing a fresh $XDG_RUNTIME_DIR/scratch-<epoch>.txt (auto-cleared on reboot via tmpfs) - Super+c -> floating ghostty with ipython (quick calculator / python scratch) KEYBINDS.md updated.
Diffstat (limited to 'dot_config/sway')
-rw-r--r--dot_config/sway/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/dot_config/sway/config b/dot_config/sway/config
index 39d1e31..9b72031 100644
--- a/dot_config/sway/config
+++ b/dot_config/sway/config
@@ -192,6 +192,10 @@ bindsym XF86Tools exec $term --class=floating -e pulsemixer
bindsym XF86Keyboard exec $term --class=floating -e glow -p ~/dotfiles/KEYBINDS.md
bindsym XF86Favorites exec ~/.config/waybar/mako-history.py
+# Quick scratch tools
+bindsym $mod+Shift+t exec $term --class=floating -e sh -c 'nvim "$XDG_RUNTIME_DIR/scratch-$(date +%s).txt"'
+bindsym $mod+c exec $term --class=floating -e ipython
+
# QR codes (Super+z then r=read or w=write)
mode "qr" {
bindsym r exec ~/.local/bin/rqr, mode "default"