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