diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-02-09 11:52:25 +0100 |
---|---|---|
committer | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-02-09 11:52:25 +0100 |
commit | 304edf080d65dad148ab6246d9fcf072ba7e86c2 (patch) | |
tree | 79899fec431fe534f3aaa6c8a03bbf0e502dfbef /linux/sway | |
parent | 76dce9a62c564070eb7a079a37a05ba5eb2355cf (diff) | |
download | dotfiles-304edf080d65dad148ab6246d9fcf072ba7e86c2.tar.gz dotfiles-304edf080d65dad148ab6246d9fcf072ba7e86c2.zip |
some things
Diffstat (limited to 'linux/sway')
-rw-r--r-- | linux/sway/autostart.m4 (renamed from linux/sway/autostart) | 5 | ||||
-rw-r--r-- | linux/sway/hid.m4 (renamed from linux/sway/hid) | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/linux/sway/autostart b/linux/sway/autostart.m4 index 3e53a79..ae49261 100644 --- a/linux/sway/autostart +++ b/linux/sway/autostart.m4 @@ -1,12 +1,17 @@ +m4_include(`system.m4')m4_dnl # Fix GTK+ application slow start exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK # screen locking +m4_changequote({, })m4_dnl +m4_ifelse(SYSID, {2}, {m4_dnl exec swayidle -w \ timeout 300 'swaymsg "output * dpms off"' \ timeout 3600 physlock \ resume 'swaymsg "output * dpms on"' \ before-sleep physlock +})m4_dnl +m4_changequote(`, ')m4_dnl # notification centre exec swaync diff --git a/linux/sway/hid b/linux/sway/hid.m4 index 23ad103..762be21 100644 --- a/linux/sway/hid +++ b/linux/sway/hid.m4 @@ -1,5 +1,7 @@ +m4_include(`system.m4')m4_dnl + output eDP-1 { - scale 1.4 + scale m4_ifelse(SYSID, `1', `1.4', `1.0') } input "type:keyboard" { |