dotfiles/local/share/dark-mode.d/sway.sh

8 lines
159 B
Bash
Raw Normal View History

2024-09-14 12:51:03 +00:00
#!/bin/bash
ln -fs dark-mode ~/.config/sway/current-theme
SWAYSOCK="/run/user/$(id -u)/sway-ipc.$(id -u).$(pgrep -x sway).sock"
swaymsg -s $SWAYSOCK reload