fix: adjust hyprland configs

This commit is contained in:
ryan4yin
2023-05-07 12:09:01 +08:00
parent 88faaa950c
commit 82f0248cf6
26 changed files with 318 additions and 475 deletions
+6 -7
View File
@@ -111,7 +111,6 @@
"interval": 60,
"align": 0,
"rotate": 0,
//"timezone": "America/New_York",
"tooltip-format": "<big>{:%B %Y}</big>\n<tt><small>{calendar}</small></tt>",
"format": " {:%H:%M}",
"format-alt": " {:%a %b %d, %G}"
@@ -128,7 +127,7 @@
"on-click": "$HOME/.config/hypr/scripts/menu",
},
"custom/power": {
"format": "",
"format": "",
"tooltip": false,
"on-click": "$HOME/.config/hypr/scripts/wlogout",
},
@@ -179,13 +178,13 @@
},
// weather-custom
"custom/weather": {
"format": "{}",
"format-alt": "{alt}: {}",
// "format": "{}",
// "format-alt": "{alt}: {}",
"format-alt-click": "click-right",
"interval": 1800,
"interval": 300,
"return-type": "json",
"exec": "~/.config/hypr/scripts/weather.sh",
"exec-if": "ping wttr.in -c1"
"exec": "~/.config/hypr/scripts/weather",
// "on-click": "xdg-open https://weather.com/en-IN/weather/today/l/$(location_id)"
},
// waybar-pulseaudio
"pulseaudio": {
+39 -7
View File
@@ -159,13 +159,6 @@ window#waybar.hidden {
font-size: 12px;
}
#custom-weather {
background-color: #cba6f7;
margin-right: 6px;
padding: 2px 8px;
font-size: 12px;
}
/** Common style **/
#backlight,
#battery,
@@ -181,4 +174,43 @@ window#waybar.hidden {
border-radius: 4px;
margin: 6px 0px;
padding: 2px 8px;
}
/** ********** Weather ********** **/
#custom-weather {
background-color: #5d388b;
margin-right: 6px;
padding: 2px 8px;
font-size: 12px;
}
#custom-weather.severe {
color: #eb937d;
}
#custom-weather.sunnyDay {
color: #c2ca76;
}
#custom-weather.clearNight {
color: #2b2b2a;
}
#custom-weather.cloudyFoggyDay, #custom-weather.cloudyFoggyNight {
color: #c2ddda;
}
#custom-weather.rainyDay, #custom-weather.rainyNight {
color: #5aaca5;
}
#custom-weather.showyIcyDay, #custom-weather.snowyIcyNight {
color: #d6e7e5;
}
#custom-weather.default {
color: #dbd9d8;
}