diff options
Diffstat (limited to 'dotfiles/hyprland/.config')
| -rw-r--r-- | dotfiles/hyprland/.config/waybar/config | 8 | ||||
| -rw-r--r-- | dotfiles/hyprland/.config/waybar/style.css | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config index 2ae43fe..97fb3b7 100644 --- a/dotfiles/hyprland/.config/waybar/config +++ b/dotfiles/hyprland/.config/waybar/config @@ -18,6 +18,7 @@ "custom/netspeed", "pulseaudio", "custom/touchpad", + "custom/airplane", "idle_inhibitor", "custom/pocketbook", "tray", @@ -149,6 +150,13 @@ "on-click": "toggle-touchpad" }, + "custom/airplane": { + "exec": "waybar-airplane", + "return-type": "json", + "signal": 10, + "on-click": "airplane-mode" + }, + "idle_inhibitor": { "format": "<span size='large'>{icon}</span>", "format-icons": { diff --git a/dotfiles/hyprland/.config/waybar/style.css b/dotfiles/hyprland/.config/waybar/style.css index 3a849c5..cd158d0 100644 --- a/dotfiles/hyprland/.config/waybar/style.css +++ b/dotfiles/hyprland/.config/waybar/style.css @@ -77,6 +77,7 @@ window#waybar { #custom-worldclock, #custom-layout, #custom-touchpad, +#custom-airplane, #window { padding: 0.45rem; margin: 0.3rem; @@ -98,6 +99,7 @@ window#waybar { #pulseaudio:hover, #sysmonitor:hover, #custom-touchpad:hover, +#custom-airplane:hover, #custom-layout:hover { background-color: #474544; border-radius: 1rem; @@ -112,6 +114,10 @@ window#waybar { color: #d47c59; } +#custom-airplane.active { + color: #d7af5f; +} + #temperature.warning { color: #d7af5f; } |
