From 3117c7290574a3661cf14a403b7b30f984883fcc Mon Sep 17 00:00:00 2001 From: DevNChill <169875752+DevNChill@users.noreply.github.com> Date: Wed, 28 Aug 2024 18:19:30 +0530 Subject: Added new style module , style and config for waybar everforest themed --- config/waybar/configs/customforeverforest | 58 ++ config/waybar/moduletweaked | 872 ++++++++++++++++++++++++++++++ config/waybar/style/everforest.css | 224 ++++++++ 3 files changed, 1154 insertions(+) create mode 100644 config/waybar/configs/customforeverforest create mode 100644 config/waybar/moduletweaked create mode 100644 config/waybar/style/everforest.css diff --git a/config/waybar/configs/customforeverforest b/config/waybar/configs/customforeverforest new file mode 100644 index 00000000..e58aba03 --- /dev/null +++ b/config/waybar/configs/customforeverforest @@ -0,0 +1,58 @@ +/* ---- đŸ’Ģ https://github.com/JaKooLit đŸ’Ģ ---- */ + +// ### Minimal - Long ### // + +{ +"include": "~/.config/waybar/modules", +"layer": "top", +//"mode": "dock", +"exclusive": true, +"passthrough": false, +"position": "top", +//"spacing": 6, +"fixed-center": true, +"ipc": true, +//"margin-top": 3, +//"margin-left": 8, +//"margin-right": 8, + +"modules-left": [ + "custom/arch", + "custom/separator#blank_2", + "hyprland/workspaces#rw", + "custom/separator#blank_2", +// "mpris", + "custom/swaync", + "tray", + ], +"modules-center": [ + "clock", + "idle_inhibitor", + ], +"modules-right": [ + "group/motherboard", + "custom/separator#blank_2", + "group/laptop", + "custom/separator#blank_2", + "group/audio", + ], + "custom/arch": { + "format":" ", + "tooltip": false, + "on-click": "rofi -show drun" + }, + "clock": { + "format": "{:%A %d.%m.%Y - %H:%M}", + "tooltip-format": "{:%Y %B}\n{calendar}", + "calendar-weeks-pos": "right", + "today-format": "{}", + "format-calendar": "{}", + "format-calendar-weeks": "W{:%V}", + "format-calendar-weekdays": "{}", + "on-scroll": { + "calendar": 1 + } + }, + +} + diff --git a/config/waybar/moduletweaked b/config/waybar/moduletweaked new file mode 100644 index 00000000..4c162433 --- /dev/null +++ b/config/waybar/moduletweaked @@ -0,0 +1,872 @@ +/* Waybar Modules */ +//Everforest themed + +{ +// HYPRLAND WORKSPACES. CHOOSE as desired and place on waybar configs +// CIRCLES Style +"hyprland/workspaces": { + "active-only": false, + "all-outputs": true, + "format": "{icon}", + "show-special": false, + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "persistent-workspaces": { + "1": [], + "2": [], + "3": [], + "4": [], + "5": [], + }, + "format-icons": { + "active": "", + "default": "ī„Œ", + }, +}, +// ROMAN Numerals style +"hyprland/workspaces#roman": { + "active-only": false, + "all-outputs": true, + "format": "{icon}", + "show-special": false, + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "persistent-workspaces": { + "1": [], + "2": [], + "3": [], + "4": [], + "5": [], + }, + "format-icons": { + "1": "I", + "2": "II", + "3": "III", + "4": "IV", + "5": "V", + "6": "VI", + "7": "VII", + "8": "VIII", + "9": "IX", + "10": "X", + }, +}, +// PACMAN Style +"hyprland/workspaces#pacman": { + "active-only": false, + "all-outputs": true, + "format": "{icon}", + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "show-special": false, + "persistent-workspaces": { + "1": [], + "2": [], + "3": [], + "4": [], + "5": [], + }, + "format": "{icon}", + "format-icons": { + "active": "ķ°Ž¯", + "empty": "ī„‘", + "default": "ķ°Š ", + }, +}, +// Kanji / Japanese style +"hyprland/workspaces#kanji": { + "disable-scroll": true, + "show-special": false, + "all-outputs": true, + "format": "{icon}", + "persistent-workspaces": { + "1": [], + "2": [], + "3": [], + "4": [], + "5": [], + }, + "format-icons": { + "1": "一", + "2": "äēŒ", + "3": "三", + "4": "四", + "5": "äē”", + "6": "六", + "7": "七", + "8": "å…Ģ", + "9": "䚝", + "10": "十", + } +}, +// NUMBERS and ICONS style +"hyprland/workspaces#4": { + "format": "{name}", + "format": " {name} {icon} ", + //"format": " {icon} ", + "show-special": false, + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "all-outputs": true, + "sort-by-number": true, + "format-icons": { + "1": "ī„  ", + "2": "ī‰Š ", + "3": "īŧ ", + "4": " ", + "5": "ī†ļ ", + "6": " ", + "7": "ī‡ŋ", + "8": " ", + "9": "", + "10": "10", + "focused": "", + "default": "ī„Œ", + }, +}, +// NUMBERS and ICONS style with window rewrite +"hyprland/workspaces#rw": { + "disable-scroll": true, + "all-outputs": true, + "warp-on-scroll": false, + "sort-by-number": true, + "show-special": false, + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "format": "{icon} {windows}", + "format-window-separator": " ", + "window-rewrite-default": " ", + "window-rewrite": { + "title<.*youtube.*>": "ī…Ē ", + "title<.*amazon.*>": " ", + "title<.*reddit.*>": " ", + "title<.*Picture-in-Picture.*>": "ī”Ŧ ", + "class": "ī‰Š ", + "class": " ", + "class": " ", + "class": " ", + "class<[Ss]potify>": " ", + "class": "ķ°¨ž", + "class": "ī„  ", + "class": "ķ°° ", + "class": "ī‡ŋ ", + "class": "ī‡ŋ ", + "class": "ķ°…ŗ ", + "class": "ī€Ŋ ", + "class": "ķ°Ž† ", + "class": "ķ°¨ž ", + "class": "ķ°¨ž ", + "class": "ķ°…Š ", + "class": "ī…œ ", + "class": "îšĨ ", + "class": "ķ°† ", + "class": " " + } +}, +// for Camilla or Spanish +"hyprland/workspaces#cam": { + "active-only":false, + "all-outputs": true, + "format": "{icon}", + "show-special": false, + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "persistent-workspaces":{ + "1": [], + "2": [], + "3": [], + "4": [], + "5": [] + }, + "format-icons": { + "1": "Uno", + "2": "Due", + "3": "Tre", + "4": "Quattro", + "5": "Cinque", + "6":"Sei", + "7":"Sette", + "8":"Otto", + "9":"Nove", + "10":"Dieci" + } +}, +// GROUP +"group/motherboard": { + "orientation": "horizontal", + "modules": [ + "cpu", + "memory", + "temperature", + "disk", + ] +}, +"group/mobo_drawer": { + "orientation": "inherit", + "drawer": { + "transition-duration": 500, + "children-class": "cpu", + "transition-left-to-right": true + }, + "modules": [ + "temperature", + "cpu", + "memory", + "disk", + ] +}, +"group/laptop": { + "orientation": "inherit", + "modules": [ + "backlight", + "battery", + ] +}, +"group/audio": { + "orientation": "inherit", + "drawer": { + "transition-duration": 500, + "children-class": "pulseaudio", + "transition-left-to-right": true + }, + "modules": [ + "pulseaudio", + "pulseaudio#microphone", + ] +}, +"group/connections": { + "orientation": "inherit", + "drawer": { + "transition-duration": 500, + "children-class": "bluetooth", + "transition-left-to-right": true + }, + "modules": [ + "network", + "bluetooth", + ] +}, +"backlight": { + "interval": 2, + "align": 0, + "rotate": 0, + //"format": "{icon} {percent}%", + "format-icons": [ + " ", + " ", + " ", + "ķ°ƒ ", + "ķ°ƒž ", + "ķ°ƒŸ ", + "ķ°ƒ  " + ], + "format": "{icon}", + //"format-icons": ["","","","","","","","","","","","","","îĸ","îŖ"], + "tooltip-format": "backlight {percent}%", + "icon-size": 10, + "on-click": "", + "on-click-middle": "", + "on-click-right": "", + "on-update": "", + "on-scroll-up": "~/.config/hypr/scripts/Brightness.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec", + "smooth-scrolling-threshold": 1, +}, +"backlight#2": { + "device": "intel_backlight", + "format": "{icon} {percent}%", + "format-icons": ["", "ī„‘"] +}, +"battery": { + //"interval": 5, + "align": 0, + "rotate": 0, + //"bat": "BAT1", + //"adapter": "ACAD", + "full-at": 100, + "design-capacity": false, + "states": { + "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "Battery {icon} {capacity}%", + "format-charging": "Battery  {capacity}%", + "format-plugged": "Battery ķą˜– {capacity}%", + "format-alt-click": "click", + "format-full": "Battery {icon} Full", + "format-alt": "Battery {icon} {time}", + "format-icons": [ + "ķ°‚Ž", "ķ°ē", "ķ°ģ", "ķ°ŧ", "ķ°Ŋ", "ķ°ž", "ķ°ŋ", "ķ°‚€", "ķ°‚", "ķ°‚‚", "ķ°š" + ], + "format-time": "{H}h {M}min", + "tooltip": true, + "tooltip-format": "{timeTo} {power}w", + "on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh", + "on-click-right": "~/.config/hypr/scripts/Wlogout.sh", +}, +"bluetooth": { + "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, + "on-click": "blueman-manager", +}, +"clock": { + "interval": 1, + "format": " {:%I:%M %p}", // AM PM format + //"format": " {:%H:%M:%S}", // 24H + "format-alt": " {:%H:%M  %Y, %d %B, %A}", + "tooltip-format": "{calendar}", + "calendar": { + "mode": "year", + "mode-mon-col": 3, + "weeks-pos": "right", + "on-scroll": 1, + "format": { + "months": "{}", + "days": "{}", + "weeks": "W{}", + "weekdays": "{}", + "today": "{}" + } + } +}, +"actions": { + "on-click-right": "mode", + "on-click-forward": "tz_up", + "on-click-backward": "tz_down", + "on-scroll-up": "shift_up", + "on-scroll-down": "shift_down" +}, +"clock#2": { + "format": " {:%I:%M %p}", // AM PM format + //"format": " {:%H:%M}", // 24H + "format-alt": "{:%A | %H:%M | %e %B}", + "tooltip-format": "{:%Y %B}\n{calendar}" +}, +"clock#3": { + "format": "{:%I:%M %p - %d/%b}", //for AM/PM + //"format": "{:%H:%M - %d/%b}", // 24H + "tooltip": false +}, +"clock#4": { + "interval": 60, + "format": "{:%B | %a %d, %Y | %I:%M %p}", // AM PM format + //"format": "{:%B | %a %d, %Y | %H:%M}", // 24H + "format-alt": "{:%a %b %d, %G}", + "tooltip-format": "{:%B %Y}\n{calendar}", +}, +"clock#5": { + "format": "{:%A, %I:%M %P}", // AM PM format + //"format": "{:%a %d | %H:%M}", // 24H + "format-alt": "{:%A, %d %B, %Y (%R)}" +}, +"cpu": { + "format": "Cpu ķ°› {usage}%", + "interval": 1, + "min-length": 5, + "format-alt-click": "click", + "format-alt": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% ķ°›", + "format-icons": [ + "▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" + ], + "on-click-right": "gnome-system-monitor", +}, +"disk": { + "interval": 30, + //"format": "Disk ķ°‹Š", + "path": "/", + //"format-alt-click": "click", + "format": "Disk ķ°‹Š {used}", + "on-click-right": "baobab", +// "tooltip": true, +// "tooltip-format": "Disk {used} used out of {total} on {path} ({percentage_used}%)", +}, +"hyprland/language": { + "format": "Lang: {}", + "format-en": "US", + "format-tr": "Korea", + "keyboard-name": "at-translated-set-2-keyboard", + "on-click": "hyprctl switchxkblayout $SET_KB next" +}, +"hyprland/submap": { + "format": "īŒž {}", // Icon: expand-arrows-alt + "tooltip": false, +}, +"hyprland/window": { + "format": "{}", + "max-length": 20, + "separate-outputs": true, + "offscreen-css": true, + "offscreen-css-text": "(inactive)", + "rewrite": { + "(.*) — Mozilla Firefox": "ī‰Š $1", + "(.*) - fish": "> [$1]", + "(.*) - zsh": "> [$1]", + "(.*) - $term": "> [$1]", + }, +}, +"idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "īˆ… ", + "deactivated": "īˆ„ ", + } +}, +"keyboard-state": { + //"numlock": true, + "capslock": true, + "format": { + "numlock": "N {icon}", + "capslock": "ķ°Ē› {icon}", + }, + "format-icons": { + "locked": "", + "unlocked": "ī‚œ" + }, +}, +"memory": { + "interval": 10, + "format": "Ram ķ°ž† {used:0.1f}G", + "format-alt": "Ram {percentage}% ķ°ž†", + "format-alt-click": "click", + "tooltip": true, + "tooltip-format": "Ram {used:0.1f}GB/{total:0.1f}G", + "on-click-right": "kitty --title btop sh -c 'btop'" +}, +"mpris": { + "interval": 10, + "format": "{player_icon} ", + "format-paused": "{status_icon} {dynamic}", + "on-click-middle": "playerctl play-pause", + "on-click": "playerctl previous", + "on-click-right": "playerctl next", + "scroll-step": 5.0, + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "smooth-scrolling-threshold": 1, + "player-icons": { + "chromium": "", + "default": "ī€", + "firefox": "ī‰Š", + "kdeconnect": "", + "mopidy": "", + "mpv": "ķ°š", + "spotify": "ķ°“‡", + "vlc": "ķ°•ŧ", + }, + "status-icons": { + "paused": "ķ°Ž", + "playing": "", + "stopped": "ī", + }, + // "ignored-players": ["firefox"] + "max-length": 30, +}, +"network": { + "format": "{ifname}", + "format-wifi": "{icon}", + "format-ethernet": "ķ°Œ˜", + "format-disconnected": "ķ°Œ™", + "tooltip-format": "{ipaddr} ī„š {bandwidthUpBits} ī„ē {bandwidthDownBits}", + "format-linked": "ķ°ˆ {ifname} (No IP)", + "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", + "tooltip-format-ethernet": "{ifname} ķ°Œ˜", + "tooltip-format-disconnected": "ķ°Œ™ Disconnected", + "max-length": 30, + "format-icons": [ + "ķ°¤¯", "ķ°¤Ÿ", "ķ°¤ĸ", "ķ°¤Ĩ", "ķ°¤¨" + ], + "on-click-right": "kitty nmtui" +}, +"network#speed": { + "interval": 1, + "format": "{ifname}", + "format-wifi": "{icon} ī„š {bandwidthUpBytes} ī„ē {bandwidthDownBytes}", + "format-ethernet": "ķ°Œ˜ ī„š {bandwidthUpBytes} ī„ē {bandwidthDownBytes}", + "format-disconnected": "ķ°Œ™", + "tooltip-format": "{ipaddr}", + "format-linked": "ķ°ˆ {ifname} (No IP)", + "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", + "tooltip-format-ethernet": "{ifname} ķ°Œ˜", + "tooltip-format-disconnected": "ķ°Œ™ Disconnected", + "min-length": 24, + "max-length": 24, + "format-icons": [ + "ķ°¤¯", "ķ°¤Ÿ", "ķ°¤ĸ", "ķ°¤Ĩ", "ķ°¤¨" + ] +}, +"power-profiles-daemon": { + "format": "{icon}", + "tooltip-format": "Power profile: {profile}\nDriver: {driver}", + "tooltip": true, + "format-icons": { + "default": "", + "performance": "", + "balanced": "ī‰Ž", + "power-saver": "īŦ" + } +}, +"pulseaudio": { + "format": "{icon} {volume}%", + "format-bluetooth": "{icon} ķ°‚° {volume}%", + "format-muted": "ķ°–", + "format-icons": { + "headphone": "ī€Ĩ", + "hands-free": "ī€Ĩ", + "headset": "", + "phone": "ī‚•", + "portable": "ī‚•", + "car": "ī†š", + "default": [ + "ī€Ļ", "", "ķ°•ž", "" + ], + "ignored-sinks": [ + "Easy Effects Sink" + ], + }, + "scroll-step": 5.0, + "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", + "on-click-right": "pavucontrol -t 3", + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "tooltip-format": "{icon} {desc} | {volume}%", + "smooth-scrolling-threshold": 1, +}, +"pulseaudio#1": { + "format": "{icon} {volume}%", + "format-bluetooth": "{icon}īŠ” {volume}%", + "format-bluetooth-muted": "īšŠ {icon}īŠ”", + "format-muted": "ķ°¸ˆ", + "format-icons": { + "headphone": "", + "hands-free": "ī€Ĩ", + "headset": "", + "phone": "ī‚•", + "portable": "ī‚•", + "car": "ī†š", + "default": ["ī€Ļ", "", ""] + }, + "on-click": "pamixer --toggle-mute", + "on-click-right": "pavucontrol -t 3", + "tooltip": true, + "tooltip-format": "{icon} {desc} | {volume}%", +}, +"pulseaudio#microphone": { + "format": "{format_source}", + "format-source": "ī„° {volume}%", + "format-source-muted": "ī„ą", + "on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic", + "on-click-right": "pavucontrol -t 4", + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", + "tooltip-format": "{source_desc} | {source_volume}%", + "scroll-step": 5, +}, +"temperature": { + "interval": 10, + "tooltip": true, + "hwmon-path": [ + "/sys/class/hwmon/hwmon1/temp1_input", + "/sys/class/thermal/thermal_zone0/temp" + ], + //"thermal-zone": 0, + "critical-threshold": 82, + "format-critical": "Temp {icon} {temperatureC}°C", + "format": "Temp {icon} {temperatureC}°C", + "format-icons": [ + " ķ°ˆ¸" + ], + "on-click-right": "kitty --title nvtop sh -c 'nvtop'" +}, +"tray": { + "icon-size": 18, + "spacing": 4, +}, +"wireplumber": { + "format": "{icon} {volume} %", + "format-muted": "ī‘Ļ Mute", + "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", + "on-click-right": "pavucontrol -t 3", + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "format-icons": [ + "ī€Ļ", "", "ķ°•ž", "" + ], +}, +"wlr/taskbar": { + "format": "{icon} {name}", + "icon-size": 16, + "all-outputs": false, + "tooltip-format": "{title}", + "on-click": "activate", + "on-click-middle": "close", + "ignore-list": [ + "wofi", + "rofi", + "kitty" + ], +}, +"custom/cycle_wall": { + "format": "ī€ž ", + "on-click": "~/.config/hypr/UserScripts/WallpaperSelect.sh", + "on-click-right": "~/.config/hypr/UserScripts/WallpaperRandom.sh", + "on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh", + "tooltip": true, + "tooltip-format": "Left Click: Wallpaper Menu\nMiddle Click: Random wallpaper\nRight Click: Waybar Styles Menu", +}, +"custom/hint": { + "format": "ķ°ē HINT!", + "on-click": "~/.config/hypr/scripts/KeyHints.sh", + "tooltip": true, + "tooltip-format": "ķą§Ŗ Quick Tips", +}, +"custom/keyboard": { + "exec": "cat ~/.cache/kb_layout", + "interval": 1, + "format": "ī„œ {}", + "on-click": "~/.config/hypr/scripts/SwitchKeyboardLayout.sh", +}, +"custom/light_dark": { + "format": "ķ°”Ž", + "on-click": "~/.config/hypr/scripts/DarkLight.sh", + "on-click-right": "~/.config/hypr/scripts/WaybarStyles.sh", + "on-click-middle": "~/.config/hypr/UserScripts/WallpaperSelect.sh", + "tooltip": true, + "tooltip-format": "Left Click: Switch Dark-Light Themes\nMiddle Click: Wallpaper Menu\nRight Click: Waybar Styles Menu", +}, +"custom/lock": { + "format": "ķ°Œž", + "on-click": "~/.config/hypr/scripts/LockScreen.sh", + "tooltip": true, + "tooltip-format": "ķ°ˇ› Screen Lock", + +}, +"custom/menu": { + "format": "ī™", + "on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser,window", + "on-click-middle": "~/.config/hypr/UserScripts/WallpaperSelect.sh", + "on-click-right": "~/.config/hypr/scripts/WaybarLayout.sh", + "tooltip": true, + "tooltip-format": "Left Click: Rofi Menu\nMiddle Click: Wallpaper Menu\nRight Click: Waybar Layout Menu", +}, +// This is a custom cava visualizer +"custom/cava_mviz": { + "exec": "~/.config/hypr/scripts/WaybarCava.sh", + "format": "{}" +}, +"custom/playerctl": { + "format": "{}", + "return-type": "json", + "max-length": 35, + "exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} ~ {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", + "on-click-middle": "playerctl play-pause", + "on-click": "playerctl previous", + "on-click-right": "playerctl next", + "scroll-step": 5.0, + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "smooth-scrolling-threshold": 1, +}, +"custom/power": { + "format": "âģ ", + "on-click": "~/.config/hypr/scripts/Wlogout.sh", + "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", + "tooltip": true, + "tooltip-format": "Left Click: Logout Menu\nRight Click: Change Blur", +}, +"custom/swaync": { + "tooltip": true, + "tooltip-format": "Left Click: Launch Notification Center\nRight Click: Do not Disturb", + "format": "{icon} {}", + "format-icons": { + "notification": "ī‚ĸī‘„", + "none": "ī‚ĸ", + "dnd-notification": "", + "dnd-none": "", + "inhibited-notification": "ī‚ĸī‘„", + "inhibited-none": "ī‚ĸ", + "dnd-inhibited-notification": "", + "dnd-inhibited-none": "" + }, + "return-type": "json", + "exec-if": "which swaync-client", + "exec": "swaync-client -swb", + "on-click": "sleep 0.1 && swaync-client -t -sw", + "on-click-right": "swaync-client -d -sw", + "escape": true, +}, +// NOTE:! This is only for Arch and Arch Based Distros depend: pacman-contrib +"custom/updater": { + "format": " {}", + "exec": "checkupdates | wc -l", + "exec-if": "[[ $(checkupdates | wc -l) ]]", + "interval": 15, + "on-click": "kitty -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'", + "tooltip": true, + "tooltip-format": "Left Click: Update System\nArch Linux Only", +}, +"custom/weather": { + "format": "{}", + "format-alt": "{alt}: {}", + "format-alt-click": "click", + "interval": 3600, + "return-type": "json", + "exec": "~/.config/hypr/UserScripts/Weather.sh", + //"exec": "~/.config/hypr/UserScripts/Weather.py", + "exec-if": "ping wttr.in -c1", + "tooltip": true, +}, +// Separators +"custom/separator#dot": { + "format": "ī‘„", + "interval": "once", + "tooltip": false +}, +"custom/separator#dot-line": { + "format": "", + "interval": "once", + "tooltip": false +}, +"custom/separator#line": { + "format": "|", + "interval": "once", + "tooltip": false +}, +"custom/separator#blank": { + "format": "", + "interval": "once", + "tooltip": false +}, +"custom/separator#blank_2": { + "format": " ", + "interval": "once", + "tooltip": false +}, +"custom/separator#blank_3": { + "format": " ", + "interval": "once", + "tooltip": false +}, +// Modules below are for vertical layout +"backlight#vertical": { + "interval": 2, + "align": 0.35, + "rotate": 1, + "format": "{icon}", + //"format-icons": ["ķ°ƒž", "ķ°ƒŸ", "ķ°ƒ "], + "format-icons": [ + "", "", "", "", "", "", "", "", "", "", "", "", "", "îĸ", "îŖ" + ], + "on-click": "", + "on-click-middle": "", + "on-click-right": "", + "on-update": "", + "on-scroll-up": "~/.config/hypr/scripts/Brightness.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec", + "smooth-scrolling-threshold": 1, + "tooltip-format": "{percent}%", +}, +"clock#vertical": { + "format": "\n{:%H\n%M\n%S\n\n \n%d\n%m\n%y}", + "interval": 1, + //"format": "\n{:%I\n%M\n%p\n\n \n%d\n%m\n%y}", + "tooltip": true, + "tooltip-format": "{calendar}", + "calendar": { + "mode": "year", + "mode-mon-col": 3, + "format": { + "today": "{}", + } + } +}, +"cpu#vertical": { + "format": "ķ°›\n{usage}%", + "interval": 1, + "on-click-right": "gnome-system-monitor", +}, +"memory#vertical": { + "interval": 10, + "format": "ķ°ž†\n{percentage}%", + "format-alt": "ķ°ž†\n{used:0.1f}G", + "format-alt-click": "click", + "tooltip": true, + "tooltip-format": "{used:0.1f}GB/{total:0.1f}G", + "on-click-right": "kitty --title btop sh -c 'btop'", +}, +"pulseaudio#vertical": { + "format": "{icon}", + "format-bluetooth": "ķ°‚°", + "format-muted": "ķ°–", + "format-icons": { + "headphone": "ī€Ĩ", + "hands-free": "ī€Ĩ", + "headset": "ī€Ĩ", + "phone": "ī‚•", + "portable": "ī‚•", + "car": "ī†š", + "default": [ + "ī€Ļ", "", "ķ°•ž", "" + ], + "tooltip-format": "{icon} {desc} | {volume}%", + "ignored-sinks": [ + "Easy Effects Sink" + ], + }, + "scroll-step": 5.0, + "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", + "on-click-right": "pavucontrol -t 3", + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "tooltip-format": "{icon} {desc} | {volume}%", + "smooth-scrolling-threshold": 1, +}, +"pulseaudio#microphone_vertical": { + "format": "{format_source}", + "format-source": "ķ°Ŧ", + "format-source-muted": "ķ°­", + "on-click-right": "pavucontrol", + "on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic", + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", + "max-volume": 100, + "tooltip": true, + "tooltip-format": "{source_desc} | {source_volume}%", +}, +"temperature#vertical": { + "interval": 10, + "tooltip": true, + "hwmon-path": [ + "/sys/class/hwmon/hwmon1/temp1_input", + "/sys/class/thermal/thermal_zone0/temp" + ], + //"thermal-zone": 0, + "critical-threshold": 80, + "format-critical": "{icon}\n{temperatureC}°C", + "format": " {icon}", + "format-icons": [ + "ķ°ˆ¸" + ], + "on-click-right": "kitty --title nvtop sh -c 'nvtop'" +}, +"custom/power_vertical": { + "format": "âģ", + "exec": "echo ; echo ķ°ŸĄ power // blur", + "on-click": "~/.config/hypr/scripts/Wlogout.sh", + "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", + "interval": 86400, // once every day + "tooltip": true, +}, +} + diff --git a/config/waybar/style/everforest.css b/config/waybar/style/everforest.css new file mode 100644 index 00000000..472893a3 --- /dev/null +++ b/config/waybar/style/everforest.css @@ -0,0 +1,224 @@ +@define-color bg_dim #232A2E; +@define-color black #000000; +@define-color white #FFFFFF; +@define-color bg0 #2D353B; +@define-color bg1 #343F44; +@define-color bg2 #3D484D; +@define-color bg3 #475258; +@define-color bg4 #4F585E; +@define-color bg5 #56635f; +@define-color bg_visual #543A48; +@define-color bg_red #514045; +@define-color bg_green #425047; +@define-color bg_blue #3A515D; +@define-color bg_yellow #4D4C43; +@define-color fg #D3C6AA; +@define-color red #E67E80; +@define-color orange #E69875; +@define-color yellow #DBBC7F; +@define-color green #A7C080; +@define-color aqua #83C092; +@define-color blue #7FBBB3; +@define-color purple #D699B6; +@define-color grey0 #7A8478; +@define-color grey1 #859289; +@define-color grey2 #9DA9A0; +* { + font-family: "JetBrainsMono Nerd Font"; + font-weight: bold; + min-height: 0; + /*font-size: 97%;*/ + font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"'; + border: 1px solid transparent; + border-radius: 0px; + margin: 0px 1px; +} + +window#waybar { + border: none; + /*background-color: @bg_green;*/ + background-color: @bg_green; + color: @fg; + transition-property: background-color; + transition-duration: 0.5s; +} + +.modules-left button:first-child { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; + margin-left: 5px; +} + +.modules-left button:last-child { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; + margin-right: 5px; +} + +#custom-arch { + background-color: @bg; + color: @red; +} + +#custom-swaync { + color: @yellow; +} +#workspaces button { + padding: 0px 5px; + background-color: @orange; + color: @black; +} + +#workspaces button.active { + background-color: @grey0; + color: @black; + animation: gradient_f 20s ease-in infinite; + /*transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);*/ +} +#workspaces button:hover { + background-color: @purple; + color: @black; +} + +#workspaces button.focused { + background-color: @green; + color: @bg0; +} + +#workspaces button.urgent { + background-color: @red; /* Keeps the original color */ + color: @white; /* Sets text color to white for better contrast */ + border: 2px solid @red; /* Adds a border with the same color */ + box-shadow: 0 0 10px @red; /* Adds a glow effect */ + font-weight: bold; /* Makes text bold for more emphasis */ + transition: + background-color 0.3s, + box-shadow 0.3s; /* Smooth transition for hover effect */ +} + +#window { + padding: 0px 10px; + margin: 0px 10px; + border-radius: 5px; + background-color: @bg0; +} +window#waybar.empty #window { + background: none; +} + +#cpu { + border-radius: 5px 0px 0px 5px; + padding: 0px 5px; + background-color: @yellow; + color: @bg_yellow; +} + +#memory { + padding: 0px 5px; + background-color: @yellow; + color: @bg_yellow; +} + +#temperature { + padding: 0px 5px; + background-color: @green; + color: @bg_yellow; +} +#temperature.critical { + background-color: @red; +} + +#disk { + border-radius: 0px 5px 5px 0px; + padding: 0px 5px; + margin-right: 5px; + background-color: @green; + color: @bg_yellow; +} + +#battery { + border-radius: 5px 0px 0px 5px; +} +#battery.bat2 { + border-radius: 0px 5px 5px 0px; +} + +.modules-left :last-child { + border-radius: 0px 5px 5px 0px; +} +#battery { + padding: 0px 5px; + background-color: @aqua; + color: @bg_yellow; +} +#battery.plugged { + color: @fg; + background-color: @bg_green; +} +#battery.charging { + color: @fg; + background-color: @bg_green; +} +#battery.critical:not(.charging) { + background-color: @red; + color: @fg; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} +@keyframes blink { + to { + background-color: @fg; + color: @bg_dim; + } +} + +#backlight { + border-radius: 5px 0px 0px 5px; + padding: 0px 5px; + margin-left: 5px; + background-color: @red; + color: @black; +} + +#pulseaudio { + padding: 0px 5px; + border-radius: 0px 5px 5px 0px; + background-color: @blue; + color: @bg_yellow; +} + +#pulseaudio.muted { + background-color: @grey1; + color: @bg_yellow; +} + +#tray { + padding: 0px 5px; + border-radius: 5px; + margin-left: 5px; + color: @fg; + background-color: @bg0; +} + +#idle_inhibitor { + padding: 0px 5px; + border-radius: 5px; + margin-left: 5px; + background-color: @blue; + color: @black; +} +#idle_inhibitor.activated { + background-color: @fg; + color: @bg0; +} + +#clock { + padding: 0px 5px; + border-radius: 5px; + margin: 0px 5px; + color: @bg_yellow; + background-color: @aqua; +} -- cgit v1.2.3