From 532248914f2222e4fa934f1937275665f07f507c Mon Sep 17 00:00:00 2001 From: Amolith Date: Sun, 28 Nov 2021 20:16:20 -0500 Subject: [PATCH] add startup script --- dot_local/bin/executable_startup-i3.tmpl | 45 ++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 dot_local/bin/executable_startup-i3.tmpl diff --git a/dot_local/bin/executable_startup-i3.tmpl b/dot_local/bin/executable_startup-i3.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..b44f8ed55e03cb52746c5d7007793e01d6e807e6 --- /dev/null +++ b/dot_local/bin/executable_startup-i3.tmpl @@ -0,0 +1,45 @@ +#!/bin/sh -x +autocutsel -fork +autocutsel -fork -selection PRIMARY + +# Start headless applications +i3-msg exec "polybar top" +i3-msg exec "polybar bottom" +i3-msg exec "feh --bg-scale ~/.wallpaper.png" +i3-msg exec "blueman-applet" +i3-msg exec "mpd ~/.config/mpd/mpd.conf" +i3-msg exec "redshift" +i3-msg exec "mpdscribble" +i3-msg exec "dunst" +i3-msg exec "playerctl pause" +i3-msg exec "mpDris2" +i3-msg exec "setxkbmap -option compose:ralt" +{{- if eq .chezmoi.hostname "angmar" }} +i3-msg exec "java -cp {{ .chezmoi.homeDir }}/languagetool/languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --allow-origin '*'" +{{- end }} +i3-msg exec "gotify-desktop" +i3-msg exec "unclutter --ignore-scrolling --start-hidden" +sleep 1 + +i3-msg exec "firefox-developer-edition" +sleep 1 +i3-msg workspace 2 +i3-msg exec "keepassxc" +sleep 1 +i3-msg workspace 6 +{{- if eq .chezmoi.hostname "angmar" }} +i3-msg exec "telegram-desktop" +i3-msg exec "signal-desktop" +i3-msg exec "mattermost-desktop" +i3-msg exec "cd ~/repos/arbor/sprig && git pull && go run ." +i3-msg exec "hydrus-client" +{{- end }} +i3-msg exec "gajim" +i3-msg exec "st zsh -c 'lxc exec pers2:weechat -- tmux a'" +i3-msg exec "emacs --daemon" +i3-msg workspace 10 +i3-msg exec "st zsh -c 'neomutt'" +sleep 2 +i3-msg workspace 2 + +exit