PopupWindow visibilty
How to make a PopupWindow stay visible when implemented with a hoverhandler on another element?
How to make a PopupWindow stay visible when implemented with a hoverhandler on another element?
The radio from apple music starts randomly (i dont use apple music, no bluetooth devices are connected)
My cursor gets bigger on the waybar but only the pointer and the groups (expand-on-hover) are pushing the waybar beyond the screen edge
So i have cut down all the trees on my island and i just discovered you need 100 trees to get 3 stars.
What do i do now?
So we all know the channel on the switch that can give you materials. But how does this work is there some sort of url protocol?
So i have this config and my slider has ghost padding.
url("colors-waybar.css");
* {
background-color: transparent;
font-family: "DepartureMono Nerd Font Mono", monospace;
font-size: 16px;
font-weight: bold;
/*padding: 0;
margin: 0;*/
border: none;
box-shadow: none;
text-shadow: none;
}
window#waybar {
background-color: transparent;
padding: 0;
margin: 0;
border-left: 2px solid #A7C080;
border-top: 2px solid #A7C080;
border-bottom: 2px solid #A7C080;
border-radius: 0px;
}
.module {
padding: 8px 4px;
background-color: #23282a;
border: 1px solid #A7C080;
border-radius: 6px;
margin: 4px 6px;
}
#clock {
color: #D3C6AA;
}
#custom-volume {
color: #D3C6AA;
}
#custom-volume.muted {
color: #D3C6AA;
}
#backlight {
color: #D3C6AA;
}
#battery {
color: #D3C6AA;
margin: 4px 6px 10px 6px;
}
#custom-power {
color: #D3C6AA;
margin: 10px 6px 4px 6px;
}
#custom-settings {
background-color: transparent;
border: none;
}
#custom-settings:hover {
font-size: 16px;
border: 1px solid #A7C080;
}
#mpris {
color: #D3C6AA;
}
#network {
color: #D3C6AA;
}
#bluetooth {
color: #D3C6AA;
}
#bluetooth #workspaces {
background: #23282a;
border-radius: 0px;
padding: 0;
margin: 0;
font-weight: normal;
font-style: normal;
opacity: 1;
font-size: 1px;
}
#workspaces button {
padding: 1px 1px;
margin: 1px 1px;
border-radius: 6px;
color: #D3C6AA;
background-color: #23282a;
transition: all 0.3s ease-in-out;
font-size: 1px;
}
#workspaces button:hover {
background-color: #A7C080;
color: #23282a;
border-radius: 6px;
min-height: 40px;
}
#workspaces button.active {
padding: 1px 1px;
margin: 1px 1px;
border-radius: 6px;
color: #23282a;
background-color: #A7C080;
transition: all 0.3s ease-in-out;
}
#battery.charging,
#battery.good:not(.charging),
#battery.warning:not(.charging),
#battery.critical:not(.charging) {
}
#battery.good:not(.charging) {
color: #D3C6AA;
}
#battery.warning:not(.charging) {
color: #cea273;
}
#battery.critical:not(.charging) {
color: #a4133c;
}
#battery.critical:not(.charging) {
animation: blink 0.6s linear infinite alternate;
}
u/import url("colors-waybar.css");
* {
background-color: transparent;
font-family: "DepartureMono Nerd Font Mono", monospace;
font-size: 16px;
font-weight: bold;
/*padding: 0;
margin: 0;*/
border: none;
box-shadow: none;
text-shadow: none;
}
window#waybar {
background-color: transparent;
padding: 0;
margin: 0;
border-left: 2px solid #A7C080;
border-top: 2px solid #A7C080;
border-bottom: 2px solid #A7C080;
border-radius: 0px;
}
.module {
padding: 8px 4px;
background-color: #23282a;
border: 1px solid #A7C080;
border-radius: 6px;
margin: 4px 6px;
}
#clock {
color: #D3C6AA;
}
#custom-volume {
color: #D3C6AA;
}
#custom-volume.muted {
color: #D3C6AA;
}
#backlight {
color: #D3C6AA;
}
#battery {
color: #D3C6AA;
margin: 4px 6px 10px 6px;
}
#custom-power {
color: #D3C6AA;
margin: 10px 6px 4px 6px;
}
#custom-settings {
background-color: transparent;
border: none;
}
#custom-settings:hover {
font-size: 16px;
border: 1px solid #A7C080;
}
#mpris {
color: #D3C6AA;
}
#network {
color: #D3C6AA;
}
#bluetooth {
color: #D3C6AA;
}
#bluetooth #workspaces {
background: #23282a;
border-radius: 0px;
padding: 0;
margin: 0;
font-weight: normal;
font-style: normal;
opacity: 1;
font-size: 1px;
}
#workspaces button {
padding: 1px 1px;
margin: 1px 1px;
border-radius: 6px;
color: #D3C6AA;
background-color: #23282a;
transition: all 0.3s ease-in-out;
font-size: 1px;
}
#workspaces button:hover {
background-color: #A7C080;
color: #23282a;
border-radius: 6px;
min-height: 40px;
}
#workspaces button.active {
padding: 1px 1px;
margin: 1px 1px;
border-radius: 6px;
color: #23282a;
background-color: #A7C080;
transition: all 0.3s ease-in-out;
}
#battery.charging,
#battery.good:not(.charging),
#battery.warning:not(.charging),
#battery.critical:not(.charging) {
}
#battery.good:not(.charging) {
color: #D3C6AA;
}
#battery.warning:not(.charging) {
color: #cea273;
}
#battery.critical:not(.charging) {
color: #a4133c;
}
#battery.critical:not(.charging) {
animation: blink 0.6s linear infinite alternate;
}
u/keyframes blink {
to {
color: #f5efeb;
}
}
#taskbar.button {
background-color: transparent;
}
#taskbar.button:hover {
background-color: transparent;
}
#taskbar.button:active {
background-color: transparent;
}
#taskbar.empty {
background-color: transparent;
border: none;
}
#taskbar {
padding: 0px;
padding-top: 7px;
}
#pulseaudio-slider {
padding: 10px 0;
margin: 0;
}
#pulseaudio-slider slider {
min-height: 0px;
min-width: 0px;
opacity: 0;
background-image: none;
border: none;
box-shadow: none;
margin: 0px;
}
#pulseaudio-slider trough {
min-height: 70px;
min-width: 10px;
border-radius: 0px;
background: #23282a;
}
#pulseaudio-slider highlight {
min-width: 10px;
border-radius: 10px;
background: #A7C080;
}
#pulseaudio-slider scale {
padding: 0;
margin: 0;
min-width: 10px;
} blink {
to {
color: #f5efeb;
}
}
#taskbar.button {
background-color: transparent;
}
#taskbar.button:hover {
background-color: transparent;
}
#taskbar.button:active {
background-color: transparent;
}
#taskbar.empty {
background-color: transparent;
border: none;
}
#taskbar {
padding: 0px;
padding-top: 7px;
}
#pulseaudio-slider {
padding: 10px 0;
margin: 0;
}
#pulseaudio-slider slider {
min-height: 0px;
min-width: 0px;
opacity: 0;
background-image: none;
border: none;
box-shadow: none;
margin: 0px;
}
#pulseaudio-slider trough {
min-height: 70px;
min-width: 10px;
border-radius: 0px;
background: #23282a;
}
#pulseaudio-slider highlight {
min-width: 10px;
border-radius: 10px;
background: #A7C080;
}
#pulseaudio-slider scale {
padding: 0;
margin: 0;
min-width: 10px;
}
{
"layer": "top",
"position": "left",
"reload_style_on_change": true,
"width": 44,
"style": "~/.config/waybar/style.css",
"margin-left": 0,
"margin-right": 0,
"margin-top": 0,
"margin-bottom": 0,
"spacing": 0,
"gtk-layer-shell": true,
"output": [
"HDMI-A-1",
"eDP-1"
],
"modules-left": [
"custom/power",
"hyprland/workspaces",
"mpris",
"wlr/taskbar"
],
"modules-center": [
"clock"
],
"modules-right": [
"pulseaudio/slider",
//"backlight",
"bluetooth",
"network",
"battery",
"pipewire"
],
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 14,
"icon-theme": "Numix-Circle",
"tooltip-format": "{title}",
"on-click": "",
"on-click-middle": "close"
},
"custom/power": {
"format": " ",
"on-click": "pypr menu \" Power\"",
"tooltip": false
},
"clock": {
"format": "{:%H\n──\n%M}",
//"rotate": 90,
"tooltip": false
},
"hyprland/workspaces": {
"on-scroll-up": "hyprctl eval 'hl.dispatch(hl.dsp.focus({ workspace = \"-1\" }))'",
"on-scroll-down": "hyprctl eval 'hl.dispatch(hl.dsp.focus({ workspace = \"+1\" }))'",
"active-only": false,
"all-outputs": true,
"format": "{name}",
"tooltip": false
},
"pulseaudio/slider": {
"min": 0,
"max": 100,
"orientation": "vertical"
},
"mpris": {
"format": "{artist}-{title}",
"format-playing": " {artist}-{title}",
"format-paused": " {artist}-{title}",
"rotate": 90,
"max-length": 20,
"min-length": 10,
"on-click": "playerctl play-pause",
"on-scroll-up": "playerctl previous",
"on-scroll-down": "playerctl next",
"tooltip": false
},
"battery": {
"states": {
"good": 60,
"warning": 30,
"critical": 15
},
"format": "{icon}",
"format-alt": " {icon}\n{capacity}%",
"format-plugged": "{}",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"tooltip": false
},
"network": {
"format-wifi": " {icon}",
"format-ethernet": "",
"format-icons": [
" ",
" ",
" ",
" "
],
"format-disconnected": "",
"on-click": "hyprltm-net",
"interval": 3,
"tooltip": false
},
"bluetooth": {
"format": "{icon}",
"format-icons": [
"",
"",
"",
"",
""
],
"format-connected-battery": "",
"tooltip": false,
"on-click": "~/.config/hypr/scripts/bluetooth.sh"
},
"backlight": {
"device": "intel_backlight",
"format-alt": "{icon}",
"format": " {icon}\n{percent}",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"tooltip": false,
"on-click-right": "~/.config/waybar/scripts/sunset-toggle.sh"
},
"wireplumber": {
"format": "{icon}",
"format-alt": " {icon}\n{volume}",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"format-muted": "",
"max-volume": 99,
"on-click-right": "wpctl set-mute @ toggle",
"on-click-middle": "blueman-manager"
},
"custom/volume": {
"exec": "~/.config/waybar/scripts/volume.sh",
"interval": 3600,
"return-type": "json",
"format": "{}",
"signal": 8,
"tooltip": false,
"on-click": "wpctl set-mute @ toggle",
"on-click-middle": "blueman-manager",
"on-scroll-up": "wpctl set-volume @ 1%+ && pkill -RTMIN+8 waybar",
"on-scroll-down": "wpctl set-volume {
"layer": "top",
"position": "left",
"reload_style_on_change": true,
"width": 44,
"style": "~/.config/waybar/style.css",
"margin-left": 0,
"margin-right": 0,
"margin-top": 0,
"margin-bottom": 0,
"spacing": 0,
"gtk-layer-shell": true,
"output": [
"HDMI-A-1",
"eDP-1"
],
"modules-left": [
"custom/power",
"hyprland/workspaces",
"mpris",
"wlr/taskbar"
],
"modules-center": [
"clock"
],
"modules-right": [
"pulseaudio/slider",
//"backlight",
"bluetooth",
"network",
"battery",
"pipewire"
],
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 14,
"icon-theme": "Numix-Circle",
"tooltip-format": "{title}",
"on-click": "",
"on-click-middle": "close"
},
"custom/power": {
"format": " ",
"on-click": "pypr menu \" Power\"",
"tooltip": false
},
"clock": {
"format": "{:%H\n──\n%M}",
//"rotate": 90,
"tooltip": false
},
"hyprland/workspaces": {
"on-scroll-up": "hyprctl eval 'hl.dispatch(hl.dsp.focus({ workspace = \"-1\" }))'",
"on-scroll-down": "hyprctl eval 'hl.dispatch(hl.dsp.focus({ workspace = \"+1\" }))'",
"active-only": false,
"all-outputs": true,
"format": "{name}",
"tooltip": false
},
"pulseaudio/slider": {
"min": 0,
"max": 100,
"orientation": "vertical"
},
"mpris": {
"format": "{artist}-{title}",
"format-playing": " {artist}-{title}",
"format-paused": " {artist}-{title}",
"rotate": 90,
"max-length": 20,
"min-length": 10,
"on-click": "playerctl play-pause",
"on-scroll-up": "playerctl previous",
"on-scroll-down": "playerctl next",
"tooltip": false
},
"battery": {
"states": {
"good": 60,
"warning": 30,
"critical": 15
},
"format": "{icon}",
"format-alt": " {icon}\n{capacity}%",
"format-plugged": "{}",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"tooltip": false
},
"network": {
"format-wifi": " {icon}",
"format-ethernet": "",
"format-icons": [
" ",
" ",
" ",
" "
],
"format-disconnected": "",
"on-click": "hyprltm-net",
"interval": 3,
"tooltip": false
},
"bluetooth": {
"format": "{icon}",
"format-icons": [
"",
"",
"",
"",
""
],
"format-connected-battery": "",
"tooltip": false,
"on-click": "~/.config/hypr/scripts/bluetooth.sh"
},
"backlight": {
"device": "intel_backlight",
"format-alt": "{icon}",
"format": " {icon}\n{percent}",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"tooltip": false,
"on-click-right": "~/.config/waybar/scripts/sunset-toggle.sh"
},
"wireplumber": {
"format": "{icon}",
"format-alt": " {icon}\n{volume}",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"format-muted": "",
"max-volume": 99,
"on-click-right": "wpctl set-mute @ toggle",
"on-click-middle": "blueman-manager"
},
"custom/volume": {
"exec": "~/.config/waybar/scripts/volume.sh",
"interval": 3600,
"return-type": "json",
"format": "{}",
"signal": 8,
"tooltip": false,
"on-click": "wpctl set-mute @ toggle",
"on-click-middle": "blueman-manager",
"on-scroll-up": "wpctl set-volume @ 1%+ && pkill -RTMIN+8 waybar",
"on-scroll-down": "wpctl set-volume u/DEFAULT_AUDIO_SINK@ 1%- && pkill -RTMIN+8 waybar"
},
}@ 1%- && pkill -RTMIN+8 waybar"
},
}