diff --git a/home/oli/.config/sway/config b/home/oli/.config/sway/config index 30a5a6f..28eef74 100644 --- a/home/oli/.config/sway/config +++ b/home/oli/.config/sway/config @@ -39,7 +39,7 @@ set { # border background text indicator childborder client.focused $bg $bg $text $active $active -output * bg ~/data/local/wallpaper/kat-closon-hZX4tYgljUI-unsplash.jpg fill +output * bg ~/data/local/wallpaper/lukasz-szmigiel-jFCViYFYcus-unsplash.jpg fill # output HDMI-A-1 resolution 1920x1080 position 1920,0 # You can get the names of your outputs by running: swaymsg -t get_outputs @@ -211,17 +211,15 @@ bindsym Mod4+Shift+Space exec grimshot --notify save window # man 5 sway-bar bar { position bottom - font "BerkeleyMono Nerd Font Mono Normal Bold 11" + font BerkeleyMono Nerd Font Mono status_command ~/.config/sway/status.sh - strip_workspace_name no - strip_workspace_numbers no + colors { statusline #869795 # background #ffffffa6 #background #ffffff33 - # background #0000004d - background #00000099 - inactive_workspace #323232 #323232 #6c7e7c + background #0000004d + inactive_workspace #32323200 #32323200 #6c7e7c focused_workspace #2d4844 #2d4844 #d5dad9 urgent_workspace #b4b479 #b4b479 #121c1b } diff --git a/home/oli/.config/sway/status.sh b/home/oli/.config/sway/status.sh index c7420f9..6f9ceb0 100755 --- a/home/oli/.config/sway/status.sh +++ b/home/oli/.config/sway/status.sh @@ -32,13 +32,13 @@ common() { temp_cpu() { local name="cpu" local cpu=$(expr $(cat /sys/class/thermal/thermal_zone2/temp) / 1000) - if [[ $(echo "$cpu >= 60" | bc -l ) == "1" ]] && [[ $(echo "$cpu < 70" | bc -l ) == "1" ]]; then + if [[ $(echo "$cpu >= 55" | bc -l ) == "1" ]] && [[ $(echo "$cpu < 65" | bc -l ) == "1" ]]; then local bg=$warn1 local fg=$text_dark - elif [[ $(echo "$cpu >= 70" | bc -l ) == "1" ]] && [[ $(echo "$cpu < 80" | bc -l ) == "1" ]]; then + elif [[ $(echo "$cpu >= 65" | bc -l ) == "1" ]] && [[ $(echo "$cpu < 75" | bc -l ) == "1" ]]; then local bg=$warn2 local fg=$text_dark - elif [[ $(echo "$cpu >= 80" | bc -l ) == "1" ]]; then + elif [[ $(echo "$cpu >= 75" | bc -l ) == "1" ]]; then local bg=$crit local fg=$text_light else