aboutsummaryrefslogtreecommitdiff
path: root/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3')
-rwxr-xr-x.config/i3/autostart (renamed from .config/i3/autostart##template)10
-rw-r--r--.config/i3/config##template14
2 files changed, 6 insertions, 18 deletions
diff --git a/.config/i3/autostart##template b/.config/i3/autostart
index 6b7f908..70b7616 100755
--- a/.config/i3/autostart##template
+++ b/.config/i3/autostart
@@ -1,7 +1,7 @@
#!/bin/sh
. "$HOME/.profile"
xrdb -override < "$XDG_CONFIG_HOME/X11/base"
-mode --no-reload restore
+mode --no-reload --no-cfggen restore
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
polybar &
@@ -11,15 +11,13 @@ dunst &
autocutsel -selection CLIPBOARD &
fcitx5 &
xbindkeys --nodaemon &
-{% if yadm.hostname == "thoncc" %}
xdimmer -t 45 -p 3 &
-light-locker --no-late-locking &
-{% else %}
redshift -l 52:6 &
nicotine --hidden &
desktop2mqtt --config "$XDG_CONFIG_HOME/desktop2mqtt/config.yml" &
-{% endif %}
-flashfocus &
+light-locker --late-locking --lock-after-screensaver=0 --no-lock-on-suspend --no-lock-on-lid &
+systembus-notify &
+nmpassd &
# auto start lazy script after everything else
[ -x "$HOME/do.sh" ] && "$HOME/do.sh" &
diff --git a/.config/i3/config##template b/.config/i3/config##template
index 2af8c10..fec43f9 100644
--- a/.config/i3/config##template
+++ b/.config/i3/config##template
@@ -1,23 +1,13 @@
# variables
set $mod Mod4
-{% if yadm.hostname == "thoncc" %}
set $inner_gaps 8
-{% else %}
-set $inner_gaps 10
-{% endif %}
set $outer_gaps 0
# set gaps
gaps inner $inner_gaps
gaps outer $outer_gaps
-# border color
-client.focused #262427 #262427 #fdf9f7 #262427 #262427
-client.focused_inactive #121213 #121213 #fdf9f7 #121213 #121213
-client.unfocused #121213 #121213 #fdf9f7 #121213 #121213
-client.urgent #121213 #de9dac #fdf9f7 #de9dac #de9dac
-client.placeholder #000000 #0c0c0c #fdf9f7 #121213 #121213
-client.background #f9ece8
+include color.conf
# Replace window decorations with a border
for_window [class=".*"] border pixel 0
@@ -89,7 +79,7 @@ for_window [class="steam"] floating enable
for_window [class="RAIL"] floating enable
for_window [class="Conky"] floating enable
for_window [title="Farge"] floating enable
-for_window [title="^\[floating\].*"] floating enable
+for_window [title="^\[floating\].*" tiling_from=auto] floating enable
for_window [window_type=notification] floating enable
for_window [title="JidePopup"] floating enable