From 3d6ba185af2dbe99d961ca3cefc33b520345e077 Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Mon, 4 Dec 2023 20:19:08 -0500 Subject: [PATCH] working to get background set --- bin/wallpaper.sh | 2 +- gui/sway/config | 2 +- gui/waybar/config | 17 +++++++++++++++++ gui/waybar/style.css | 10 ++++++++++ meta/configs/waybar.desktop.yaml | 2 ++ meta/profiles/desktop | 1 + 6 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 gui/waybar/config create mode 100644 gui/waybar/style.css create mode 100644 meta/configs/waybar.desktop.yaml diff --git a/bin/wallpaper.sh b/bin/wallpaper.sh index 9798fc1..dc62239 100755 --- a/bin/wallpaper.sh +++ b/bin/wallpaper.sh @@ -11,7 +11,7 @@ if [ "$1" == '-s' ] ; then selection=$(find -L -type f -printf '%P\n' | $finder) if [ -n "$selection" ] ; then # didnt exit - feh --bg-scale "$selection" + swaybg --mode fill -i "$selection" fi fi diff --git a/gui/sway/config b/gui/sway/config index 27e8107..04fdaa1 100644 --- a/gui/sway/config +++ b/gui/sway/config @@ -211,6 +211,6 @@ bindsym $mod+r mode "resize" #exec --no-startup-id picom-launch.sh # background -output "*" bg ~/.config/i3/wallpaper.jpg fill +# output "*" bg ~/.config/i3/wallpaper.jpg fill # poly bar exec_always --no-startup-id polybar-launch.sh desktop-bar diff --git a/gui/waybar/config b/gui/waybar/config new file mode 100644 index 0000000..35c9295 --- /dev/null +++ b/gui/waybar/config @@ -0,0 +1,17 @@ +{ + "layer": "top", + "modules-left": ["sway/workspaces", "sway/window"], + "modules-center": ["weather"], + "modules-right": ["cpu", "memory", "network", "clock"], + "sway/workspaces": { + "all-outputs": true + }, + "sway/window": { + "all-outputs": true, + "max-length": 30 + }, + "clock": { + "format": "{:%A, %b. %e %r}" + } +} + diff --git a/gui/waybar/style.css b/gui/waybar/style.css new file mode 100644 index 0000000..17e9e64 --- /dev/null +++ b/gui/waybar/style.css @@ -0,0 +1,10 @@ +* { + /* `otf-font-awesome` is required to be installed for icons */ + font-family: Hack Nerd Font, Roboto, Helvetica, Arial, sans-serif; + font-size: 13px; +} + +window#waybar { + background-color: transparent; + color: #ffffff; +} diff --git a/meta/configs/waybar.desktop.yaml b/meta/configs/waybar.desktop.yaml new file mode 100644 index 0000000..df83526 --- /dev/null +++ b/meta/configs/waybar.desktop.yaml @@ -0,0 +1,2 @@ +- link: + ~/.config/waybar: gui/waybar diff --git a/meta/profiles/desktop b/meta/profiles/desktop index 8082e62..53f916c 100644 --- a/meta/profiles/desktop +++ b/meta/profiles/desktop @@ -4,6 +4,7 @@ profile/arch # desktop specific st.desktop sway.desktop +waybar.desktop calcurse seafile passwords