aboutsummaryrefslogtreecommitdiff
path: root/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3')
-rw-r--r--[l---------].config/i3/autostart24
-rw-r--r--.config/i3/autostart##template (renamed from .config/i3/autostart##hostname.thoncc)5
2 files changed, 28 insertions, 1 deletions
diff --git a/.config/i3/autostart b/.config/i3/autostart
index 9a8ccbb..c6daa43 120000..100644
--- a/.config/i3/autostart
+++ b/.config/i3/autostart
@@ -1 +1,23 @@
-autostart##hostname.thoncc \ No newline at end of file
+#!/bin/sh
+/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
+cat ~/.config/X11/base ~/.config/X11/light | xrdb &
+polybar main -c ~/.config/polybar/config &
+zsh -c "rwall" &
+picom -b
+xbanish &
+dunst &
+flashfocus &
+xset r rate 250 40
+autocutsel &
+fcitx5 -d
+zsh -c "xbindkeys -f ~/.config/xbindkeys/main"
+xdimmer -t 45 -p 3 &
+light-locker --no-late-locking &
+
+# bw unlock <password> --raw | keyctl padd user bw_session @u
+sh ~/.config/i3/unlock_bitwarden &
+
+# auto start lazy script
+sleep 2
+[[ -f ~/do.sh ]] && source ~/do.sh
+
diff --git a/.config/i3/autostart##hostname.thoncc b/.config/i3/autostart##template
index c6daa43..22bd22d 100644
--- a/.config/i3/autostart##hostname.thoncc
+++ b/.config/i3/autostart##template
@@ -11,8 +11,13 @@ xset r rate 250 40
autocutsel &
fcitx5 -d
zsh -c "xbindkeys -f ~/.config/xbindkeys/main"
+{% if yadm.hostname == "thoncc" %}
xdimmer -t 45 -p 3 &
light-locker --no-late-locking &
+{% else %}
+redshift -l 52:6 &
+nicotine &
+{% endif %}
# bw unlock <password> --raw | keyctl padd user bw_session @u
sh ~/.config/i3/unlock_bitwarden &