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

8 lines
160 B
Bash
Executable File

#!/bin/bash
ln -fs light-mode ~/.config/sway/current-theme
SWAYSOCK="/run/user/$(id -u)/sway-ipc.$(id -u).$(pgrep -x sway).sock"
swaymsg -s $SWAYSOCK reload