Skip to content

Commit

Permalink
πŸ› Workaround for wl-clip-persist and inkscape pastes
Browse files Browse the repository at this point in the history
Taken from Linus789/wl-clip-persist#7 hoping to work around manjaro-sway/manjaro-sway#811 for now.
  • Loading branch information
boredland committed May 31, 2024
1 parent 3524059 commit 8ef68b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion community/sway/etc/sway/autostart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ set $mako '[ -x "$(command -v mako)" ] && pkill -x mako; /usr/share/sway/scripts
set $swappy_notify '[ -x "$(command -v swappy)" ] && /usr/share/sway/scripts/screenshot-notify.sh'
set $cliphist_watch '[ -x "$(command -v wl-paste)" ] && [ -x "$(command -v cliphist)" ] && wl-paste --watch waybar-signal clipboard'
set $cliphist_store '[ -x "$(command -v wl-paste)" ] && [ -x "$(command -v cliphist)" ] && wl-paste --watch cliphist store'
set $clip-persist '[ -x "$(command -v wl-clip-persist)" ] && pkill -x wl-clip-persist; wl-clip-persist --clipboard regular'
set $clip-persist '[ -x "$(command -v wl-clip-persist)" ] && pkill -x wl-clip-persist; wl-clip-persist --clipboard regular --all-mime-type-regex \'(?i)^(?!image/x-inkscape-svg).+\''
set $calendar_daemon 'calcurse --daemon'
set $nm_applet '[ -x "$(command -v nm-applet)" ] && pkill -x nm-applet && dbus-launch nm-applet'
set $watch_playerctl '[ -x "$(command -v playerctl)" ] && pkill -x playerctl; playerctl -a metadata --format \"{{status}} {{title}}\" --follow | while read line; do waybar-signal playerctl; waybar-signal idle; done'

0 comments on commit 8ef68b1

Please sign in to comment.