#!/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