executable_startup-i3.tmpl

 1#!/bin/sh -x
 2autocutsel -fork
 3autocutsel -fork -selection PRIMARY
 4
 5# Start headless applications
 6i3-msg exec "polybar top"
 7i3-msg exec "polybar bottom"
 8i3-msg exec "feh --bg-scale ~/.wallpaper.png"
 9i3-msg exec "blueman-applet"
10i3-msg exec "redshift"
11i3-msg exec "/usr/lib/geoclue-2.0/demos/agent"
12i3-msg exec "dunst"
13i3-msg exec "playerctl pause"
14i3-msg exec "mpDris2"
15i3-msg exec "setxkbmap -option compose:ralt"
16i3-msg exec "xset r rate 250 50"
17i3-msg exec "gotify-desktop"
18i3-msg exec "picom"
19i3-msg exec "solaar -w hide"
20i3-msg exec "unclutter --ignore-scrolling --start-hidden"
21i3-msg exec "emacs --daemon"
22i3-msg exec "xrdb -load ~/.Xresources"
23i3-msg exec "xfsettingsd"
24i3-msg exec "darkman get"
25
26i3-msg exec st "zsh -c 'bitw serve'"
27
28{{- if eq .chezmoi.hostname "angmar" }}
29i3-msg exec "mpdscribble"
30i3-msg exec "mpd ~/.config/mpd/mpd.conf"
31i3-msg exec "caddy start --adapter caddyfile --config ~/Bulk/Media/Caddyfile"
32i3-msg workspace 7
33i3-msg exec "hydrus-client"
34i3-msg workspace 6
35i3-msg exec "telegram-desktop"
36i3-msg exec "sprig"
37i3-msg exec "beeper"
38i3-msg workspace 1
39i3-msg exec "firefox-developer-edition"
40i3-msg exec "xrandr -r 165.00"
41{{- end }}
42
43sleep 50
44i3-msg exec "nextcloud"
45
46##############################
47# Wacom tablet configuration #
48##############################
49
50# Tablet button 1 = delete
51xsetwacom set "Wacom Intuos BT S Pad pad" Button 1 "key del"
52# Tablet button 3 = ctrl+z
53xsetwacom set "Wacom Intuos BT S Pad pad" Button 3 "key +ctrl z -ctrl"
54# Tablet button 4 = ctrl+shift+z
55xsetwacom set "Wacom Intuos BT S Pad pad" Button 8 "key +ctrl +shift z -shift -ctrl"
56
57exit