dotfiles/bin/executable_autostart

23 lines
575 B
Bash

#!/usr/bin/env bash
systemctl --user import-environment
dbus-update-activation-environment --systemd --all
systemctl --user start gnome-keyring.service
systemctl --user start graphical-session.target
swaymsg workspace "4 "
swaymsg exec -- "emacsclient --create-frame -e '(org-agenda-list)'"
sleep 0.5
swaymsg workspace "2 "
swaymsg exec browser
sleep 2
swaymsg workspace "5 "
swaymsg exec foot -- bash -c "~/bin/somafm-picker"
sleep 0.3
swaymsg workspace "1 "
swaymsg exec foot
sleep 0.3
swaymsg workspace "3 "
swaymsg layout tabbed
swaymsg exec start-comms