aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-09-22 13:21:14 +0200
committerlonkaars <loek@pipeframe.xyz>2022-09-22 13:21:14 +0200
commitb54786c4cb50b43360367e1b061bcb763a30b6f6 (patch)
tree5183b356e305d6eb4db2d73a78632ab88fbc7826
parent3a9326d49c339647bc2d243ce722d4aab9fb8603 (diff)
fix more templates
-rw-r--r--.config/X11/base##template (renamed from .config/X11/base)11
-rw-r--r--[l---------].config/i3/autostart24
-rw-r--r--.config/i3/autostart##template (renamed from .config/i3/autostart##hostname.thoncc)5
3 files changed, 36 insertions, 4 deletions
diff --git a/.config/X11/base b/.config/X11/base##template
index 3e41052..473ea97 100644
--- a/.config/X11/base
+++ b/.config/X11/base##template
@@ -1,12 +1,17 @@
+{% if yadm.hostname == "thoncc" %}
+*.font: JetBrainsMono Nerd Font:style=Medium,Regular:size=7.5
+*.borderpx: 8
+Xcursor.theme: OpenZone_Black_Slim
+{% else %}
*.font: JetBrainsMono Nerd Font:size=9:antialias=true:autohint=true
+*.borderpx: 16
+Xcursor.theme: OpenZone_Black
+{% endif %}
*.termname: st-256color
*.shell: /bin/sh
*.tabspaces: 4
-*.borderpx: 16
-
-Xcursor.theme: OpenZone_Black
Xft.dpi: 96
Xft.hinting: 1
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 &