- install.sh rewritten for Fedora: dry-run, --check, backups, oh-my-zsh, lazygit, swappy - outputs-setup.sh (monitor layout for new hardware) and doctor.sh (health check) - screenshot.sh: region / full / window / scroll / last / edit (swappy), saved and copied - remove waybar, swaync, dunst, rofi and their helper scripts, wallpaper picker, mirror.sh - wallpapers handled by DMS; keep only the favourite one - 00-session.conf for portals; swayfx-only layer rules split into 21-dms-effects.conf Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
38 lines
1.7 KiB
Plaintext
38 lines
1.7 KiB
Plaintext
# Workflow helpers
|
|
|
|
# Drop-down scratchpad terminal: $mod+grave
|
|
exec kitty --class scratch
|
|
for_window [app_id="scratch"] move scratchpad, resize set 1000 560, move position center, border pixel 2
|
|
bindsym --to-code $mod+grave scratchpad show
|
|
|
|
# Workspace navigation
|
|
bindsym --to-code $mod+Tab workspace next_on_output
|
|
bindsym --to-code $mod+Shift+Tab workspace prev_on_output
|
|
bindsym --to-code $mod+Ctrl+Right workspace next_on_output
|
|
bindsym --to-code $mod+Ctrl+Left workspace prev_on_output
|
|
|
|
# Quick layout / window helpers
|
|
bindsym --to-code $mod+Shift+f floating toggle, resize set 1000 600, move position center
|
|
bindsym --to-code $mod+c exec swaymsg [con_id=__focused__] move position center
|
|
|
|
# Screenshots (saved to ~/Pictures/Screenshots and copied to the clipboard)
|
|
bindsym --to-code Print exec ~/.config/sway/screenshot.sh region
|
|
bindsym --to-code $mod+Shift+s exec ~/.config/sway/screenshot.sh region
|
|
bindsym --to-code Shift+Print exec ~/.config/sway/screenshot.sh full
|
|
bindsym --to-code Ctrl+Print exec ~/.config/sway/screenshot.sh window
|
|
bindsym --to-code Alt+Print exec ~/.config/sway/screenshot.sh scroll
|
|
bindsym --to-code $mod+Print exec ~/.config/sway/screenshot.sh last
|
|
bindsym --to-code Ctrl+Shift+Print exec ~/.config/sway/screenshot.sh edit
|
|
|
|
# Keep video/browser-video windows undimmed
|
|
for_window [app_id="firefox"] inhibit_idle fullscreen
|
|
for_window [app_id="mpv"] floating enable, dim_inactive 0
|
|
|
|
# Rice helpers
|
|
bindsym --to-code $mod+F1 exec ~/.config/sway/cheatsheet.sh
|
|
# Performance mode: toggle blur + shadows
|
|
bindsym --to-code $mod+Shift+b blur toggle; shadows toggle
|
|
# Control center (notifications + quick settings)
|
|
bindsym --to-code $mod+n exec dms ipc call control-center toggle
|
|
bindsym --to-code $mod+Shift+n exec dms ipc call notifications toggle
|