From 57e518188fe1364ea8bb33eb5e1c95fad466cb82 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Mon, 12 Feb 2024 18:47:42 -0600 Subject: [PATCH] More sway stuff --- desktop-gruvbox-sway/.config/sway/config | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/desktop-gruvbox-sway/.config/sway/config b/desktop-gruvbox-sway/.config/sway/config index 7f463141..875c3b2b 100644 --- a/desktop-gruvbox-sway/.config/sway/config +++ b/desktop-gruvbox-sway/.config/sway/config @@ -182,6 +182,8 @@ input "type:touchpad" { } ## OUTPUTS +# Wallpaper +output * bg ~/Pictures/Wallpapers/.current fill # Laptop display output eDP-1 scale 1.5 @@ -205,4 +207,30 @@ mode "resize" { } ## STARTUP APPLICATIONS +# Put them here +## OS-SPECIFIC INCLUDES +# Lifted from Fedora +# --- +# Include configs from 3 locations: +# - /usr/share/sway/config.d +# - /etc/sway/config.d +# - $XDG_CONFIG_HOME/sway/config.d ($HOME/.config/sway/config.d) +# +# If multiple directories contain the files with the same name, the later +# directory takes precedence; `$XDG_CONFIG_HOME/sway/config.d/20-swayidle.conf` +# will always be loaded instead of `/usr/share/sway/config.d/20-swayidle.conf` +# or `/etc/sway/config.d/20-swayidle.conf` +# +# This mechanism permits overriding our default configuration per-system +# (/etc) or per-user ($XDG_CONFIG_HOME) basis. Just create the file you +# want to modify/override in the higher-level directory. +# +# For example, to disable the default bar from Fedora configs, you'll need to +# $ echo -n > "$HOME/.config/sway/config.d/90-bar.conf" +# +# Note the quoting, the $() and the arguments quoting. All the parts are equally +# important to make the magic work. And if you want to learn the secret behind +# the trick, it's all in the `wordexp(3)`. +# +include '$(/usr/libexec/sway/layered-include "/usr/share/sway/config.d/*.conf" "/etc/sway/config.d/*.conf" "${XDG_CONFIG_HOME:-$HOME/.config}/sway/config.d/*.conf")'