From eba4fe6f4d78c42a0cd7c9240b8a98bc0bf62f6a Mon Sep 17 00:00:00 2001 From: murat Date: Sun, 5 Jan 2025 22:40:27 +0300 Subject: [PATCH] added waybar dotfiles --- .../dotfiles/waybar/.config/waybar/config | 100 ++++++++++++++++++ .../dotfiles/waybar/.config/waybar/style.css | 75 +++++++++++++ 2 files changed, 175 insertions(+) create mode 100644 hyprland-gruvbox/dotfiles/waybar/.config/waybar/config create mode 100644 hyprland-gruvbox/dotfiles/waybar/.config/waybar/style.css diff --git a/hyprland-gruvbox/dotfiles/waybar/.config/waybar/config b/hyprland-gruvbox/dotfiles/waybar/.config/waybar/config new file mode 100644 index 0000000..f1b2f5a --- /dev/null +++ b/hyprland-gruvbox/dotfiles/waybar/.config/waybar/config @@ -0,0 +1,100 @@ +{ + "position": "top", + "reload_style_on_change": true, + "layer": "top", + + "height": 36, + "margin-top": 5, + "margin-left": 5, + "margin-right": 5, + + "modules-left": [ + "hyprland/workspaces", + ], + + "modules-center": [ + "hyprland/window" + ], + + "modules-right": [ + "custom/notification", + "network", + "bluetooth", + "pulseaudio", + "tray", + "clock", + "clock#time", + "custom/power" + ], + + + "hyprland/window": { + "format": "{}", + }, + + "hyprland/workspaces": { + "format": "{icon}", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + }, + + "network": { + "format-wifi": " {essid} ", + "format-ethernet": " {ifname}", + "format-linked": " {ifname} (No IP)", + "format": " Connected", + "format-disconnected": " Disconnected", + "interval": 60, + "on-click":"~/.config/rofi/rofi-wifi-menu.sh" + }, + + "clock": { + "format": " {:%A %e %B}" + }, + "clock#time": { + "format": " {:%H:%M}" + }, + + "bluetooth":{ + "format-on": " Turned On", + "format-off": " Turned Off", + "format-disabled": " Disabled", + "format-connected": " Connected", + "format": " Disabled", + "on-click":"blueman-manager &" + }, + + "custom/power":{ + "format":"", + "on-click":"~/.config/rofi/powermenu/type-1/powermenu.sh" + }, + + "custom/notification":{ + "format": "󱅫", + "on-click": "swaync-client -t -sw" + }, + + "tray": { + "icon-size": 18, + "spacing": 10 + }, + + "pulseaudio": { + "format": "{icon} {volume}%", + "tooltip": false, + "format-muted": " Muted", + "on-click": "pamixer -t", + "on-scroll-up": "pamixer -i 1", + "on-scroll-down": "pamixer -d 1", + "scroll-step": 5, + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""], + }, + }, +} diff --git a/hyprland-gruvbox/dotfiles/waybar/.config/waybar/style.css b/hyprland-gruvbox/dotfiles/waybar/.config/waybar/style.css new file mode 100644 index 0000000..3cbfb01 --- /dev/null +++ b/hyprland-gruvbox/dotfiles/waybar/.config/waybar/style.css @@ -0,0 +1,75 @@ +* { + font-size: 13px; + font-family: "IBM Plex Sans Medium"; + color: #ebdbb2; +} + +#waybar { + background: transparent; + border-radius: 5px; +} + +#workspaces { + border-radius: 5px; + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6); /* Daha yumuşak gölge */ +} + +#workspaces, +#window, +#pulseaudio, +#network, +#backlight, +#wireplumber, +#clock, +#battery, +#idle_inhibitor, +#custom-lizzy, +#bluetooth, +#custom-power, +#tray, +#custom-notification { + margin-left: 5px; + margin-right: 5px; + background: #282828; + border-radius: 5px; + padding-left: 10px; + padding-right: 10px; +} + +#network, +#wireplumber, +#backlight, +#bluetooth { + margin: 0px; +} + +#backlight, +#bluetooth { + border-radius: 0px; +} + +#wireplumber { + border-radius: 0px 5px 5px 0px; +} + +#idle_inhibitor, +#clock, +#workspaces, +#custom-lizzy, +#custom-power, +#battery, +#custom-notification { + border-radius: 5px; +} + +#idle_inhibitor.activated { + color: #e74c3c; /* Kırmızı tonlarında vurgulama */ +} + +#custom-power { + color: #b16286; /* Mor tonu */ + margin-right: 10px; + padding-right: 14px; +} + +