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 "gotify-desktop"
17i3-msg exec "unclutter --ignore-scrolling --start-hidden"
18i3-msg exec "emacs --daemon"
19i3-msg exec "xrdb -load ~/.Xresources"
20i3-msg exec "xfsettingsd"
21i3-msg exec "darkman get"
22
23sleep 5
24
25i3-msg workspace 2
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 "signal-desktop"
37i3-msg exec "sprig"
38i3-msg exec "dino"
39i3-msg workspace 1
40i3-msg exec "firefox-developer-edition"
41i3-msg exec "xrandr -r 165.00"
42i3-msg workspace 2
43{{- end }}
44
45sleep 50
46i3-msg exec "nextcloud"
47
48##############################
49# Wacom tablet configuration #
50##############################
51
52# Tablet button 1 = delete
53xsetwacom set "Wacom Intuos BT S Pad pad" Button 1 "key del"
54# Tablet button 3 = ctrl+z
55xsetwacom set "Wacom Intuos BT S Pad pad" Button 3 "key +ctrl z -ctrl"
56# Tablet button 4 = ctrl+shift+z
57xsetwacom set "Wacom Intuos BT S Pad pad" Button 8 "key +ctrl +shift z -shift -ctrl"
58
59exit