diff options
author | jakobst1n <jakob.stendahl@outlook.com> | 2024-02-12 18:00:19 +0100 |
---|---|---|
committer | jakobst1n <jakob.stendahl@outlook.com> | 2024-02-12 18:00:19 +0100 |
commit | bf5df2e802df4a46378855fd7ef0b0a4979d8c27 (patch) | |
tree | 585452940d94790a10dcce5cd94ffe5d3d1c9b03 /linux/sway | |
parent | da4f994bec2f9a0927195c7bbc84d44f4b8384fb (diff) | |
download | dotfiles-bf5df2e802df4a46378855fd7ef0b0a4979d8c27.tar.gz dotfiles-bf5df2e802df4a46378855fd7ef0b0a4979d8c27.zip |
Improve some config stuff
Diffstat (limited to 'linux/sway')
-rw-r--r-- | linux/sway/autostart.m4 | 3 | ||||
-rw-r--r-- | linux/sway/config.m4 | 3 | ||||
-rw-r--r-- | linux/sway/hid.m4 | 4 |
3 files changed, 3 insertions, 7 deletions
diff --git a/linux/sway/autostart.m4 b/linux/sway/autostart.m4 index 68045e2..828fe06 100644 --- a/linux/sway/autostart.m4 +++ b/linux/sway/autostart.m4 @@ -1,10 +1,9 @@ -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, {1}, {m4_dnl +m4_ifelse(DT_SYSID, {1}, {m4_dnl #exec swayidle -w \ # timeout 300 'swaymsg "output * dpms off"' \ # timeout 3600 physlock \ diff --git a/linux/sway/config.m4 b/linux/sway/config.m4 index 60f9d06..cba1ae2 100644 --- a/linux/sway/config.m4 +++ b/linux/sway/config.m4 @@ -1,4 +1,3 @@ -m4_include(`system.m4')m4_dnl include autostart include hid @@ -48,7 +47,7 @@ bindsym $Mod+Return exec alacritty bindsym $Mod+w exec firefox bindsym $Mod+f exec thunar bindsym $Mod+c exec swaync-client -t -bindsym Mod1+l exec m4_ifelse(SYSID, `2', `nwg-lock', physlock) +bindsym Mod1+l exec m4_ifelse(DT_SYSID, `2', `nwg-lock', physlock) bindsym $Mod+d exec wofi --show=drun # Exit menu diff --git a/linux/sway/hid.m4 b/linux/sway/hid.m4 index 762be21..b420f94 100644 --- a/linux/sway/hid.m4 +++ b/linux/sway/hid.m4 @@ -1,7 +1,5 @@ -m4_include(`system.m4')m4_dnl - output eDP-1 { - scale m4_ifelse(SYSID, `1', `1.4', `1.0') + scale m4_ifelse(DT_SYSID, `1', `1.4', `1.0') } input "type:keyboard" { |