Compare commits
2 commits
9e23b0ab49
...
9c2358068d
| Author | SHA1 | Date | |
|---|---|---|---|
| 9c2358068d | |||
| f07c8aee32 |
2 changed files with 10 additions and 8 deletions
|
|
@ -39,7 +39,7 @@ set {
|
||||||
# border background text indicator childborder
|
# border background text indicator childborder
|
||||||
client.focused $bg $bg $text $active $active
|
client.focused $bg $bg $text $active $active
|
||||||
|
|
||||||
output * bg ~/data/local/wallpaper/lukasz-szmigiel-jFCViYFYcus-unsplash.jpg fill
|
output * bg ~/data/local/wallpaper/kat-closon-hZX4tYgljUI-unsplash.jpg fill
|
||||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
|
||||||
|
|
@ -211,15 +211,17 @@ bindsym Mod4+Shift+Space exec grimshot --notify save window
|
||||||
# man 5 sway-bar
|
# man 5 sway-bar
|
||||||
bar {
|
bar {
|
||||||
position bottom
|
position bottom
|
||||||
font BerkeleyMono Nerd Font Mono
|
font "BerkeleyMono Nerd Font Mono Normal Bold 11"
|
||||||
status_command ~/.config/sway/status.sh
|
status_command ~/.config/sway/status.sh
|
||||||
|
strip_workspace_name no
|
||||||
|
strip_workspace_numbers no
|
||||||
colors {
|
colors {
|
||||||
statusline #869795
|
statusline #869795
|
||||||
# background #ffffffa6
|
# background #ffffffa6
|
||||||
#background #ffffff33
|
#background #ffffff33
|
||||||
background #0000004d
|
# background #0000004d
|
||||||
inactive_workspace #32323200 #32323200 #6c7e7c
|
background #00000099
|
||||||
|
inactive_workspace #323232 #323232 #6c7e7c
|
||||||
focused_workspace #2d4844 #2d4844 #d5dad9
|
focused_workspace #2d4844 #2d4844 #d5dad9
|
||||||
urgent_workspace #b4b479 #b4b479 #121c1b
|
urgent_workspace #b4b479 #b4b479 #121c1b
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,13 +32,13 @@ common() {
|
||||||
temp_cpu() {
|
temp_cpu() {
|
||||||
local name="cpu"
|
local name="cpu"
|
||||||
local cpu=$(expr $(cat /sys/class/thermal/thermal_zone2/temp) / 1000)
|
local cpu=$(expr $(cat /sys/class/thermal/thermal_zone2/temp) / 1000)
|
||||||
if [[ $(echo "$cpu >= 55" | bc -l ) == "1" ]] && [[ $(echo "$cpu < 65" | bc -l ) == "1" ]]; then
|
if [[ $(echo "$cpu >= 60" | bc -l ) == "1" ]] && [[ $(echo "$cpu < 70" | bc -l ) == "1" ]]; then
|
||||||
local bg=$warn1
|
local bg=$warn1
|
||||||
local fg=$text_dark
|
local fg=$text_dark
|
||||||
elif [[ $(echo "$cpu >= 65" | bc -l ) == "1" ]] && [[ $(echo "$cpu < 75" | bc -l ) == "1" ]]; then
|
elif [[ $(echo "$cpu >= 70" | bc -l ) == "1" ]] && [[ $(echo "$cpu < 80" | bc -l ) == "1" ]]; then
|
||||||
local bg=$warn2
|
local bg=$warn2
|
||||||
local fg=$text_dark
|
local fg=$text_dark
|
||||||
elif [[ $(echo "$cpu >= 75" | bc -l ) == "1" ]]; then
|
elif [[ $(echo "$cpu >= 80" | bc -l ) == "1" ]]; then
|
||||||
local bg=$crit
|
local bg=$crit
|
||||||
local fg=$text_light
|
local fg=$text_light
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue