feat: add hyprland config
This commit is contained in:
@ -3,30 +3,24 @@
|
||||
"spacing": 4,
|
||||
"bar_id": "bar-0",
|
||||
"ipc": true,
|
||||
"mode": "hide",
|
||||
// "mode": "hide",
|
||||
"hidden_state": "show",
|
||||
"modules-left": [
|
||||
"clock",
|
||||
"custom/waybar-mpris"
|
||||
],
|
||||
"modules-center": [
|
||||
"sway/workspaces",
|
||||
"sway/mode"
|
||||
"wlr/workspaces"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/power-consumption",
|
||||
"custom/power-profile",
|
||||
"custom/dpi",
|
||||
// "custom/dpi",
|
||||
"custom/theme",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"battery"
|
||||
],
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": false,
|
||||
"format": "{name}"
|
||||
},
|
||||
"custom/theme": {
|
||||
"exec": "~/.config/waybar/scripts/toggle-theme",
|
||||
"on-click": "~/.config/waybar/scripts/toggle-theme --toggle",
|
||||
@ -36,19 +30,30 @@
|
||||
"exec": "~/.config/waybar/scripts/power-consumption",
|
||||
"interval": 1
|
||||
},
|
||||
"wlr/workspaces": {
|
||||
"format": "{icon} {name}",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"urgent": "",
|
||||
// "active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"custom/power-profile": {
|
||||
"exec": "~/.config/waybar/scripts/power-profile",
|
||||
"on-click": "~/.config/waybar/scripts/power-profile --toggle",
|
||||
"interval": 2
|
||||
},
|
||||
"custom/dpi": {
|
||||
"exec": "~/.config/waybar/scripts/toggle-hdpi",
|
||||
"on-click": "~/.config/waybar/scripts/toggle-hdpi --toggle",
|
||||
"restart-interval": 2
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
// "custom/dpi": {
|
||||
// "exec": "~/.config/waybar/scripts/toggle-hdpi",
|
||||
// "on-click": "~/.config/waybar/scripts/toggle-hdpi --toggle",
|
||||
// "restart-interval": 2
|
||||
// },
|
||||
"clock": {
|
||||
"interval": 60,
|
||||
"format": "{:%H:%M}",
|
||||
|
@ -186,7 +186,7 @@ esac
|
||||
# requires this in ~/.config/kitty/kitty.conf:
|
||||
# allow_remote_control yes
|
||||
# listen_on unix:/tmp/kitty-socket
|
||||
kitty +kitten themes --reload-in=all $new_kitty_theme
|
||||
kitty +kitten themes --cache-age=-1 --reload-in=all $new_kitty_theme
|
||||
# for SOCK in /tmp/kitty-socket-*; do
|
||||
# if [[ -r $new_kitty_theme ]]; then
|
||||
# else
|
||||
|
@ -1,9 +1,9 @@
|
||||
* {
|
||||
border: none;
|
||||
font-family: Font Awesome, Hack Nerd Font Mono;
|
||||
border: none;
|
||||
font-family: Font Awesome, Hack Nerd Font Mono;
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
/* opacity: 0.95; */
|
||||
font-size: 13px;
|
||||
/* opacity: 0.95; */
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
@ -11,39 +11,34 @@ window#waybar {
|
||||
}
|
||||
|
||||
window > box {
|
||||
margin: 6px;
|
||||
margin-bottom: 0px;
|
||||
margin: 6px;
|
||||
margin-bottom: 0px;
|
||||
background: #2b303b;
|
||||
background: @theme_bg_color;
|
||||
padding: 5px 8px;
|
||||
background: @theme_bg_color;
|
||||
padding: 5px 8px;
|
||||
border-radius: 4px;
|
||||
/*border-bottom: 3px solid rgba(100, 114, 125, 0.5);*/
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0px 7px;
|
||||
padding-left: 4px;
|
||||
color: @theme_fg_color;
|
||||
background: transparent;
|
||||
padding:0px 10px;
|
||||
color: @theme_fg_color;
|
||||
background: transparent;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
#workspaces button:hover{
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: @theme_fg_color;
|
||||
color: @theme_bg_color;
|
||||
#workspaces button.active {
|
||||
background-color: @theme_fg_color;
|
||||
color: @theme_bg_color;
|
||||
}
|
||||
|
||||
#battery, #network, #pulseaudio, #clock, #custom-power, #custom-qbitstats {
|
||||
/*margin: 0px 3px 0px 1px;*/
|
||||
}
|
||||
|
||||
#clock {
|
||||
margin: 0px 16px 0px 10px;
|
||||
min-width: 10px;
|
||||
margin: 0px 16px 0px 10px;
|
||||
min-width: 10px;
|
||||
}
|
||||
|
||||
.custom-spotify {
|
||||
@ -56,9 +51,6 @@ window > box {
|
||||
color: #cc241d;
|
||||
}
|
||||
|
||||
#custom-qbitstats {
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: #689d6a;
|
||||
}
|
||||
|
Reference in New Issue
Block a user