diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2023-11-05 14:02:06 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2023-11-05 14:02:06 +0900 |
| commit | a153022b7d457466db9140c62dc5564f9de7a3af (patch) | |
| tree | f3eeb3a6d892373678f7d86b3b095583d82aeb96 /config/waybar | |
| parent | 3fa5c6a5973d0cec5801f5b46da87e8ff2b7ee90 (diff) | |
changes for new Hyprland-Dots
Diffstat (limited to 'config/waybar')
| -rw-r--r-- | config/waybar/configs/config-default | 16 | ||||
| -rw-r--r-- | config/waybar/modules | 41 | ||||
| -rw-r--r-- | config/waybar/style/style-pywal.css | 158 |
3 files changed, 189 insertions, 26 deletions
diff --git a/config/waybar/configs/config-default b/config/waybar/configs/config-default index 2174d512..4cc3955c 100644 --- a/config/waybar/configs/config-default +++ b/config/waybar/configs/config-default @@ -42,18 +42,22 @@ //"hyprland/window", "tray", "custom/separator#dot-line", - //"cava", - "battery", - "custom/separator#dot-line", - "backlight", + "bluetooth", "custom/separator#dot-line", + //"network", + //"custom/separator#dot-line", + //"cava", + //"battery", + //"custom/separator#dot-line", + //"backlight", + //"custom/separator#dot-line", "pulseaudio", "custom/separator#dot-line", //"wireplumber", "pulseaudio#microphone", "custom/separator#dot-line", - //"keyboard-state", - //"custom/separator#dot-line", + "keyboard-state", + "custom/separator#dot-line", "custom/power", ], } diff --git a/config/waybar/modules b/config/waybar/modules index e23066e0..7de38d0a 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -41,17 +41,18 @@ "tooltip": true, "tooltip-format": "{timeTo} {power}w", "on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh", - "on-click-right": "$HOME/.config/hypr/scripts/WofiPower.sh", + "on-click-right": "$HOME/.config/hypr/scripts/Wlogout.sh", }, "bluetooth": { - "format": "", - "format-disabled": "", // an empty format will hide the module - "format-connected": " {num_connections}", + "format": "", + "format-disabled": "", + "format-connected": " {num_connections}", "tooltip-format": " {device_alias}", "tooltip-format-connected": "{device_enumerate}", "tooltip-format-enumerate-connected": " {device_alias} {device_battery_percentage}%", - "tooltip": true + "tooltip": true, + "on-click": "blueman-manager", }, "cava": { @@ -163,7 +164,7 @@ "9": "", "10": "10", "focused": "", - "default": "", + "default": "", }, "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1", @@ -210,7 +211,7 @@ "format-alt-click": "click", "tooltip": true, "tooltip-format": "{used:0.1f}GB/{total:0.1f}G", - "on-click-right": "foot --title btop sh -c 'btop'" + "on-click-right": "kitty --title btop sh -c 'btop'" }, "network": { @@ -229,7 +230,7 @@ "pulseaudio": { "format": "{icon}", - "format-bluetooth": "{icon} {volume}%", + "format-bluetooth": "{icon} {volume}%", "format-muted": "", "format-icons": { "headphone": "", @@ -264,12 +265,12 @@ "interval": 10, "tooltip": false, //"hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input", - "thermal-zone": 0, + "thermal-zone": 2, "critical-threshold": 82, "format-critical": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}", - "format-icons": [""], - "on-click-right": "foot --title nvtop sh -c 'nvtop'" + "format-icons": [""], + "on-click-right": "kitty --title nvtop sh -c 'nvtop'" }, "tray": { @@ -295,7 +296,8 @@ "on-click": "activate", "on-click-middle": "close", "ignore-list": [ - "wofi" + "wofi", + "rofi", ] }, @@ -329,9 +331,9 @@ "custom/menu": { "format": "", "tooltip": false, - "on-click": "$HOME/.config/hypr/scripts/Wofi.sh", + "on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser", "on-click-right": "$HOME/.config/hypr/scripts/ChangeLayoutMenu.sh", - "on-click-middle": "~/.config/hypr/scripts/Wallpaper.sh swaybg", + "on-click-middle": "~/.config/hypr/scripts/Wallpaper.sh swww", }, "custom/playerctl": { @@ -356,8 +358,7 @@ "exec": "checkupdates | wc -l", "exec-if": "[[ $(checkupdates | wc -l) ]]", "interval": 15, - "on-click": "foot -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'", - "on-click-right": "~/.config/hypr/scripts/WallpaperSwitch.sh", + "on-click": "kitty -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'", }, "custom/weather": { @@ -440,7 +441,7 @@ "format-alt-click": "click", "tooltip": true, "tooltip-format": "{used:0.1f}GB/{total:0.1f}G", - "on-click-right": "foot --title btop sh -c 'btop'", + "on-click-right": "kitty --title btop sh -c 'btop'", }, "pulseaudio#microphone_vertical": { @@ -464,14 +465,14 @@ "critical-threshold": 80, "format-critical": "{icon}\n{temperatureC}°C", "format": " {icon}", - "format-icons": [""], - "on-click-right": "foot --title nvtop sh -c 'nvtop'" + "format-icons": [""], + "on-click-right": "kitty --title nvtop sh -c 'nvtop'" }, "custom/power_vertical": { "format": "⏻", "tooltip": false, - "on-click": "$HOME/.config/hypr/scripts/WofiPower.sh", + "on-click": "$HOME/.config/hypr/scripts/Wlogout.sh", "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", }, } diff --git a/config/waybar/style/style-pywal.css b/config/waybar/style/style-pywal.css new file mode 100644 index 00000000..3c9645ab --- /dev/null +++ b/config/waybar/style/style-pywal.css @@ -0,0 +1,158 @@ +*{ +font-family: "JetBrainsMono Nerd Font"; +font-weight: bold; +min-height: 0; +/* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ +font-size: 98%; +font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"'; +padding: 1px; +margin-top: 1px; +margin-bottom: 1px; +} + + +@import '../../.cache/wal/colors-waybar.css'; + +window#waybar { + background: rgba(0, 0, 0, 0); +} + +window#waybar.hidden { + opacity: 0.5; +} + +window#waybar.empty { + background-color: transparent; +} + +window#waybar.empty #window { + padding: 0px; + margin: 0px; + border: 0px; + /* background-color: rgba(66,66,66,0.5); */ /* transparent */ + background-color: transparent; +} + +tooltip { + background: rgba(0, 0, 0, 0.6); + border-radius: 10px; +} + +tooltip label { + color: @color11; + margin-right: 2px; + margin-left: 2px; +} + +/*-----module groups----*/ +.modules-right { + background-color: rgba(0, 0, 0, 0.4); + border: 0px solid #b4befe; + border-radius: 10px; +} + +.modules-center { + background-color: rgba(0, 0, 0, 0.4); + border: 0px solid #b4befe; + border-radius: 10px; +} + +.modules-left { + background-color: rgba(0, 0, 0, 0.4); + border: 0px solid #b4befe; + border-radius: 10px; + +} + +#workspaces button { + color: @color11; +} + +#workspaces button.active { + color: @color2; + border-radius: 15px 15px 15px 15px; +} + +#workspaces button.focused { + color: @color1; +} + +#workspaces button.urgent { + color: #11111b; + border-radius: 10px; +} + +#workspaces button:hover { + color: @color5; + border-radius: 15px; +} + +#backlight, +#battery, +#bluetooth, +#cava, +#clock, +#cpu, +#disk, +#idle_inhibitor, +#keyboard-state label, +#keyboard-state label.locked, +#keyboard-state, +#memory, +#mode, +#mpd, +#network, +#pulseaudio, +#taskbar button, +#taskbar, +#temperature, +#tray, +#window, +#wireplumber, +#workspaces, +#custom-cycle_wall, +#custom-light_dark, +#custom-lock, +#custom-menu, +#custom-power_vertical, +#custom-power, +#custom-spotify, +#custom-updater, +#custom-weather, +#custom-weather.clearNight, +#custom-weather.cloudyFoggyDay, +#custom-weather.cloudyFoggyNight, +#custom-weather.default +#custom-weather.rainyDay, +#custom-weather.rainyNight, +#custom-weather.severe, +#custom-weather.showyIcyDay, +#custom-weather.snowyIcyNight, +#custom-weather.sunnyDay { + color: @color11; + padding: 1px 4px; + border-radius: 8px; +} + +#temperature.critical { + background-color: #ff0000; +} + +@keyframes blink { + to { + color: #000000; + } +} + +#taskbar button.active { + background-color: #7f849c; +} + +#battery.critical:not(.charging) { + color: #f53c3c; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +}
\ No newline at end of file |
