dotfiles/bin/executable_autostart

33 lines
865 B
Bash

#!/bin/bash
swaymsg exec volumeicon
swaymsg exec nm-applet
swaymsg exec nextcloud
swaymsg exec mako
# swaymsg exec -- wl-paste -t text --watch clipman store
# swaymsg exec -- wl-paste -p -t text --watch clipman store --histpath="~/.local/share/clipman-primary.json"
killall redshift; swaymsg exec "redshift -m wayland -l 48.15:11.64 -t 6500K:3000K"
swaymsg workspace "4: Docs"
swaymsg exec "emacs ~/"
sleep 0.5
swaymsg workspace "2: Web"
swaymsg exec "firefox"
sleep 3
swaymsg workspace "5: Media"
swaymsg exec alacritty -- -e "tmuxinator start music"
sleep 0.5
swaymsg workspace "1: Code"
swaymsg exec alacritty
sleep 0.5
swaymsg workspace "3: Comms"
swaymsg layout tabbed
swaymsg exec start-comms
swayidle \
timeout 300 'blur-lock' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'blur-lock' &