diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..bb724dc --- /dev/null +++ b/.zshrc @@ -0,0 +1,128 @@ +# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. +# Initialization code that may require console input (password prompts, [y/n] +# confirmations, etc.) must go above this block; everything else may go below. +if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then + source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" +fi + +# If you come from bash you might have to change your $PATH. +export PATH=$HOME/bin:$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH + +# Path to your oh-my-zsh installation. +export ZSH="$HOME/.oh-my-zsh" + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time oh-my-zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +# ZSH_THEME="robbyrussell" +ZSH_THEME="powerlevel10k/powerlevel10k" + +# Set list of themes to pick from when loading at random +# Setting this variable when ZSH_THEME=random will cause zsh to load +# a theme from this variable instead of looking in $ZSH/themes/ +# If set to an empty array, this variable will have no effect. +# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) + +# Uncomment the following line to use case-sensitive completion. +# CASE_SENSITIVE="true" + +# Uncomment the following line to use hyphen-insensitive completion. +# Case-sensitive completion must be off. _ and - will be interchangeable. +# HYPHEN_INSENSITIVE="true" + +# Uncomment one of the following lines to change the auto-update behavior +# zstyle ':omz:update' mode disabled # disable automatic updates +# zstyle ':omz:update' mode auto # update automatically without asking +# zstyle ':omz:update' mode reminder # just remind me to update when it's time + +# Uncomment the following line to change how often to auto-update (in days). +# zstyle ':omz:update' frequency 13 + +# Uncomment the following line if pasting URLs and other text is messed up. +# DISABLE_MAGIC_FUNCTIONS="true" + +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" + +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +# ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# You can also set it to another string to have that shown instead of the default red dots. +# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" +# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# You can set one of the optional three formats: +# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# or set a custom format using the strftime function format specifications, +# see 'man strftime' for details. +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? +# Standard plugins can be found in $ZSH/plugins/ +# Custom plugins may be added to $ZSH_CUSTOM/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=(git colored-man-pages eza z sudo zsh-autosuggestions fast-syntax-highlighting) + +source $ZSH/oh-my-zsh.sh + +# User configuration + +# export MANPATH="/usr/local/man:$MANPATH" + +# You may need to manually set your language environment +# export LANG=en_US.UTF-8 + +# Preferred editor for local and remote sessions +# if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +# else +# export EDITOR='mvim' +# fi + +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" + +alias sshkoko="TERM=xterm-256color ssh ywang2020@koko-login.hpc.fau.edu" +alias wakemac="wakeonlan 18:C0:4D:8D:56:0E" +alias ls="eza --icons=auto" +alias githashselector="git log --oneline | gum filter | cut -d' ' -f1" +alias bat="bat --paging=never" + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh + +eval $(thefuck --alias) +eval "$(fzf --zsh)" + +# ----------------------------------------------------- +# PYWAL +# ----------------------------------------------------- +cat ~/.cache/wal/sequences + +export EDITOR=nvim diff --git a/waybar/themes/custom/colored/style.css b/waybar/themes/custom/colored/style.css index f440400..172a833 100644 --- a/waybar/themes/custom/colored/style.css +++ b/waybar/themes/custom/colored/style.css @@ -13,4 +13,35 @@ @define-color textcolor3 #FFFFFF; @define-color iconcolor #FFFFFF; + @define-color base #1e1e2e; + @define-color mantle #181825; + @define-color crust #11111b; + + @define-color text #cdd6f4; + @define-color subtext0 #a6adc8; + @define-color subtext1 #bac2de; + + @define-color surface0 #313244; + @define-color surface1 #45475a; + @define-color surface2 #585b70; + + @define-color overlay0 #6c7086; + @define-color overlay1 #7f849c; + @define-color overlay2 #9399b2; + + @define-color blue #89b4fa; + @define-color lavender #b4befe; + @define-color sapphire #74c7ec; + @define-color sky #89dceb; + @define-color teal #94e2d5; + @define-color green #a6e3a1; + @define-color yellow #f9e2af; + @define-color peach #fab387; + @define-color maroon #eba0ac; + @define-color red #f38ba8; + @define-color mauve #cba6f7; + @define-color pink #f5c2e7; + @define-color flamingo #f2cdcd; + @define-color rosewater #f5e0dc; + @import '../style.css'; \ No newline at end of file diff --git a/waybar/themes/custom/config b/waybar/themes/custom/config index d4a4ae5..96579d0 100644 --- a/waybar/themes/custom/config +++ b/waybar/themes/custom/config @@ -1,73 +1,70 @@ -// __ __ _ -// \ \ / /_ _ _ _| |__ __ _ _ __ -// \ \ /\ / / _` | | | | '_ \ / _` | '__| -// \ V V / (_| | |_| | |_) | (_| | | -// \_/\_/ \__,_|\__, |_.__/ \__,_|_| -// |___/ -// -// by Stephan Raabe (2023) -// ----------------------------------------------------- -// +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ + +// ### DEFAULT Top -Laptop ### // { - // General Settings - - // Position TOP + "include": "~/dotfiles/waybar/themes/custom/modules.json", "layer": "top", - "margin-bottom": 0, + //"mode": "dock", + "exclusive": true, + "passthrough": false, + "position": "top", + "spacing": 3, + "fixed-center": true, + "ipc": true, + "margin-top": 3, + "margin-left": 8, + "margin-right": 8, - // Position BOTTOM - // "position": "bottom", - // "margin-top": 0, - // "margin-bottom": 14, - - "layer": "top", - "margin-left": 0, - "margin-right": 0, - "spacing": 0, - - // Load Modules - "include": ["~/dotfiles/waybar/themes/custom/modules.json"], - - // Modules Left "modules-left": [ - "custom/appmenu", - "custom/settings", - "custom/waybarthemes", - "custom/wallpaper", - // START TASK TOOGLE - // "wlr/taskbar", - // END TASK TOOGLE - "group/quicklinks", - "hyprland/window", - "custom/starter" - ], + "hyprland/workspaces#pacman", + "custom/separator#dot-line", + "cpu", + "custom/separator#dot-line", + "temperature", + "custom/separator#dot-line", + "memory", + "custom/separator#dot-line", + "custom/weather", + "custom/separator#blank_3", + "custom/cava_mviz", + ], - // Modules Center "modules-center": [ - "hyprland/workspaces" - ], - - // Modules Right - "modules-right": [ - "custom/updates", - "pulseaudio", - // START BT TOOGLE - "bluetooth", - // END BT TOOGLE - "battery", - // START NETWORK TOOGLE - "network", - // END NETWORK TOOGLE - "group/hardware", - "custom/cliphist", - // START IDLE TOOGLE + "custom/menu", + "custom/separator#dot-line", "idle_inhibitor", - // END IDLE TOOGLE - // START TRAY TOOGLE + "custom/separator#dot-line", + "clock", + "custom/separator#dot-line", + "custom/light_dark", + "custom/separator#dot-line", + "custom/lock", + //], + "custom/separator#dot-line", + "custom/hint", + ], + + "modules-right": [ + "network#speed", + "custom/separator#dot-line", + "custom/swaync", "tray", - // END TRAY TOOGLE - "custom/exit", - "custom/ml4w-welcome", - "clock" - ] -} + "mpris", + "custom/separator#dot-line", + "bluetooth", + "custom/separator#dot-line", + "battery", + "custom/separator#dot-line", + "backlight", + "custom/separator#dot-line", + "pulseaudio", + "custom/separator#dot-line", + "pulseaudio#microphone", + "custom/separator#dot-line", + "keyboard-state", + "custom/separator#dot-line", + "custom/keyboard", + "custom/separator#dot-line", + "custom/power", + ], + } \ No newline at end of file diff --git a/waybar/themes/custom/modules.json b/waybar/themes/custom/modules.json index 8644a83..e99dc63 100644 --- a/waybar/themes/custom/modules.json +++ b/waybar/themes/custom/modules.json @@ -1,330 +1,708 @@ -// __ __ _ _ -// | \/ | ___ __| |_ _| | ___ ___ -// | |\/| |/ _ \ / _` | | | | |/ _ \/ __| -// | | | | (_) | (_| | |_| | | __/\__ \ -// |_| |_|\___/ \__,_|\__,_|_|\___||___/ -// -// -// by Stephan Raabe (2023) -// ----------------------------------------------------- -// +//* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- *// +/* Waybar Modules */ + { - // Workspaces - "hyprland/workspaces" : { - "on-click": "activate", + // HYPRLAND WORKSPACES. CHOOSE as desired and place on waybar configs + // CIRCLES Style + "hyprland/workspaces": { "active-only": false, "all-outputs": true, - "format": "{}", - "format-icons": { - "urgent": "", - "active": "", - "default": "" - }, - "persistent-workspaces": { - "*": 5 - } - }, - - // Taskbar - "wlr/taskbar": { "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": " ๓ฐฎฏ ", + "default": "๓ฐŠ ", + "persistent": "๓ฐŠ ", + }, + }, + "hyprland/workspaces#kanji": { + "disable-scroll": true, + "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": "๏„Œ", + }, + }, + // GROUP + "group/motherboard": { + "orientation": "horizontal", + "modules": [ + "cpu", + "memory", + "temperature", + "disk", + ] + }, + "group/laptop": { + "orientation": "horizontal", + "modules": [ + "backlight", + "battery", + ] + }, + "group/audio": { + "orientation": "horizontal", + "modules": [ + "pulseaudio", + "pulseaudio#microphone", + ] + }, + "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, + }, + "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": "{icon} {capacity}%", + "format-charging": "๏ƒง {capacity}%", + "format-plugged": "๓ฑ˜– {capacity}%", + "format-alt-click": "click", + "format-full": "{icon} Full", + "format-alt": "{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}", + "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" + }, + "cpu": { + "format": "{usage}% ๓ฐ›", + "interval": 1, + "format-alt-click": "click", + "format-alt": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% ๓ฐ›", + "format-icons": [ + "โ–", "โ–‚", "โ–ƒ", "โ–„", "โ–…", "โ–†", "โ–‡", "โ–ˆ" + ], + "on-click-right": "gnome-system-monitor", + }, + "disk": { + "interval": 30, + //"format": "๓ฐ‹Š", + "path": "/", + //"format-alt-click": "click", + "format": "{percentage_used}% ๓ฐ‹Š", + //"tooltip": true, + "tooltip-format": "{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": 40, + "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": "{used:0.1f}G ๓ฐพ†", + "format-alt": "{percentage}% ๓ฐพ†", + "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'" + }, + "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} ๏„น {bandwidthUpBytes} ๏„บ {bandwidthDownBytes}", + "format-linked": "๓ฐˆ {ifname} (No IP)", + "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", + "tooltip-format-ethernet": "{ifname} ๓ฐŒ˜", + "tooltip-format-disconnected": "๓ฐŒ™ Disconnected", + "max-length": 50, + "format-icons": [ + "๓ฐคฏ", "๓ฐคŸ", "๓ฐคข", "๓ฐคฅ", "๓ฐคจ" + ] + }, + "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", + "max-length": 50, + "format-icons": [ + "๓ฐคฏ", "๓ฐคŸ", "๓ฐคข", "๓ฐคฅ", "๓ฐคจ" + ] + }, + "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#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": "{temperatureC}ยฐC {icon}", + "format": "{temperatureC}ยฐC {icon}", + "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": 15, + "all-outputs": false, "tooltip-format": "{title}", "on-click": "activate", "on-click-middle": "close", "ignore-list": [ - "Alacritty" - ], - "app_ids-mapping": { - "firefoxdeveloperedition": "firefox-developer-edition" - }, - "rewrite": { - "Firefox Web Browser": "Firefox", - "Foot Server": "Terminal" - } + "wofi", + "rofi", + ] }, - - // Hyprland Window - "hyprland/window": { - "rewrite": { - "(.*) - Brave": "$1", - "(.*) - Chromium": "$1", - "(.*) - Brave Search": "$1", - "(.*) - Outlook": "$1", - "(.*) Microsoft Teams": "$1" - }, - "separate-outputs": true + "custom/cycle_wall": { + "format": "๏€พ ", + "exec": "echo ; echo ๓ฐธ‰ wallpaper select", + "on-click": "~/.config/hypr/UserScripts/WallpaperSelect.sh", + "on-click-right": "~/.config/hypr/UserScripts/WallpaperRandom.sh", + "on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh", + "interval": 86400, // once every day + "tooltip": true, }, - - // Cliphist - "custom/cliphist": { - "format": "๏ƒช", - "on-click": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh", - "on-click-right": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh d", - "on-click-middle": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh w", - "tooltip": false + "custom/hint": { + "format": "๓ฐบ HINT!", + "exec": "echo ; echo ๏€ Key Hints SUPER H", + "on-click": "~/.config/hypr/scripts/KeyHints.sh", + "interval": 86400, // once every day + "tooltip": true, }, - - // Updates Count - "custom/updates": { - "format": "๏‚ซ {}", - "tooltip-format": "{}", - "escape": true, - "return-type": "json", - "exec": "~/dotfiles/scripts/updates.sh", - "restart-interval": 60, - "on-click": "alacritty -e ~/dotfiles/scripts/installupdates.sh", - "tooltip": false + "custom/keyboard": { + "exec": "cat ~/.cache/kb_layout", + "interval": 1, + "format": "๏„œ {}", + "on-click": "~/.config/hypr/scripts/SwitchKeyboardLayout.sh", }, - - // Theme Starter Label - "custom/starter": { - "format": "THEME STARTER", - "tooltip": false + "custom/light_dark": { + "format": "๓ฐ”Ž{}", + "exec": "echo ; echo ๓ฐ”Ž Dark-Light switcher", + "on-click": "~/.config/hypr/scripts/DarkLight.sh", + "on-click-right": "~/.config/hypr/scripts/WaybarStyles.sh", + "on-click-middle": "~/.config/hypr/UserScripts/WallpaperSelect.sh", + "interval": 86400, // once every day + "tooltip": true }, - - // Wallpaper - "custom/wallpaper": { - "format": "๏€พ", - "on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select", - "on-click-right": "~/dotfiles/hypr/scripts/wallpaper.sh", - "tooltip": false + "custom/lock": { + "format": "๓ฐŒพ{}", + "exec": "echo ; echo ๓ฐท› screen lock", + "interval": 86400, // once every day + "tooltip": true, + "on-click": "~/.config/hypr/scripts/LockScreen.sh", }, - - // Waybar Themes - "custom/waybarthemes": { - "format": "๏…", - "on-click": "~/dotfiles/waybar/themeswitcher.sh", - "tooltip": false + "custom/menu": { + "format": "๏™{}", + "exec": "echo ; echo ๓ฑ“Ÿ app launcher", + "interval": 86400, // once every day + "tooltip": true, + "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", }, - - // Settings - "custom/settings": { - "format": "๏€“", - "on-click": "alacritty --class dotfiles-floating -e ~/dotfiles/hypr/settings/settings.sh", - "tooltip": false + // This is a custom cava visualizer + "custom/cava_mviz": { + "exec": "~/.config/hypr/scripts/WaybarCava.sh", + "format": "{}" }, - - // Keybindings - "custom/keybindings": { - "format": "๏„œ", - "on-click": "~/dotfiles/hypr/scripts/keybindings.sh", - "tooltip": false + "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, }, - - // Filemanager Launcher - "custom/filemanager": { - "format": "๏ป", - "on-click": "thunar", - "tooltip": false + "custom/power": { + "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, }, - - // Browser Launcher - "custom/browser": { - "format": "๏‹", - "on-click": "~/dotfiles/.settings/browser.sh", - "tooltip": false - }, - - // ML4W Welcome App - "custom/ml4w-welcome": { - "on-click": "~/dotfiles/apps/ML4W_Welcome-x86_64.AppImage", - "format": " ", - "tooltip": false - }, - - // ChatGPT Launcher - "custom/chatgpt": { - "format": "๏™", - "on-click": "chromium --app=https://chat.openai.com", - "tooltip": false - }, - - // Rofi Application Launcher - "custom/appmenu": { - "format": "Apps", - "on-click": "rofi -show drun -replace", - "on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh", - "tooltip": false - }, - - // Power Menu - "custom/exit": { - "format": "๏€‘", - "on-click": "wlogout", - "tooltip": false - }, - - // Keyboard State - "keyboard-state": { - "numlock": true, - "capslock": true, - "format": "{name} {icon}", + "custom/swaync": { + "tooltip": true, + "format": "{icon} {}", "format-icons": { - "locked": "๏€ฃ", - "unlocked": "๏‚œ" - } + "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, }, - - // System tray - "tray": { - // "icon-size": 21, - "spacing": 10 + // 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'", }, - - // Clock - "clock": { - // "timezone": "America/New_York", - "tooltip-format": "{:%Y %B}\n{calendar}", - "format-alt": "{:%Y-%m-%d}" + "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, }, - - // System - "custom/system": { - "format": "๎‘ณ", + // Separators + "custom/separator#dot": { + "format": "๏‘„", + "interval": "once", "tooltip": false }, - - // CPU - "cpu": { - "format": "/ C {usage}% ", - "on-click": "alacritty -e htop" + "custom/separator#dot-line": { + "format": "๎˜ก", + "interval": "once", + "tooltip": false }, - - // Memory - "memory": { - "format": "/ M {}% ", - "on-click": "alacritty -e htop" + "custom/separator#line": { + "format": "|", + "interval": "once", + "tooltip": false }, - - // Harddisc space used - "disk": { - "interval": 30, - "format": "D {percentage_used}% ", - "path": "/", - "on-click": "alacritty -e htop" - }, - - "hyprland/language": { - "format": "/ K {short}" + "custom/separator#blank": { + "format": "", + "interval": "once", + "tooltip": false }, - - // Group Hardware - "group/hardware": { - "orientation": "inherit", - "drawer": { - "transition-duration": 300, - "children-class": "not-memory", - "transition-left-to-right": false - }, - "modules": [ - "custom/system", - "disk", - "cpu", - "memory", - "hyprland/language" - ] + "custom/separator#blank_2": { + "format": " ", + "interval": "once", + "tooltip": false }, - - // Group Settings - "group/settings": { - "orientation": "inherit", - "drawer": { - "transition-duration": 300, - "children-class": "not-memory", - "transition-left-to-right": false - }, - "modules": [ - "custom/settings", - "custom/waybarthemes", - "custom/wallpaper" - ] + "custom/separator#blank_3": { + "format": " ", + "interval": "once", + "tooltip": false }, - - // Group Quicklinks - "group/quicklinks": { - "orientation": "horizontal", - "modules": [ - "custom/filemanager", - "custom/browser" - ] + // 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}%", }, - - // Network - "network": { - "format": "{ifname}", - "format-wifi": "๏‡ซ {signalStrength}%", - "format-ethernet": "๏ž– {ipaddr}", - "format-disconnected": "Not connected", //An empty format will hide the module. - "tooltip-format": "๏ž– {ifname} via {gwaddri}", - "tooltip-format-wifi": "๏‡ซ {essid} ({signalStrength}%)", - "tooltip-format-ethernet": "๏ƒ {ifname} ({ipaddr}/{cidr})", - "tooltip-format-disconnected": "Disconnected", - "max-length": 50, - "on-click": "alacritty -e nmtui" + "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": "{}", + } + } }, - - // Battery - "battery": { - "states": { - // "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "{icon} {capacity}%", - "format-charging": "๏—ง {capacity}%", - "format-plugged": "๏‡ฆ {capacity}%", - "format-alt": "{icon} {time}", - // "format-good": "", // An empty format will hide the module - // "format-full": "", - "format-icons": ["๏‰„ ", "๏‰ƒ ", "๏‰‚ ", "๏‰ ", "๏‰€ "] + "cpu#vertical": { + "format": "๓ฐ›\n{usage}%", + "interval": 1, + "on-click-right": "gnome-system-monitor", }, - - // Pulseaudio - "pulseaudio": { - // "scroll-step": 1, // %, can be a float - "format": "{icon} {volume}%", - "format-bluetooth": "{volume}% {icon}๏Š” {format_source}", - "format-bluetooth-muted": "๏šฉ {icon}๏Š” {format_source}", - "format-muted": "๏šฉ {format_source}", - "format-source": "{volume}% ๏„ฐ", - "format-source-muted": "๏„ฑ", + "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": "๏–", + "hands-free": "๏€ฅ", + "headset": "๏€ฅ", "phone": "๏‚•", "portable": "๏‚•", "car": "๏†น", - "default": ["๏€ฆ", "๏€จ ", "๏€จ "] + "default": [ + "๏€ฆ", "๏€ง", "๓ฐ•พ", "๏€จ" + ], + "tooltip-format": "{icon} {desc} | {volume}%", + "ignored-sinks": [ + "Easy Effects Sink" + ], }, - "on-click": "pavucontrol" + "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, }, - - // Bluetooth - "bluetooth": { - "format-disabled": "", - "format-off": "", - "interval": 30, - "on-click": "blueman-manager", - "format-no-controller": "" - }, - - // Other - "user": { - "format": "{user}", - "interval": 60, - "icon": false, - }, - - // Idle Inhibator - "idle_inhibitor": { - "format": "{icon}", + "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, - "format-icons":{ - "activated": "๏", - "deactivated": "๏€ฃ" - }, - "on-click-right": "hyprlock" - } -} + "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, + }, +} \ No newline at end of file diff --git a/waybar/themes/custom/style.css b/waybar/themes/custom/style.css index fd877a2..8f783eb 100644 --- a/waybar/themes/custom/style.css +++ b/waybar/themes/custom/style.css @@ -1,430 +1,314 @@ -/* - * __ __ _ ____ _ _ - * \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___ - * \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \ - * \ V V / (_| | |_| | |_) | (_| | | ___) | |_| |_| | | __/ - * \_/\_/ \__,_|\__, |_.__/ \__,_|_| |____/ \__|\__, |_|\___| - * |___/ |___/ - * - * by Stephan Raabe (2023) - * ----------------------------------------------------- -*/ - -/* ----------------------------------------------------- - * Import Pywal colors - * ----------------------------------------------------- */ -/* @import 'style-light.css'; */ -/* @define-color backgroundlight #FFFFFF; -@define-color backgrounddark #FFFFFF; -@define-color workspacesbackground1 #FFFFFF; -@define-color workspacesbackground2 #CCCCCC; -@define-color bordercolor #FFFFFF; -@define-color textcolor1 #000000; -@define-color textcolor2 #000000; -@define-color textcolor3 #FFFFFF; -@define-color iconcolor #FFFFFF; */ - -/* ----------------------------------------------------- - * General - * ----------------------------------------------------- */ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Catppuccin Mocha */ * { - font-family: "Fira Sans Semibold", FontAwesome, Roboto, Helvetica, Arial, sans-serif; - border: none; - border-radius: 0px; -} - -window#waybar { - background-color: rgba(0,0,0,0.2); - border-bottom: 0px solid #ffffff; - /* color: #FFFFFF; */ - transition-property: background-color; - transition-duration: .5s; -} - -/* ----------------------------------------------------- - * Workspaces - * ----------------------------------------------------- */ - -#workspaces { - margin: 5px 1px 6px 1px; - padding: 0px 1px; - border-radius: 15px; - border: 0px; + font-family: "JetBrainsMono Nerd Font"; font-weight: bold; - font-style: normal; - font-size: 16px; - color: @textcolor1; -} - -#workspaces button { - padding: 0px 5px; - margin: 4px 3px; - border-radius: 15px; - border: 0px; - color: @textcolor3; - transition: all 0.3s ease-in-out; -} - -#workspaces button.active { - color: @textcolor1; - background: @workspacesbackground2; - border-radius: 15px; - min-width: 40px; - transition: all 0.3s ease-in-out; -} - -#workspaces button:hover { - color: @textcolor1; - background: @workspacesbackground2; - border-radius: 15px; -} - -/* ----------------------------------------------------- - * Tooltips - * ----------------------------------------------------- */ - -tooltip { - border-radius: 10px; - background-color: @backgroundlight; - opacity:0.8; - padding:20px; - margin:0px; -} - -tooltip label { - color: @textcolor2; -} - -/* ----------------------------------------------------- - * Window - * ----------------------------------------------------- */ - -#window { - background: @backgroundlight; - margin: 10px 15px 10px 0px; - padding: 2px 10px 0px 10px; - border-radius: 12px; - color:@textcolor2; - font-size:16px; - font-weight:normal; -} - -window#waybar.empty #window { - background-color:transparent; -} - -/* ----------------------------------------------------- - * Taskbar - * ----------------------------------------------------- */ - -#taskbar { - background: @backgroundlight; - margin: 6px 15px 6px 0px; - padding:0px; - border-radius: 15px; - font-weight: normal; - font-style: normal; - border: 3px solid @backgroundlight; -} - -#taskbar button { - margin:0; - border-radius: 15px; - padding: 0px 5px 0px 5px; -} - -/* ----------------------------------------------------- - * Modules - * ----------------------------------------------------- */ - -.modules-left > widget:first-child > #workspaces { - margin-left: 0; -} - -.modules-right > widget:last-child > #workspaces { - margin-right: 0; -} - -/* ----------------------------------------------------- - * Custom Quicklinks - * ----------------------------------------------------- */ - -#custom-brave, -#custom-browser, -#custom-keybindings, -#custom-outlook, -#custom-filemanager, -#custom-teams, -#custom-chatgpt, -#custom-calculator, -#custom-windowsvm, -#custom-cliphist, -#custom-wallpaper, -#custom-settings, -#custom-wallpaper, -#custom-system, -#custom-waybarthemes { - margin-right: 23px; - font-size: 20px; - font-weight: bold; - color: @iconcolor; -} - - #custom-waybarthemes,#custom-system { - margin-right:15px; - } - - - #custom-ml4w-welcome { - margin-right: 15px; - background-image: url("../assets/ml4w-icon.png"); - background-repeat: no-repeat; - background-position: center; - padding-right: 24px; -} - -/* ----------------------------------------------------- - * Idle Inhibator - * ----------------------------------------------------- */ - - #idle_inhibitor { - margin-right: 15px; - font-size: 22px; - font-weight: bold; - opacity: 0.8; - color: @iconcolor; -} - -#idle_inhibitor.activated { - margin-right: 15px; - font-size: 20px; - font-weight: bold; - opacity: 0.8; - color: #dc2f2f; -} - -/* ----------------------------------------------------- - * Custom Modules - * ----------------------------------------------------- */ - -#custom-appmenu { - background-color: @backgrounddark; - font-size: 16px; - color: @textcolor1; - border-radius: 15px; - padding: 2px 10px 0px 10px; - margin: 10px 15px 10px 10px; -} - -/* ----------------------------------------------------- - * Custom Exit - * ----------------------------------------------------- */ - -#custom-exit { - margin: 0px 20px 0px 0px; - padding:0px; - font-size:20px; - color: @iconcolor; -} - -/* ----------------------------------------------------- - * Custom Updates - * ----------------------------------------------------- */ - -#custom-updates { - background-color: @backgroundlight; - font-size: 16px; - color: @textcolor2; - border-radius: 15px; - padding: 2px 10px 0px 10px; - margin: 10px 15px 10px 0px; -} - -#custom-updates.green { - background-color: @backgroundlight; -} - -#custom-updates.yellow { - background-color: #ff9a3c; - color: #FFFFFF; -} - -#custom-updates.red { - background-color: #dc2f2f; - color: #FFFFFF; -} - -/* ----------------------------------------------------- - * Custom Youtube - * ----------------------------------------------------- */ - -#custom-youtube { - background-color: @backgroundlight; - font-size: 16px; - color: @textcolor2; - border-radius: 15px; - padding: 2px 10px 0px 10px; - margin: 10px 15px 10px 0px; -} - -/* ----------------------------------------------------- - * Hardware Group - * ----------------------------------------------------- */ - - #disk,#memory,#cpu,#language { - margin:0px; - padding:0px; - font-size:16px; - color:@iconcolor; -} - -#language { - margin-right:10px; -} - -/* ----------------------------------------------------- - * Clock - * ----------------------------------------------------- */ - -#clock { - background-color: @backgrounddark; - font-size: 16px; - color: @textcolor1; - border-radius: 15px; - padding: 2px 10px 0px 10px; - margin: 10px 15px 10px 0px; -} - -/* ----------------------------------------------------- - * Pulseaudio - * ----------------------------------------------------- */ - -#pulseaudio { - background-color: @backgroundlight; - font-size: 16px; - color: @textcolor2; - border-radius: 15px; - padding: 2px 10px 0px 10px; - margin: 10px 15px 10px 0px; -} - -#pulseaudio.muted { - background-color: @backgrounddark; - color: @textcolor1; -} - -/* ----------------------------------------------------- - * Network - * ----------------------------------------------------- */ - -#network { - background-color: @backgroundlight; - font-size: 16px; - color: @textcolor2; - border-radius: 15px; - padding: 2px 10px 0px 10px; - margin: 10px 15px 10px 0px; -} - -#network.ethernet { - background-color: @backgroundlight; - color: @textcolor2; -} - -#network.wifi { - background-color: @backgroundlight; - color: @textcolor2; -} - -/* ----------------------------------------------------- - * Bluetooth - * ----------------------------------------------------- */ - - #bluetooth, #bluetooth.on, #bluetooth.connected { - background-color: @backgroundlight; - font-size: 16px; - color: @textcolor2; - border-radius: 15px; - padding: 2px 10px 0px 10px; - margin: 10px 15px 10px 0px; -} - -#bluetooth.off { - background-color: transparent; - padding: 0px; - margin: 0px; -} - -/* ----------------------------------------------------- - * Battery - * ----------------------------------------------------- */ - -#battery { - background-color: @backgroundlight; - font-size: 16px; - color: @textcolor2; - border-radius: 15px; - padding: 2px 15px 0px 10px; - margin: 10px 15px 10px 0px; -} - -#battery.charging, #battery.plugged { - color: @textcolor2; - background-color: @backgroundlight; -} - -@keyframes blink { - to { - background-color: @backgroundlight; - color: @textcolor2; + min-height: 0; + /* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ + font-size: 97%; + font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"'; + padding: 1px; } -} - -#battery.critical:not(.charging) { - background-color: #f53c3c; - color: @textcolor3; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} - -/* ----------------------------------------------------- - * Tray - * ----------------------------------------------------- */ - -#tray { - background-color: #2980b9; -} - -#tray > .passive { - -gtk-icon-effect: dim; -} - -#tray > .needs-attention { - -gtk-icon-effect: highlight; - background-color: #eb4d4b; -} - -/* ----------------------------------------------------- - * Other - * ----------------------------------------------------- */ - -label:focus { - background-color: #000000; -} - -#backlight { - background-color: #90b1b1; -} - -#network { - background-color: #2980b9; -} - -#network.disconnected { - background-color: #f53c3c; -} - + + window#waybar { + transition-property: background-color; + transition-duration: 0.5s; + background: transparent; + /*border: 2px solid @overlay0;*/ + /*background: @theme_base_color;*/ + border-radius: 10px; + } + + window#waybar.hidden { + opacity: 0.2; + } + + #waybar.empty #window { + background: none; + } + + /* This section can be use if you want to separate waybar modules */ + .modules-left, .modules-center, .modules-right { + background: @theme_base_color; + border: 0.5px solid @overlay0; + padding-top: 2px; + padding-bottom: 2px; + padding-right: 4px; + padding-left: 4px; + border-radius: 10px; + + } + + .modules-left, .modules-right { + border: 1px solid @blue; + padding-top: 2px; + padding-bottom: 2px; + padding-right: 4px; + padding-left: 4px; + } + + #backlight, + #backlight-slider, + #battery, + #bluetooth, + #clock, + #cpu, + #disk, + #idle_inhibitor, + #keyboard-state, + #memory, + #mode, + #mpris, + #network, + #pulseaudio, + #pulseaudio-slider, + #taskbar button, + #taskbar, + #temperature, + #tray, + #window, + #wireplumber, + #workspaces, + #custom-backlight, + #custom-cycle_wall, + #custom-hint, + #custom-keyboard, + #custom-light_dark, + #custom-lock, + #custom-menu, + #custom-power_vertical, + #custom-power, + #custom-swaync, + #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 { + padding-top: 3px; + padding-bottom: 3px; + padding-right: 6px; + padding-left: 6px; + } + + #idle_inhibitor { + color: @blue; + } + + #bluetooth, + #backlight { + color: @blue; + } + + #battery { + color: @green; + } + + @keyframes blink { + to { + color: @surface0; + } + } + + #battery.critical:not(.charging) { + background-color: @red; + color: @theme_text_color; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; + box-shadow: inset 0 -3px transparent; + } + + #clock { + color: @yellow; + } + + #cpu { + color: @green; + } + + #custom-keyboard, + #memory { + color: @sky; + } + + #disk { + color: @sapphire; + } + + #temperature { + color: @teal; + } + + #temperature.critical { + background-color: @red; + } + + #tray > .passive { + -gtk-icon-effect: dim; + } + #tray > .needs-attention { + -gtk-icon-effect: highlight; + } + + #keyboard-state { + color: @flamingo; + } + + #workspaces button { + box-shadow: none; + text-shadow: none; + padding: 0px; + border-radius: 9px; + padding-left: 4px; + padding-right: 4px; + animation: gradient_f 20s ease-in infinite; + transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682); + } + + #workspaces button:hover { + border-radius: 10px; + color: @overlay0; + background-color: @surface0; + padding-left: 2px; + padding-right: 2px; + animation: gradient_f 20s ease-in infinite; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); + } + + #workspaces button.persistent { + color: @surface1; + border-radius: 10px; + } + + #workspaces button.active { + color: @peach; + border-radius: 10px; + padding-left: 8px; + padding-right: 8px; + animation: gradient_f 20s ease-in infinite; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); + } + + #workspaces button.urgent { + color: @red; + border-radius: 0px; + } + + #taskbar button.active { + padding-left: 8px; + padding-right: 8px; + animation: gradient_f 20s ease-in infinite; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); + } + + #taskbar button:hover { + padding-left: 2px; + padding-right: 2px; + animation: gradient_f 20s ease-in infinite; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); + } + + #custom-cava_mviz { + color: @pink; + } + + #custom-menu { + color: @rosewater; + } + + #custom-power { + color: @red; + } + + #custom-updater { + color: @red; + } + + #custom-light_dark { + color: @blue; + } + + #custom-weather { + color: @lavender; + } + + #custom-lock { + color: @maroon; + } + + #pulseaudio { + color: @sapphire; + } + + #pulseaudio.bluetooth { + color: @pink; + } + #pulseaudio.muted { + color: @red; + } + + #window { + color: @mauve; + } + + #custom-waybar-mpris { + color:@lavender; + } + + #network { + color: @teal; + } + #network.disconnected, + #network.disabled { + background-color: @surface0; + color: @text; + } + #pulseaudio-slider slider { + min-width: 0px; + min-height: 0px; + opacity: 0; + background-image: none; + border: none; + box-shadow: none; + } + + #pulseaudio-slider trough { + min-width: 80px; + min-height: 5px; + border-radius: 5px; + } + + #pulseaudio-slider highlight { + min-height: 10px; + border-radius: 5px; + } + + #backlight-slider slider { + min-width: 0px; + min-height: 0px; + opacity: 0; + background-image: none; + border: none; + box-shadow: none; + } + + #backlight-slider trough { + min-width: 80px; + min-height: 10px; + border-radius: 5px; + } + + #backlight-slider highlight { + min-width: 10px; + border-radius: 5px; + } \ No newline at end of file