#!/bin/sh if [ -n "$SWAYSOCK"]; then swaymsg input type:keyboard xkb_switch_layout 0 if [ "$1" != "screenon" ]; then swayidle timeout 30 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' & fi fi gpg-connect-agent --no-autostart reloadagent /bye canberra-gtk-play -i Oxygen-Window-All-Desktops-Not & swaylock pkill -n swayidle canberra-gtk-play -i Oxygen-Window-All-Desktops