init: copy from Hacmini

This commit is contained in:
wyj
2024-09-14 10:42:47 -04:00
commit 1df22c6512
384 changed files with 18925 additions and 0 deletions
+63
View File
@@ -0,0 +1,63 @@
#!/bin/bash
# ____ _ _ __ __ _
# / ___|| |_ __ _ _ __| |_ \ \ / /_ _ _ _| |__ __ _ _ __
# \___ \| __/ _` | '__| __| \ \ /\ / / _` | | | | '_ \ / _` | '__|
# ___) | || (_| | | | |_ \ V V / (_| | |_| | |_) | (_| | |
# |____/ \__\__,_|_| \__| \_/\_/ \__,_|\__, |_.__/ \__,_|_|
# |___/
# by Stephan Raabe (2023)
# -----------------------------------------------------
export LANG=en_US.UTF-8
# Check if waybar-disabled file exists
if [ -f $HOME/.cache/waybar-disabled ]; then
killall waybar
pkill waybar
exit 1
fi
# -----------------------------------------------------
# Quit all running waybar instances
# -----------------------------------------------------
killall waybar
pkill waybar
sleep 0.2
# -----------------------------------------------------
# Default theme: /THEMEFOLDER;/VARIATION
# -----------------------------------------------------
themestyle="/meow-gentoo;/meow-gentoo/colored"
# -----------------------------------------------------
# Get current theme information from .cache/.themestyle.sh
# -----------------------------------------------------
if [ -f ~/.cache/.themestyle.sh ]; then
themestyle=$(cat ~/.cache/.themestyle.sh)
else
touch ~/.cache/.themestyle.sh
echo "$themestyle" >~/.cache/.themestyle.sh
fi
IFS=';' read -ra arrThemes <<<"$themestyle"
echo "Theme: ${arrThemes[0]}"
if [ ! -f ~/dotfiles/waybar/themes${arrThemes[1]}/style.css ]; then
themestyle="/ml4w;/ml4w/light"
fi
# -----------------------------------------------------
# Loading the configuration
# -----------------------------------------------------
config_file="config.jsonc"
style_file="style.css"
# Standard files can be overwritten with an existing config-custom or style-custom.css
if [ -f ~/dotfiles/waybar/themes${arrThemes[0]}/config-custom ]; then
config_file="config-custom"
fi
if [ -f ~/dotfiles/waybar/themes${arrThemes[1]}/style-custom.css ]; then
style_file="style-custom.css"
fi
waybar -c ~/dotfiles/waybar/themes${arrThemes[0]}/$config_file -s ~/dotfiles/waybar/themes${arrThemes[1]}/$style_file &
+395
View File
@@ -0,0 +1,395 @@
// __ __ _ _
// | \/ | ___ __| |_ _| | ___ ___
// | |\/| |/ _ \ / _` | | | | |/ _ \/ __|
// | | | | (_) | (_| | |_| | | __/\__ \
// |_| |_|\___/ \__,_|\__,_|_|\___||___/
//
//
// by Stephan Raabe (2023)
// -----------------------------------------------------
//
{
// Workspaces
"hyprland/workspaces" : {
"on-scroll-up": "hyprctl dispatch workspace r-1",
"on-scroll-down": "hyprctl dispatch workspace r+1",
"on-click": "activate",
"active-only": false,
"all-outputs": true,
"format": "{}",
"format-icons": {
"urgent": "",
"active": "",
"default": ""
},
"persistent-workspaces": {
"*": 5
}
},
// Taskbar
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 18,
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": [
"Alacritty",
"alacritty-dropterm"
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
},
"rewrite": {
"Firefox Web Browser": "Firefox",
"Foot Server": "Terminal"
}
},
// Hyprland Window
"hyprland/window": {
"rewrite": {
"(.*) - Brave": "$1",
"(.*) - Chromium": "$1",
"(.*) - Brave Search": "$1",
"(.*) - Outlook": "$1",
"(.*) Microsoft Teams": "$1"
},
"separate-outputs": true
},
// ML4W Welcome App
"custom/ml4w-welcome": {
"on-click": "sleep 0.1 && ~/dotfiles/eww/ml4w-sidebar/launch.sh",
"on-click-right": "sleep 0.1 && ~/dotfiles/apps/ML4W_Welcome-x86_64.AppImage",
"format": " ",
"tooltip-format": "Open Sidebar"
},
// ML4W Welcome App
"custom/ml4w-hyprland-settings": {
"on-click": "~/dotfiles/apps/ML4W_Hyprland_Settings-x86_64.AppImage",
"format": " ",
"tooltip-format": "ML4W Hyprland Settings"
},
// Empty
"custom/empty": {
"format": ""
},
// Youtube Subscriber Count
"custom/youtube": {
"format": " {}",
"exec": "python ~/private/youtube.py",
"restart-interval": 600,
"on-click": "chromium https://studio.youtube.com",
"tooltip": false
},
// 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-format": "Clipboard Manager"
},
// Updates Count
"custom/updates": {
"format": " {}",
"escape": true,
"return-type": "json",
"exec": "~/dotfiles/scripts/updates.sh",
"restart-interval": 60,
"on-click": "alacritty --class dotfiles-floating -e ~/dotfiles/scripts/installupdates.sh"
},
// Wallpaper
"custom/wallpaper": {
"format": "",
"on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select",
"on-click-right": "~/dotfiles/hypr/scripts/wallpaper-effects.sh",
"tooltip-format": "Left: Select a wallpaper\nRight: Select wallpaper effect"
},
// Waybar Themes
"custom/waybarthemes": {
"format": "",
"on-click": "~/dotfiles/waybar/themeswitcher.sh",
"tooltip-format": "Select a waybar theme"
},
// Settings
"custom/settings": {
"format": "",
"on-click": "~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage",
"tooltip-format": "ML4W Dotfiles Settings"
},
// Keybindings
"custom/keybindings": {
"format": "",
"on-click": "~/dotfiles/hypr/scripts/keybindings.sh",
"tooltip": false
},
// Filemanager Launcher
"custom/filemanager": {
"format": "",
"on-click": "~/dotfiles/.settings/filemanager.sh",
"tooltip-format": "Open filemanager"
},
// Browser Launcher
"custom/browser": {
"format": "",
"on-click": "~/dotfiles/.settings/browser.sh",
"tooltip-format": "Open browser"
},
// ChatGPT Launcher
"custom/chatgpt": {
"format": " ",
"on-click": "chromium --app=https://chat.openai.com",
"tooltip-format": "Open ChatGPT"
},
// Calculator
"custom/calculator": {
"format": "",
"on-click": "qalculate-gtk",
"tooltip-format": "Open calculator"
},
// Windows VM
"custom/windowsvm": {
"format": "",
"on-click": "~/dotfiles/scripts/launchvm.sh",
"tooltip": false
},
// Rofi Application Launcher
"custom/appmenu": {
// START APPS LABEL
"format": "Apps",
// END APPS LABEL
"on-click": "sleep 0.2;rofi -show drun -replace",
"on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh",
"tooltip-format": "Left: Open the application launcher\nRight: Show all keybindings"
},
// Rofi Application Launcher
"custom/appmenuicon": {
"format": "",
"on-click": "rofi -show drun -replace",
"on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh",
"tooltip-format": "Left: Open the application launcher\nRight: Show all keybindings"
},
// Power Menu
"custom/exit": {
"format": "",
"on-click": "wlogout",
"tooltip-format": "Power Menu"
},
// Hyprshade
"custom/hyprshade": {
"format": "",
"tooltip-format": "Toggle Screen Shader",
"on-click": "sleep 0.5; ~/dotfiles/hypr/scripts/hyprshade.sh",
"on-click-right": "sleep 0.5; ~/dotfiles/hypr/scripts/hyprshade.sh rofi"
},
// Hypridle inhibitor
"custom/hypridle": {
"format": "",
"return-type": "json",
"escape": true,
"exec-on-event": true,
"interval": 60,
"exec": "~/dotfiles/hypr/scripts/hypridle.sh status",
"on-click": "~/dotfiles/hypr/scripts/hypridle.sh toggle",
"on-click-right": "hyprlock"
},
// Keyboard State
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
// System tray
"tray": {
"icon-size": 21,
"spacing": 10
},
// Clock
"clock": {
"format": "{:%H:%M %a}",
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
// START CLOCK FORMAT
"format-alt": "{:%Y-%m-%d}"
// END CLOCK FORMAT
},
// System
"custom/system": {
"format": "",
"tooltip": false
},
// CPU
"cpu": {
"format": "/ C {usage}% ",
"on-click": "alacritty -e htop"
},
// Memory
"memory": {
"format": "/ M {}% ",
"on-click": "alacritty -e htop"
},
// Harddisc space used
"disk": {
"interval": 30,
"format": "D {percentage_used}% ",
"path": "/",
"on-click": "alacritty -e htop"
},
"hyprland/language": {
"format": "/ K {short}"
},
// 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"
]
},
// Group Settings
"group/links": {
"orientation": "horizontal",
"modules": [
"custom/chatgpt",
"custom/empty"
]
},
// Group Settings
"group/settings": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": true
},
"modules": [
"custom/settings",
"custom/waybarthemes",
"custom/wallpaper",
"custom/ml4w-hyprland-settings"
]
},
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/browser",
"custom/filemanager",
]
},
// Network
"network": {
"format": "{ifname}",
"format-wifi": " {signalStrength}%",
"format-ethernet": " {ifname}",
"format-disconnected": "Disconnected",
"tooltip-format": " {ifname} via {gwaddri}",
"tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\nUp: {bandwidthUpBits} Down: {bandwidthDownBits}",
"tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n up: {bandwidthUpBits} down: {bandwidthDownBits}",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50,
"on-click": "alacritty --class dotfiles-floating -e nmtui",
"on-click-right": "~/dotfiles/.settings/networkmanager.sh"
},
// 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": [" ", " ", " ", " ", " "]
},
// 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": "",
"format-icons": {
"headphone": " ",
"hands-free": " ",
"headset": " ",
"phone": " ",
"portable": " ",
"car": " ",
"default": [" ", " ", " "]
},
"on-click": "pavucontrol"
},
// Bluetooth
"bluetooth": {
"format": " {status}",
"format-disabled": "",
"format-off": "",
"interval": 30,
"on-click": "blueman-manager",
"format-no-controller": ""
},
// Other
"user": {
"format": "{user}",
"interval": 60,
"icon": false,
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

@@ -0,0 +1,47 @@
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
@import '../../../../../.cache/wal/colors-waybar.css';
@define-color backgroundlight @color5;
@define-color backgrounddark @color11;
@define-color workspacesbackground1 @color5;
@define-color workspacesbackground2 @color11;
@define-color bordercolor @color11;
@define-color textcolor1 #FFFFFF;
@define-color textcolor2 #FFFFFF;
@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';
+70
View File
@@ -0,0 +1,70 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
// ### DEFAULT Top -Laptop ### //
{
"include": "~/dotfiles/waybar/themes/custom/modules.json",
"layer": "top",
//"mode": "dock",
"exclusive": true,
"passthrough": false,
"position": "top",
"spacing": 3,
"fixed-center": true,
"ipc": true,
"margin-top": 3,
"margin-left": 8,
"margin-right": 8,
"modules-left": [
"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": [
"custom/menu",
"custom/separator#dot-line",
"idle_inhibitor",
"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",
"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",
],
}
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
theme_name="Custum 4k"
+708
View File
@@ -0,0 +1,708 @@
//* ---- 💫 https://github.com/JaKooLit 💫 ---- *//
/* Waybar Modules */
{
// 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": " 󰮯 ",
"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": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode": "year",
"mode-mon-col": 3,
"weeks-pos": "right",
"on-scroll": 1,
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
}
},
"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": "<span style=\"italic\"> {}</span>", // 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} <i>{dynamic}</i>",
"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": [
"wofi",
"rofi",
]
},
"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,
},
"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,
},
"custom/keyboard": {
"exec": "cat ~/.cache/kb_layout",
"interval": 1,
"format": " {}",
"on-click": "~/.config/hypr/scripts/SwitchKeyboardLayout.sh",
},
"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
},
"custom/lock": {
"format": "󰌾{}",
"exec": "echo ; echo 󰷛 screen lock",
"interval": 86400, // once every day
"tooltip": true,
"on-click": "~/.config/hypr/scripts/LockScreen.sh",
},
"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",
},
// This is a custom cava visualizer
"custom/cava_mviz": {
"exec": "~/.config/hypr/scripts/WaybarCava.sh",
"format": "{}"
},
"custom/playerctl": {
"format": "<span>{}</span>",
"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": "⏻ ",
"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,
},
"custom/swaync": {
"tooltip": true,
"format": "{icon} {}",
"format-icons": {
"notification": "<span foreground='red'><sup></sup></span>",
"none": "",
"dnd-notification": "<span foreground='red'><sup></sup></span>",
"dnd-none": "",
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
"inhibited-none": "",
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
"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'",
},
"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": "<span color='#0dbc79'>{}</span>",
}
}
},
"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,
},
}
+314
View File
@@ -0,0 +1,314 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Catppuccin Mocha */
* {
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: 97%;
font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
padding: 1px;
}
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;
}
+179
View File
@@ -0,0 +1,179 @@
{
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": ["hyprland/workspaces","custom/waybarthemes"],
"modules-center": ["hyprland/window"],
"modules-right": ["custom/ml4w-welcome","mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock", "tray"],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
// "all-outputs": true,
// "warp-on-scroll": false,
// "format": "{name}: {icon}",
// "format-icons": {
// "1": "",
// "2": "",
// "3": "",
// "4": "",
// "5": "",
// "urgent": "",
// "focused": "",
// "default": ""
// }
// },
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
// ML4W Welcome App
"custom/ml4w-welcome": {
"on-click": "~/dotfiles/apps/ML4W_Welcome-x86_64.AppImage",
"format": " ",
"tooltip": false
},
// Waybar Themes
"custom/waybarthemes": {
"format": "Themes",
"on-click": "~/dotfiles/waybar/themeswitcher.sh",
"tooltip": false
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", ""],
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
"mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
"format-disconnected": "Disconnected ",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"unknown-tag": "N/A",
"interval": 2,
"consume-icons": {
"on": " "
},
"random-icons": {
"off": "<span color=\"#f53c3c\"></span> ",
"on": " "
},
"repeat-icons": {
"on": " "
},
"single-icons": {
"on": "1 "
},
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""]
},
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol"
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜"
},
"escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
}
}
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
theme_name="Waybar Default Theme"
+289
View File
@@ -0,0 +1,289 @@
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
}
window#waybar {
background-color: rgba(43, 48, 59, 0.5);
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
/*
window#waybar.empty {
background-color: transparent;
}
window#waybar.solo {
background-color: #FFFFFF;
}
*/
window#waybar.termite {
background-color: #3F3F3F;
}
window#waybar.chromium {
background-color: #000000;
border: none;
}
#custom-ml4w-welcome {
margin-right: 15px;
background-image: url("../assets/ml4w-icon-20.png");
background-repeat: no-repeat;
background-position: center;
padding-right: 20px;
margin-right: 0px;
}
button {
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
/* Avoid rounded borders under each button name */
border: none;
border-radius: 0;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
background: inherit;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button {
padding: 0 5px;
background-color: transparent;
color: #ffffff;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
#workspaces button.focused {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#mpd {
padding: 0 10px;
color: #ffffff;
}
#window,
#workspaces {
margin: 0 4px;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
#clock {
background-color: #64727D;
}
#battery {
background-color: #ffffff;
color: #000000;
}
#battery.charging, #battery.plugged {
color: #ffffff;
background-color: #26A65B;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: #000000;
}
#cpu {
background-color: #2ecc71;
color: #000000;
}
#memory {
background-color: #9b59b6;
}
#disk {
background-color: #964B00;
}
#backlight {
background-color: #90b1b1;
}
#network {
background-color: #2980b9;
}
#network.disconnected {
background-color: #f53c3c;
}
#pulseaudio {
background-color: #f1c40f;
color: #000000;
}
#pulseaudio.muted {
background-color: #90b1b1;
color: #2a5c45;
}
#wireplumber {
background-color: #fff0f5;
color: #000000;
}
#wireplumber.muted {
background-color: #f53c3c;
}
#custom-media {
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
}
#custom-media.custom-spotify {
background-color: #66cc99;
}
#custom-media.custom-vlc {
background-color: #ffa000;
}
#temperature {
background-color: #f0932b;
}
#temperature.critical {
background-color: #eb4d4b;
}
#tray {
background-color: #2980b9;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
background-color: #2d3436;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
}
#mpd {
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
background-color: #90b1b1;
}
#mpd.paused {
background-color: #51a37a;
}
#language {
background: #00b093;
color: #740864;
padding: 0 5px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state {
background: #97e1ad;
color: #000000;
padding: 0 0px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state > label {
padding: 0 5px;
}
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad.empty {
background-color: transparent;
}
@@ -0,0 +1,2 @@
#!/bin/bash
theme_name="MEOW Blur Colored Laptop"
@@ -0,0 +1,16 @@
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
@import '../../../../../.cache/wal/colors-waybar.css';
@define-color backgroundlight @color5;
@define-color backgrounddark @color11;
@define-color workspacesbackground1 @color5;
@define-color workspacesbackground2 @color11;
@define-color bordercolor @color11;
@define-color textcolor1 @foreground;
@define-color textcolor2 @foreground;
@define-color textcolor3 @foreground;
@define-color iconcolor @foreground;
@import '../style.css';
@@ -0,0 +1,127 @@
// __ __ _
// \ \ / /_ _ _ _| |__ __ _ _ __
// \ \ /\ / / _` | | | | '_ \ / _` | '__|
// \ V V / (_| | |_| | |_) | (_| | |
// \_/\_/ \__,_|\__, |_.__/ \__,_|_|
// |___/
//
// by Stephan Raabe (2023)
// -----------------------------------------------------
//
[{
// General Settings
"layer": "top",
"output": ["eDP-1", "DP-1"],
"margin-top": 0,
"margin-bottom": 0,
"layer": "top",
"margin-left": 0,
"margin-right": 0,
"spacing": 0,
// Load Modules
"include": ["~/dotfiles/waybar/themes/meow-blur/modules.json"],
// Modules Left
"modules-left": [
"custom/appmenuicon",
"hyprland/workspaces",
//"custom/appmenu",
//"group/settings",
"wlr/taskbar",
//"group/quicklinks",
"hyprland/window",
"custom/empty"
],
// Modules Center
"modules-center": [
"group/time"
],
// Modules Right
"modules-right": [
"custom/updates",
"group/hardware",
"group/hardware2",
"battery",
"battery#charging",
"tray",
"group/power"
]
}, {
// General Settings
"layer": "top",
"output": ["HDMI-A-1"],
"margin-top": 0,
"margin-bottom": 0,
"layer": "top",
"margin-left": 0,
"margin-right": 0,
"spacing": 0,
// Load Modules
"include": ["~/dotfiles/waybar/themes/meow-blur/modules.json"],
// Modules Left
"modules-left": [
"custom/appmenuicon",
"hyprland/workspaces",
"wlr/taskbar",
"hyprland/window",
"custom/empty"
],
// Modules Center
// "modules-center": [
// "clock"
// ],
// Modules Right
"modules-right": [
"tray",
"custom/events"
]
},{
// General Settings
"layer": "top",
"output": ["DP-2"],
"margin-top": 0,
"margin-bottom": 0,
"layer": "top",
"margin-left": 0,
"margin-right": 0,
"spacing": 0,
// Load Modules
"include": ["~/dotfiles/waybar/themes/meow-blur/modules.json"],
// Modules Left
"modules-left": [
"custom/appmenuicon",
"hyprland/workspaces",
//"custom/appmenu",
//"group/settings",
"wlr/taskbar",
//"group/quicklinks",
"hyprland/window",
"custom/empty"
],
// Modules Center
"modules-center": [
"custom/events"
],
// Modules Right
"modules-right": [
"custom/updates",
"group/hardware",
"group/hardware2",
"battery",
"battery#charging",
"tray",
"group/power"
]
},]
@@ -0,0 +1,2 @@
#!/bin/bash
theme_name="MEOW Blur Mixed Laptop"
@@ -0,0 +1,16 @@
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
@import '../../../../../.cache/wal/colors-waybar.css';
@define-color backgroundlight @color8;
@define-color backgrounddark #FFFFFF;
@define-color workspacesbackground1 @color8;
@define-color workspacesbackground2 #FFFFFF;
@define-color bordercolor @color8;
@define-color textcolor1 @color8;
@define-color textcolor2 #FFFFFF;
@define-color textcolor3 #FFFFFF;
@define-color iconcolor #FFFFFF;
@import '../style.css';
@@ -0,0 +1,507 @@
/*
* __ __ _ ____ _ _
* \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___
* \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \
* \ V V / (_| | |_| | |_) | (_| | | ___) | |_| |_| | | __/
* \_/\_/ \__,_|\__, |_.__/ \__,_|_| |____/ \__|\__, |_|\___|
* |___/ |___/
*
* by Stephan Raabe (2023)
* -----------------------------------------------------
*/
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
/* @import 'style-light.css'; */
/* -----------------------------------------------------
* General
* ----------------------------------------------------- */
* {
font-family: "Fira Code Nerd Font", "Noto Sans CJK SC";
font-weight: 700;
border: none;
border-radius: 0px;
}
window#waybar {
background-color: rgba(0,0,0,0.1);
border-bottom: 0px solid #ffffff;
/* color: #FFFFFF; */
transition-property: background-color;
transition-duration: .5s;
}
/* -----------------------------------------------------
* Workspaces
* ----------------------------------------------------- */
#workspaces {
background: @workspacesbackground1;
margin: 8px 10px 8px 0px;
padding: 0px 1px;
border-radius: 10px;
border: 0px;
font-weight: bold;
font-style: normal;
opacity: 0.8;
font-size: 14px;
color: @textcolor1;
}
#workspaces button {
padding: 0px 5px;
margin: 3px;
border-radius: 15px;
border: 0px;
color: @textcolor1;
background: @workspacesbackground2;
transition: all 0.3s ease-in-out;
opacity: 0.4;
}
#workspaces button.empty {
border-radius: 15px;
border: 0px;
color: @textcolor1;
background: transparent;
transition: all 0.3s ease-in-out;
opacity: 0.5;
}
#workspaces button:hover {
color: @textcolor1;
background: @workspacesbackground2;
border-radius: 10px;
opacity:0.7;
}
#workspaces button.active {
color: @textcolor1;
background: @workspacesbackground2;
border-radius: 15px;
min-width: 30px;
transition: all 0.3s ease-in-out;
opacity:1.0;
}
/* -----------------------------------------------------
* Tooltips
* ----------------------------------------------------- */
tooltip {
border-radius: 10px;
background-color: @backgroundlight;
opacity:0.8;
padding:20px;
margin:0px;
}
tooltip label {
color: @textcolor2;
}
/* -----------------------------------------------------
* Window
* ----------------------------------------------------- */
#window {
font-family: "Fira Code Semibold";
background: @backgroundlight;
margin: 8px 10px 8px 0px;
padding: 0px 8px 0px 8px;
border-radius: 10px;
color:@textcolor2;
font-size: 14px;
font-weight:normal;
opacity:0.8;
}
window#waybar.empty #window {
background-color:transparent;
}
/* -----------------------------------------------------
* Taskbar
* ----------------------------------------------------- */
#taskbar {
background: @backgroundlight;
margin: 8px 10px 8px 0px;
padding:0px;
border-radius: 10px;
font-weight: normal;
font-style: normal;
opacity:0.8;
border: 3px solid @backgroundlight;
}
#taskbar button {
margin:0;
border-radius: 10px;
padding: 0px 5px 0px 5px;
opacity: 0.7;
}
#taskbar button.active {
background: @workspacesbackground2;
border-radius: 10px;
opacity:1.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;
opacity: 0.8;
color: @iconcolor;
}
#custom-system {
margin-right:15px;
}
#custom-wallpaper {
margin-right:25px;
}
#custom-waybarthemes, #custom-settings {
margin-right:20px;
}
#custom-ml4w-welcome {
margin-right: 15px;
background-image: url("../assets/ml4w-icon.png");
background-repeat: no-repeat;
background-position: center;
padding-right: 24px;
}
#custom-chatgpt {
margin-right: 15px;
background-image: url("../assets/ai-icon-20.png");
background-repeat: no-repeat;
background-position: center;
padding-right: 24px;
}
/* -----------------------------------------------------
* Idle Inhibator
* ----------------------------------------------------- */
#idle_inhibitor {
margin-right: 15px;
font-size: 16px;
font-weight: bold;
opacity: 0.8;
color: @iconcolor;
}
#idle_inhibitor.activated {
margin-right: 10px;
font-size: 20px;
font-weight: bold;
opacity: 0.8;
color: #dc2f2f;
}
/* -----------------------------------------------------
* Custom Modules
* ----------------------------------------------------- */
#custom-appmenu, #custom-appmenuicon {
background-color: @backgrounddark;
font-size: 14px;
color: @textcolor1;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 10px;
opacity:0.8;
/* border:3px solid @bordercolor; */
}
#custom-appmenuicon {
padding-right: 12px;
padding-left: 8px;
}
/* -----------------------------------------------------
* Custom Exit
* ----------------------------------------------------- */
#custom-exit {
margin: 8px 10px 8px 0px;
padding:0px 14px 0px 10px;
font-size: 14px;
color: @iconcolor;
background: @backgrounddark;
border-radius: 10px;
opacity: 0.8;
}
/* -----------------------------------------------------
* Custom Updates
* ----------------------------------------------------- */
#custom-updates {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#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: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 15px 8px 0px;
opacity:0.8;
}
/* -----------------------------------------------------
* Hardware Group
* ----------------------------------------------------- */
/* #disk,#memory,#cpu,#language {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
} */
/* #cpu {
color: @color2;
} */
#cpu.warning,#memory.warning{
color: #ff9800;
}
#cpu.critical,#memory.warning{
color: #f44336;
}
#hardware,#hardware2 {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#custom-div {
font-weight: 900;
padding: 0px 2px;
color: @color2;
font-size: 18px;
}
#language {
margin-right:10px;
}
/* -----------------------------------------------------
* Clock
* ----------------------------------------------------- */
#clock {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor1;
border-radius: 10px;
padding: 0px 8px 0px 8px;
margin: 8px 10px 8px 0px;
opacity:0.8;
/* border:3px solid @bordercolor; */
}
#custom-events {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor1;
border-radius: 10px;
padding: 0px 8px 0px 8px;
margin: 8px 10px 8px 0px;
opacity:0.8;
/* border:3px solid @bordercolor; */
}
/* -----------------------------------------------------
* Pulseaudio
* ----------------------------------------------------- */
#pulseaudio {
/* background-color: @backgroundlight; */
font-size: 14px;
color: @textcolor2;
/* border-radius: 10px; */
/* padding: 0px 10px 0px 10px; */
/* margin: 8px 10px 8px 0px; */
/* opacity:0.8; */
}
#pulseaudio.muted {
/* background-color: @backgrounddark; */
color: @textcolor1;
}
#systems {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
/* -----------------------------------------------------
* Network
* ----------------------------------------------------- */
#network {
/* background-color: @backgroundlight; */
font-size: 14px;
color: @textcolor2;
/* border-radius: 10px; */
/* padding: 2px 2px 0px 10px; */
/* margin: 8px 10px 8px 0px; */
/* opacity:0.8; */
}
#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: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
/* opacity:0.8; */
}
#bluetooth.off {
background-color: transparent;
padding: 0px;
margin: 0px;
}
/* -----------------------------------------------------
* Battery
* ----------------------------------------------------- */
#battery {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#battery.charging, #battery.plugged {
color: @textcolor2;
background-color: @backgroundlight;
}
@keyframes blink {
to {
background-color: @backgroundlight;
color: @textcolor2;
}
}
#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 {
padding: 0px 10px 0px 10px;
color: @textcolor3;
background-color: @backgroundlight;
font-size: 14px;
border-radius: 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
}
@@ -0,0 +1,2 @@
#!/bin/bash
theme_name="MEOW Blur Colored"
@@ -0,0 +1,16 @@
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
@import '../../../../../.cache/wal/colors-waybar.css';
@define-color backgroundlight @color5;
@define-color backgrounddark @color11;
@define-color workspacesbackground1 @color5;
@define-color workspacesbackground2 @color11;
@define-color bordercolor @color11;
@define-color textcolor1 @foreground;
@define-color textcolor2 @foreground;
@define-color textcolor3 @foreground;
@define-color iconcolor @foreground;
@import '../style.css';
+127
View File
@@ -0,0 +1,127 @@
// __ __ _
// \ \ / /_ _ _ _| |__ __ _ _ __
// \ \ /\ / / _` | | | | '_ \ / _` | '__|
// \ V V / (_| | |_| | |_) | (_| | |
// \_/\_/ \__,_|\__, |_.__/ \__,_|_|
// |___/
//
// by Stephan Raabe (2023)
// -----------------------------------------------------
//
[{
// General Settings
"layer": "top",
"output": ["eDP-1", "DP-1"],
"margin-top": 0,
"margin-bottom": 0,
"layer": "top",
"margin-left": 0,
"margin-right": 0,
"spacing": 0,
// Load Modules
"include": ["~/dotfiles/waybar/themes/meow-blur/modules.json"],
// Modules Left
"modules-left": [
"custom/appmenuicon",
"hyprland/workspaces",
//"custom/appmenu",
//"group/settings",
"wlr/taskbar",
//"group/quicklinks",
"hyprland/window",
"custom/empty"
],
// Modules Center
"modules-center": [
"clock"
],
// Modules Right
"modules-right": [
"custom/updates",
"group/hardware",
"group/hardware2",
"battery",
"battery#charging",
"tray",
"group/power"
]
}, {
// General Settings
"layer": "top",
"output": ["HDMI-A-1"],
"margin-top": 0,
"margin-bottom": 0,
"layer": "top",
"margin-left": 0,
"margin-right": 0,
"spacing": 0,
// Load Modules
"include": ["~/dotfiles/waybar/themes/meow-blur/modules.json"],
// Modules Left
"modules-left": [
"custom/appmenuicon",
"hyprland/workspaces",
"wlr/taskbar",
"hyprland/window",
"custom/empty"
],
// Modules Center
// "modules-center": [
// "clock"
// ],
// Modules Right
"modules-right": [
"tray",
"custom/events"
]
},{
// General Settings
"layer": "top",
"output": ["DP-2"],
"margin-top": 0,
"margin-bottom": 0,
"layer": "top",
"margin-left": 0,
"margin-right": 0,
"spacing": 0,
// Load Modules
"include": ["~/dotfiles/waybar/themes/meow-blur/modules.json"],
// Modules Left
"modules-left": [
"custom/appmenuicon",
"hyprland/workspaces",
//"custom/appmenu",
//"group/settings",
"wlr/taskbar",
//"group/quicklinks",
"hyprland/window",
"custom/empty"
],
// Modules Center
"modules-center": [
"custom/events"
],
// Modules Right
"modules-right": [
"custom/updates",
"group/hardware",
"group/hardware2",
"battery",
"battery#charging",
"tray",
"group/power"
]
},]
@@ -0,0 +1,2 @@
#!/bin/bash
theme_name="ML4W Blur Mixed"
@@ -0,0 +1,16 @@
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
@import '../../../../../.cache/wal/colors-waybar.css';
@define-color backgroundlight @color8;
@define-color backgrounddark #FFFFFF;
@define-color workspacesbackground1 @color8;
@define-color workspacesbackground2 #FFFFFF;
@define-color bordercolor @color8;
@define-color textcolor1 @color8;
@define-color textcolor2 #FFFFFF;
@define-color textcolor3 #FFFFFF;
@define-color iconcolor #FFFFFF;
@import '../style.css';
@@ -0,0 +1,485 @@
// __ __ _ _
// | \/ | ___ __| |_ _| | ___ ___
// | |\/| |/ _ \ / _` | | | | |/ _ \/ __|
// | | | | (_) | (_| | |_| | | __/\__ \
// |_| |_|\___/ \__,_|\__,_|_|\___||___/
//
//
// by Stephan Raabe (2023)
// -----------------------------------------------------
//
{
// Workspaces
"hyprland/workspaces" : {
"on-click": "activate",
"active-only": false,
"all-outputs": true,
"format": "{}",
"format-icons": {
"urgent": "",
"active": "",
"default": ""
},
"persistent-workspaces": {
// START WORKSPACES
"*": 3
// END WORKSPACES
}
},
// Taskbar
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 16,
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": [
"Alacritty",
"kitty-dropterm",
"kitty",
"alacritty-dropterm"
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
},
"rewrite": {
"Firefox Web Browser": "Firefox",
"Foot Server": "Terminal"
}
},
// Hyprland Window
"hyprland/window": {
"rewrite": {
"(.*) - Brave": "$1",
"(.*) - Chromium": "$1",
"(.*) - Brave Search": "$1",
"(.*) - Outlook": "$1",
"(.*) Microsoft Teams": "$1",
"(.*) - Google Chrome": "$1",
"(.*) - Visual Studio Code": "$1"
},
"separate-outputs": true
},
// Empty
"custom/empty": {
"format": ""
},
// 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
},
// Updates Count
"custom/updates": {
"format": " {}",
"tooltip-format": "{}",
"escape": true,
"return-type": "json",
"exec": "~/dotfiles/scripts/updates.sh",
"restart-interval": 60,
"on-click": "alacritty --class dotfiles-floating -e ~/dotfiles/scripts/installupdates.sh",
"tooltip": false
},
// Wallpaper
"custom/wallpaper": {
"format": "",
"on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select",
"on-click-right": "~/dotfiles/hypr/scripts/wallpaper.sh",
"tooltip": false
},
// Waybar Themes
"custom/waybarthemes": {
"format": "",
"on-click": "~/dotfiles/waybar/themeswitcher.sh",
"tooltip": false
},
// Keybindings
"custom/keybindings": {
"format": "",
"on-click": "~/dotfiles/hypr/scripts/keybindings.sh",
"tooltip": false
},
// Filemanager Launcher
"custom/filemanager": {
"format": "",
"on-click": "~/dotfiles/.settings/filemanager.sh",
"tooltip": false
},
// Outlook Launcher
"custom/outlook": {
"format": "",
"on-click": "chromium --app=https://outlook.office.com/mail/",
"tooltip": false
},
// Browser Launcher
"custom/browser": {
"format": "",
"on-click": "~/dotfiles/.settings/browser.sh",
"tooltip": false
},
// ChatGPT Launcher
"custom/chatgpt": {
"format": " ",
"on-click": "chromium --app=https://chat.openai.com",
"tooltip": false
},
// Calculator
"custom/calculator": {
"format": "",
"on-click": "qalculate-gtk",
"tooltip": false
},
// Windows VM
"custom/windowsvm": {
"format": "",
"on-click": "~/dotfiles/scripts/launchvm.sh",
"tooltip": false
},
// Rofi Application Launcher
"custom/appmenu": {
// START APPS LABEL
"format": "Apps",
// END APPS LABEL
"on-click": "sleep 0.2;rofi -show drun -replace",
"on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh",
"tooltip": false
},
// Rofi Application Launcher
"custom/appmenuicon": {
"format": "",
"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}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"group/tray": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": false
},
"modules": [
"tray"
]
},
// System tray
"tray": {
"icon-size": 16,
"spacing": 8,
"verse-direction": true
},
// Clock
"clock": {
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
// TIMEDATEFORMAT
"format": "{:%B %d %H:%M %a}",
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B %d}</big>\n<tt><small>{calendar}</small></tt>",
// START CLOCK FORMAT
"format-alt": "{:%Y-%m-%d}"
// END CLOCK FORMAT
},
// spacer
"custom/spacer": {
"format": " ",
"tooltip": false
},
// div
"custom/div": {
"format": "",
"tooltip": false
},
// CPU
"cpu": {
"format": "󰒇 {usage}%",
"on-click": "alacritty -e htop",
"interval": 5,
"states": {
"warning": 50,
"critical": 90
}
},
// "cpu#bar": {
// "format": "{icon}",
// "format-icons":[
// "▏ ","▎ ","▍ ","▌ ","▋ ","▊ ","▉ ","█ ","█▏","█▎","█▍","█▌","█▋","█▊","█▉","██"
// ]
// },
// Memory
"memory": {
"format": " {used:0.1f}G",
"tooltip-format": "{total:0.1f}G total\n{swapTotal:0.1f}G swap\n{used:0.1f}G used\n{avail:0.1f}G free\n{percentage}% used",
"on-click": "alacritty -e htop",
"interval": 10,
"states": {
"warning": 50,
"critical": 80
}
},
// Harddisc space used
"disk": {
"interval": 30,
"format": "D {percentage_used}% ",
"path": "/",
"on-click": "alacritty -e htop"
},
"hyprland/language": {
"format": "/ K {short}"
},
// Group Hardware
"group/hardware": {
"orientation": "inherit",
"modules": [
"network#speed",
"custom/div",
"cpu",
"custom/div",
"memory"
]
},
"group/hardware2": {
"orientation": "inherit",
"modules": [
"pulseaudio",
"custom/div",
"network"
// "custom/div",
// "battery",
// "battery#charging"
]
},
// Group system settings
"group/systems": {
"orientation": "inherit",
"modules": [
// "user",
"clock"
]
},
"group/power": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": false
},
"modules": [
"custom/exit",
"idle_inhibitor"
]
},
// Group Settings
"group/settings": {
"orientation": "horizontal",
"modules": [
// START CHATGPT TOOGLE
"custom/chatgpt",
// END CHATGPT TOOGLE
"custom/settings",
"custom/waybarthemes",
"custom/wallpaper"
]
},
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/browser",
"custom/filemanager",
]
},
// Network
"network": {
"format": "{ifname}",
"format-wifi": "{icon} {signalStrength}%",
"format-ethernet": " wired",
"format-disconnected": "󰌙",
"tooltip-format": " {ifname} via {gwaddri}",
"tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\nUp: {bandwidthUpBits} Down: {bandwidthDownBits}",
"tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n up: {bandwidthUpBits} down: {bandwidthDownBits}",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50,
"on-click": "~/dotfiles/.settings/networkmanager.sh",
"format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
},
"network#speed": {
"format": " {bandwidthTotalBits}",
"tooltip-format": " {bandwidthUpBits}\n {bandwidthDownBits}",
"interval": 5
},
// Battery
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": "",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
// "format-good": "", // An empty format will hide the module
"format-full": "󱟢 {capacity}%",
//"format-icons": {
// "Charging": ["󰢟","󰢜","󰂆","󰂇","󰂈","󰢝","󰂉","󰢞","󰂊","󰂋","󰂅"],
// "default": ["󱃍","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"]
//}
"format-icons": ["󱃍","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"]
},
"battery#charging": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "",
"format-charging": "{icon} {capacity}%",
// "format-good": "", // An empty format will hide the module
//"format-icons": {
// "Charging": ["󰢟","󰢜","󰂆","󰂇","󰂈","󰢝","󰂉","󰢞","󰂊","󰂋","󰂅"],
// "default": ["󱃍","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"]
//}
"format-icons": ["󰢟","󰢜","󰂆","󰂇","󰂈","󰢝","󰂉","󰢞","󰂊","󰂋","󰂅"]
},
// Pulseaudio
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol"
},
// Bluetooth
"bluetooth": {
"format": " {status}",
"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}",
"tooltip": true,
"format-icons":{
"activated": "",
"deactivated": ""
},
"on-click-right": "hyprlock"
},
"custom/events": {
"format": "{}",
"tooltip": true,
"interval": 300,
"format-icons": {
"default": ""
},
"exec": "python3 ~/dotfiles/scripts/waybar-khal.py",
"return-type": "json",
"on-click-right": "vdirsyncer sync"
},
"group/time": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": false
},
"modules": [
"clock",
"custom/events"
]
}
}
+507
View File
@@ -0,0 +1,507 @@
/*
* __ __ _ ____ _ _
* \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___
* \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \
* \ V V / (_| | |_| | |_) | (_| | | ___) | |_| |_| | | __/
* \_/\_/ \__,_|\__, |_.__/ \__,_|_| |____/ \__|\__, |_|\___|
* |___/ |___/
*
* by Stephan Raabe (2023)
* -----------------------------------------------------
*/
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
/* @import 'style-light.css'; */
/* -----------------------------------------------------
* General
* ----------------------------------------------------- */
* {
font-family: "Fira Code Nerd Font", "Noto Sans CJK SC";
font-weight: 700;
border: none;
border-radius: 0px;
}
window#waybar {
background-color: rgba(0,0,0,0.1);
border-bottom: 0px solid #ffffff;
/* color: #FFFFFF; */
transition-property: background-color;
transition-duration: .5s;
}
/* -----------------------------------------------------
* Workspaces
* ----------------------------------------------------- */
#workspaces {
background: @workspacesbackground1;
margin: 8px 10px 8px 0px;
padding: 0px 1px;
border-radius: 10px;
border: 0px;
font-weight: bold;
font-style: normal;
opacity: 0.8;
font-size: 14px;
color: @textcolor1;
}
#workspaces button {
padding: 0px 5px;
margin: 3px;
border-radius: 15px;
border: 0px;
color: @textcolor1;
background: @workspacesbackground2;
transition: all 0.3s ease-in-out;
opacity: 0.4;
}
#workspaces button.empty {
border-radius: 15px;
border: 0px;
color: @textcolor1;
background: transparent;
transition: all 0.3s ease-in-out;
opacity: 0.5;
}
#workspaces button:hover {
color: @textcolor1;
background: @workspacesbackground2;
border-radius: 10px;
opacity:0.7;
}
#workspaces button.active {
color: @textcolor1;
background: @workspacesbackground2;
border-radius: 15px;
min-width: 30px;
transition: all 0.3s ease-in-out;
opacity:1.0;
}
/* -----------------------------------------------------
* Tooltips
* ----------------------------------------------------- */
tooltip {
border-radius: 10px;
background-color: @backgroundlight;
opacity:0.8;
padding:20px;
margin:0px;
}
tooltip label {
color: @textcolor2;
}
/* -----------------------------------------------------
* Window
* ----------------------------------------------------- */
#window {
font-family: "Fira Code Semibold";
background: @backgroundlight;
margin: 8px 10px 8px 0px;
padding: 0px 8px 0px 8px;
border-radius: 10px;
color:@textcolor2;
font-size: 14px;
font-weight:normal;
opacity:0.8;
}
window#waybar.empty #window {
background-color:transparent;
}
/* -----------------------------------------------------
* Taskbar
* ----------------------------------------------------- */
#taskbar {
background: @backgroundlight;
margin: 8px 10px 8px 0px;
padding:0px;
border-radius: 10px;
font-weight: normal;
font-style: normal;
opacity:0.8;
border: 3px solid @backgroundlight;
}
#taskbar button {
margin:0;
border-radius: 10px;
padding: 0px 5px 0px 5px;
opacity: 0.7;
}
#taskbar button.active {
background: @workspacesbackground2;
border-radius: 10px;
opacity:1.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;
opacity: 0.8;
color: @iconcolor;
}
#custom-system {
margin-right:15px;
}
#custom-wallpaper {
margin-right:25px;
}
#custom-waybarthemes, #custom-settings {
margin-right:20px;
}
#custom-ml4w-welcome {
margin-right: 15px;
background-image: url("../assets/ml4w-icon.png");
background-repeat: no-repeat;
background-position: center;
padding-right: 24px;
}
#custom-chatgpt {
margin-right: 15px;
background-image: url("../assets/ai-icon-20.png");
background-repeat: no-repeat;
background-position: center;
padding-right: 24px;
}
/* -----------------------------------------------------
* Idle Inhibator
* ----------------------------------------------------- */
#idle_inhibitor {
margin-right: 15px;
font-size: 16px;
font-weight: bold;
opacity: 0.8;
color: @iconcolor;
}
#idle_inhibitor.activated {
margin-right: 10px;
font-size: 20px;
font-weight: bold;
opacity: 0.8;
color: #dc2f2f;
}
/* -----------------------------------------------------
* Custom Modules
* ----------------------------------------------------- */
#custom-appmenu, #custom-appmenuicon {
background-color: @backgrounddark;
font-size: 14px;
color: @textcolor1;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 10px;
opacity:0.8;
/* border:3px solid @bordercolor; */
}
#custom-appmenuicon {
padding-right: 12px;
padding-left: 8px;
}
/* -----------------------------------------------------
* Custom Exit
* ----------------------------------------------------- */
#custom-exit {
margin: 8px 10px 8px 0px;
padding:0px 14px 0px 10px;
font-size: 14px;
color: @iconcolor;
background: @backgrounddark;
border-radius: 10px;
opacity: 0.8;
}
/* -----------------------------------------------------
* Custom Updates
* ----------------------------------------------------- */
#custom-updates {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#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: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 15px 8px 0px;
opacity:0.8;
}
/* -----------------------------------------------------
* Hardware Group
* ----------------------------------------------------- */
/* #disk,#memory,#cpu,#language {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
} */
/* #cpu {
color: @color2;
} */
#cpu.warning,#memory.warning{
color: #ff9800;
}
#cpu.critical,#memory.warning{
color: #f44336;
}
#hardware,#hardware2 {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#custom-div {
font-weight: 900;
padding: 0px 2px;
color: @color2;
font-size: 18px;
}
#language {
margin-right:10px;
}
/* -----------------------------------------------------
* Clock
* ----------------------------------------------------- */
#clock {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor1;
border-radius: 10px;
padding: 0px 8px 0px 8px;
margin: 8px 10px 8px 0px;
opacity:0.8;
/* border:3px solid @bordercolor; */
}
#custom-events {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor1;
border-radius: 10px;
padding: 0px 8px 0px 8px;
margin: 8px 10px 8px 0px;
opacity:0.8;
/* border:3px solid @bordercolor; */
}
/* -----------------------------------------------------
* Pulseaudio
* ----------------------------------------------------- */
#pulseaudio {
/* background-color: @backgroundlight; */
font-size: 14px;
color: @textcolor2;
/* border-radius: 10px; */
/* padding: 0px 10px 0px 10px; */
/* margin: 8px 10px 8px 0px; */
/* opacity:0.8; */
}
#pulseaudio.muted {
/* background-color: @backgrounddark; */
color: @textcolor1;
}
#systems {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
/* -----------------------------------------------------
* Network
* ----------------------------------------------------- */
#network {
/* background-color: @backgroundlight; */
font-size: 14px;
color: @textcolor2;
/* border-radius: 10px; */
/* padding: 2px 2px 0px 10px; */
/* margin: 8px 10px 8px 0px; */
/* opacity:0.8; */
}
#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: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
/* opacity:0.8; */
}
#bluetooth.off {
background-color: transparent;
padding: 0px;
margin: 0px;
}
/* -----------------------------------------------------
* Battery
* ----------------------------------------------------- */
#battery {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#battery.charging, #battery.plugged {
color: @textcolor2;
background-color: @backgroundlight;
}
@keyframes blink {
to {
background-color: @backgroundlight;
color: @textcolor2;
}
}
#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 {
padding: 0px 10px 0px 10px;
color: @textcolor3;
background-color: @backgroundlight;
font-size: 14px;
border-radius: 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
}
@@ -0,0 +1,2 @@
#!/bin/bash
theme_name="MEOW Blur Colored"
@@ -0,0 +1,16 @@
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
@import '../../../../../.cache/wal/colors-waybar.css';
@define-color backgroundlight @color5;
@define-color backgrounddark @color11;
@define-color workspacesbackground1 @color5;
@define-color workspacesbackground2 @color11;
@define-color bordercolor @color11;
@define-color textcolor1 @foreground;
@define-color textcolor2 @foreground;
@define-color textcolor3 @foreground;
@define-color iconcolor @foreground;
@import '../style.css';
@@ -0,0 +1,86 @@
// __ __ _
// \ \ / /_ _ _ _| |__ __ _ _ __
// \ \ /\ / / _` | | | | '_ \ / _` | '__|
// \ V V / (_| | |_| | |_) | (_| | |
// \_/\_/ \__,_|\__, |_.__/ \__,_|_|
// |___/
//
// by Stephan Raabe (2023)
// -----------------------------------------------------
//
[{
// General Settings
"layer": "top",
"output": ["eDP-1", "DP-1", "DP-2"],
"margin-top": 0,
"margin-bottom": 0,
"layer": "top",
"margin-left": 0,
"margin-right": 0,
"spacing": 0,
// Load Modules
"include": ["~/dotfiles/waybar/themes/meow-gentoo/modules.jsonc"],
// Modules Left
"modules-left": [
"custom/appmenuicon",
"hyprland/workspaces",
//"custom/appmenu",
//"group/settings",
"wlr/taskbar",
//"group/quicklinks",
"hyprland/window",
"custom/empty"
],
// Modules Center
"modules-center": [
"clock"
],
// Modules Right
"modules-right": [
"group/hardware",
"group/hardware2",
"battery",
"battery#charging",
"tray",
"group/power"
]
}, {
// General Settings
"layer": "top",
"output": ["HDMI-A-1"],
"margin-top": 0,
"margin-bottom": 0,
"layer": "top",
"margin-left": 0,
"margin-right": 0,
"spacing": 0,
"fixed-center": false,
// Load Modules
"include": ["~/dotfiles/waybar/themes/meow-gentoo/modules.jsonc"],
// Modules Left
"modules-left": [
"custom/appmenuicon",
"hyprland/workspaces",
"wlr/taskbar",
"hyprland/window",
"custom/empty"
],
// Modules Center
// "modules-center": [
// "clock"
// ],
// Modules Right
"modules-right": [
"tray",
"custom/events"
]
}]
@@ -0,0 +1,2 @@
#!/bin/bash
theme_name="ML4W Blur Mixed"
@@ -0,0 +1,16 @@
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
@import '../../../../../.cache/wal/colors-waybar.css';
@define-color backgroundlight @color8;
@define-color backgrounddark #FFFFFF;
@define-color workspacesbackground1 @color8;
@define-color workspacesbackground2 #FFFFFF;
@define-color bordercolor @color8;
@define-color textcolor1 @color8;
@define-color textcolor2 #FFFFFF;
@define-color textcolor3 #FFFFFF;
@define-color iconcolor #FFFFFF;
@import '../style.css';
@@ -0,0 +1,478 @@
// __ __ _ _
// | \/ | ___ __| |_ _| | ___ ___
// | |\/| |/ _ \ / _` | | | | |/ _ \/ __|
// | | | | (_) | (_| | |_| | | __/\__ \
// |_| |_|\___/ \__,_|\__,_|_|\___||___/
//
//
// by Stephan Raabe (2023)
// -----------------------------------------------------
//
{
// Workspaces
"hyprland/workspaces": {
"on-click": "activate",
"active-only": false,
"all-outputs": true,
"format": "{}",
"format-icons": {
"urgent": "",
"active": "",
"default": ""
},
"persistent-workspaces": {
// START WORKSPACES
"*": 3
// END WORKSPACES
}
},
// Taskbar
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 16,
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": [
"Alacritty",
"kitty-dropterm",
"kitty",
"alacritty-dropterm"
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
},
"rewrite": {
"Firefox Web Browser": "Firefox",
"Foot Server": "Terminal"
}
},
// Hyprland Window
"hyprland/window": {
"rewrite": {
"(.*) - Brave": "$1",
"(.*) - Chromium": "$1",
"(.*) - Brave Search": "$1",
"(.*) - Outlook": "$1",
"(.*) Microsoft Teams": "$1",
"(.*) - Google Chrome": "$1",
"(.*) - Visual Studio Code": "$1",
"(.*) _哔哩哔哩*": "$1"
},
"separate-outputs": true
},
// Empty
"custom/empty": {
"format": ""
},
// 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
},
// Updates Count
"custom/updates": {
"format": " {}",
"tooltip-format": "{}",
"escape": true,
"return-type": "json",
"exec": "~/dotfiles/scripts/updates.sh",
"restart-interval": 60,
"on-click": "alacritty --class dotfiles-floating -e ~/dotfiles/scripts/installupdates.sh",
"tooltip": false
},
// Wallpaper
"custom/wallpaper": {
"format": "",
"on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select",
"on-click-right": "~/dotfiles/hypr/scripts/wallpaper.sh",
"tooltip": false
},
// Waybar Themes
"custom/waybarthemes": {
"format": "",
"on-click": "~/dotfiles/waybar/themeswitcher.sh",
"tooltip": false
},
// Keybindings
"custom/keybindings": {
"format": "",
"on-click": "~/dotfiles/hypr/scripts/keybindings.sh",
"tooltip": false
},
// Filemanager Launcher
"custom/filemanager": {
"format": "",
"on-click": "~/dotfiles/.settings/filemanager.sh",
"tooltip": false
},
// Outlook Launcher
"custom/outlook": {
"format": "",
"on-click": "chromium --app=https://outlook.office.com/mail/",
"tooltip": false
},
// Browser Launcher
"custom/browser": {
"format": "",
"on-click": "~/dotfiles/.settings/browser.sh",
"tooltip": false
},
// ChatGPT Launcher
"custom/chatgpt": {
"format": " ",
"on-click": "chromium --app=https://chat.openai.com",
"tooltip": false
},
// Calculator
"custom/calculator": {
"format": "",
"on-click": "qalculate-gtk",
"tooltip": false
},
// Windows VM
"custom/windowsvm": {
"format": "",
"on-click": "~/dotfiles/scripts/launchvm.sh",
"tooltip": false
},
// Rofi Application Launcher
"custom/appmenu": {
// START APPS LABEL
"format": "Apps",
// END APPS LABEL
"on-click": "sleep 0.2;rofi -show drun -replace",
"on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh",
"tooltip": false
},
// Rofi Application Launcher
"custom/appmenuicon": {
"format": "",
"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}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"group/tray": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": false
},
"modules": [
"tray"
]
},
// System tray
"tray": {
"icon-size": 16,
"spacing": 8,
"verse-direction": true
},
// Clock
"clock": {
"calendar": {
"mode": "year",
"mode-mon-col": 3,
"weeks-pos": "right",
"on-scroll": 1,
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
// TIMEDATEFORMAT
"format": "{:%B %d %H:%M %a}",
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B %d}</big>\n<tt><small>{calendar}</small></tt>",
// START CLOCK FORMAT
"format-alt": "{:%Y-%m-%d}"
// END CLOCK FORMAT
},
// spacer
"custom/spacer": {
"format": " ",
"tooltip": false
},
// div
"custom/div": {
"format": "",
"tooltip": false
},
// CPU
"cpu": {
"format": "󰒇 {usage}%",
"on-click": "alacritty -e htop",
"interval": 5,
"states": {
"warning": 50,
"critical": 90
}
},
// "cpu#bar": {
// "format": "{icon}",
// "format-icons":[
// "▏ ","▎ ","▍ ","▌ ","▋ ","▊ ","▉ ","█ ","█▏","█▎","█▍","█▌","█▋","█▊","█▉","██"
// ]
// },
// Memory
"memory": {
"format": " {used:0.1f}G",
"tooltip-format": "{total:0.1f}G total\n{swapTotal:0.1f}G swap\n{used:0.1f}G used\n{avail:0.1f}G free\n{percentage}% used",
"on-click": "alacritty -e htop",
"interval": 10,
"states": {
"warning": 50,
"critical": 80
}
},
// Harddisc space used
"disk": {
"interval": 30,
"format": "D {percentage_used}% ",
"path": "/",
"on-click": "alacritty -e htop"
},
"hyprland/language": {
"format": "/ K {short}"
},
// Group Hardware
"group/hardware": {
"orientation": "inherit",
"modules": [
"network#speed",
"custom/div",
"cpu",
"custom/div",
"memory"
]
},
"group/hardware2": {
"orientation": "inherit",
"modules": [
"pulseaudio",
"custom/div",
"network"
// "custom/div",
// "battery",
// "battery#charging"
]
},
// Group system settings
"group/systems": {
"orientation": "inherit",
"modules": [
// "user",
"clock"
]
},
"group/power": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": false
},
"modules": [
"custom/exit",
"idle_inhibitor"
]
},
// Group Settings
"group/settings": {
"orientation": "horizontal",
"modules": [
// START CHATGPT TOOGLE
"custom/chatgpt",
// END CHATGPT TOOGLE
"custom/settings",
"custom/waybarthemes",
"custom/wallpaper"
]
},
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/browser",
"custom/filemanager",
]
},
// Network
"network": {
"format": "{ifname}",
"format-wifi": "{icon} {signalStrength}%",
"format-ethernet": " wired",
"format-disconnected": "󰌙",
"tooltip-format": " {ifname} via {gwaddri}",
"tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\nUp: {bandwidthUpBits} Down: {bandwidthDownBits}",
"tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n up: {bandwidthUpBits} down: {bandwidthDownBits}",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50,
"on-click": "~/dotfiles/.settings/networkmanager.sh",
"format-icons": [
"󰤯",
"󰤟",
"󰤢",
"󰤥",
"󰤨"
]
},
"network#speed": {
"format": " {bandwidthTotalBits}",
"tooltip-format": " {bandwidthUpBits}\n {bandwidthDownBits}",
"interval": 5
},
// Battery
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": "",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
// "format-good": "", // An empty format will hide the module
"format-full": "󱟢 {capacity}%",
//"format-icons": {
// "Charging": ["󰢟","󰢜","󰂆","󰂇","󰂈","󰢝","󰂉","󰢞","󰂊","󰂋","󰂅"],
// "default": ["󱃍","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"]
//}
"format-icons": [
"󱃍",
"󰁺",
"󰁻",
"󰁼",
"󰁽",
"󰁾",
"󰁿",
"󰂀",
"󰂁",
"󰂂",
"󰁹"
]
},
"battery#charging": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "",
"format-charging": "{icon} {capacity}%",
// "format-good": "", // An empty format will hide the module
//"format-icons": {
// "Charging": ["󰢟","󰢜","󰂆","󰂇","󰂈","󰢝","󰂉","󰢞","󰂊","󰂋","󰂅"],
// "default": ["󱃍","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"]
//}
"format-icons": [
"󰢟",
"󰢜",
"󰂆",
"󰂇",
"󰂈",
"󰢝",
"󰂉",
"󰢞",
"󰂊",
"󰂋",
"󰂅"
]
},
// Pulseaudio
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": [
"",
"",
""
]
},
"on-click": "pavucontrol"
},
// Bluetooth
"bluetooth": {
"format": " {status}",
"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}",
"tooltip": true,
"format-icons": {
"activated": "",
"deactivated": ""
},
"on-click-right": "hyprlock"
},
"custom/events": {
"format": "{}",
"tooltip": true,
"interval": 300,
"format-icons": {
"default": ""
},
"exec": "python3 ~/dotfiles/scripts/waybar-khal.py",
"return-type": "json",
"on-click-right": "vdirsyncer sync"
},
"group/time": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": false
},
"modules": [
"clock",
"custom/events"
]
}
}
@@ -0,0 +1,507 @@
/*
* __ __ _ ____ _ _
* \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___
* \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \
* \ V V / (_| | |_| | |_) | (_| | | ___) | |_| |_| | | __/
* \_/\_/ \__,_|\__, |_.__/ \__,_|_| |____/ \__|\__, |_|\___|
* |___/ |___/
*
* by Stephan Raabe (2023)
* -----------------------------------------------------
*/
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
/* @import 'style-light.css'; */
/* -----------------------------------------------------
* General
* ----------------------------------------------------- */
* {
font-family: "Fira Code Nerd Font", "FiraCode Nerd Font", "NotoSans Nerd Font", "Noto Sans CJK SC";
font-weight: 700;
border: none;
border-radius: 0px;
}
window#waybar {
background-color: rgba(0,0,0,0.1);
border-bottom: 0px solid #ffffff;
/* color: #FFFFFF; */
transition-property: background-color;
transition-duration: .5s;
}
/* -----------------------------------------------------
* Workspaces
* ----------------------------------------------------- */
#workspaces {
background: @workspacesbackground1;
margin: 8px 10px 8px 0px;
padding: 0px 1px;
border-radius: 10px;
border: 0px;
font-weight: bold;
font-style: normal;
opacity: 0.8;
font-size: 14px;
color: @textcolor1;
}
#workspaces button {
padding: 0px 5px;
margin: 3px;
border-radius: 15px;
border: 0px;
color: @textcolor1;
background: @workspacesbackground2;
transition: all 0.3s ease-in-out;
opacity: 0.4;
}
#workspaces button.empty {
border-radius: 15px;
border: 0px;
color: @textcolor1;
background: transparent;
transition: all 0.3s ease-in-out;
opacity: 0.5;
}
#workspaces button:hover {
color: @textcolor1;
background: @workspacesbackground2;
border-radius: 10px;
opacity:0.7;
}
#workspaces button.active {
color: @textcolor1;
background: @workspacesbackground2;
border-radius: 15px;
min-width: 30px;
transition: all 0.3s ease-in-out;
opacity:1.0;
}
/* -----------------------------------------------------
* Tooltips
* ----------------------------------------------------- */
tooltip {
border-radius: 10px;
background-color: @backgroundlight;
opacity:0.8;
padding:20px;
margin:0px;
}
tooltip label {
color: @textcolor2;
}
/* -----------------------------------------------------
* Window
* ----------------------------------------------------- */
#window {
font-family: "Fira Code Semibold";
background: @backgroundlight;
margin: 8px 10px 8px 0px;
padding: 0px 8px 0px 8px;
border-radius: 10px;
color:@textcolor2;
font-size: 14px;
font-weight:normal;
opacity:0.8;
}
window#waybar.empty #window {
background-color:transparent;
}
/* -----------------------------------------------------
* Taskbar
* ----------------------------------------------------- */
#taskbar {
background: @backgroundlight;
margin: 8px 10px 8px 0px;
padding:0px;
border-radius: 10px;
font-weight: normal;
font-style: normal;
opacity:0.8;
border: 3px solid @backgroundlight;
}
#taskbar button {
margin:0;
border-radius: 10px;
padding: 0px 5px 0px 5px;
opacity: 0.7;
}
#taskbar button.active {
background: @workspacesbackground2;
border-radius: 10px;
opacity:1.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;
opacity: 0.8;
color: @iconcolor;
}
#custom-system {
margin-right:15px;
}
#custom-wallpaper {
margin-right:25px;
}
#custom-waybarthemes, #custom-settings {
margin-right:20px;
}
#custom-ml4w-welcome {
margin-right: 15px;
background-image: url("../assets/ml4w-icon.png");
background-repeat: no-repeat;
background-position: center;
padding-right: 24px;
}
#custom-chatgpt {
margin-right: 15px;
background-image: url("../assets/ai-icon-20.png");
background-repeat: no-repeat;
background-position: center;
padding-right: 24px;
}
/* -----------------------------------------------------
* Idle Inhibator
* ----------------------------------------------------- */
#idle_inhibitor {
margin-right: 15px;
font-size: 16px;
font-weight: bold;
opacity: 0.8;
color: @iconcolor;
}
#idle_inhibitor.activated {
margin-right: 10px;
font-size: 20px;
font-weight: bold;
opacity: 0.8;
color: #dc2f2f;
}
/* -----------------------------------------------------
* Custom Modules
* ----------------------------------------------------- */
#custom-appmenu, #custom-appmenuicon {
background-color: @backgrounddark;
font-size: 14px;
color: @textcolor1;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 10px;
opacity:0.8;
/* border:3px solid @bordercolor; */
}
#custom-appmenuicon {
padding-right: 12px;
padding-left: 8px;
}
/* -----------------------------------------------------
* Custom Exit
* ----------------------------------------------------- */
#custom-exit {
margin: 8px 10px 8px 0px;
padding:0px 14px 0px 10px;
font-size: 14px;
color: @iconcolor;
background: @backgrounddark;
border-radius: 10px;
opacity: 0.8;
}
/* -----------------------------------------------------
* Custom Updates
* ----------------------------------------------------- */
#custom-updates {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#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: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 15px 8px 0px;
opacity:0.8;
}
/* -----------------------------------------------------
* Hardware Group
* ----------------------------------------------------- */
/* #disk,#memory,#cpu,#language {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
} */
/* #cpu {
color: @color2;
} */
#cpu.warning,#memory.warning{
color: #ff9800;
}
#cpu.critical,#memory.warning{
color: #f44336;
}
#hardware,#hardware2 {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#custom-div {
font-weight: 900;
padding: 0px 2px;
color: @color2;
font-size: 18px;
}
#language {
margin-right:10px;
}
/* -----------------------------------------------------
* Clock
* ----------------------------------------------------- */
#clock {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor1;
border-radius: 10px;
padding: 0px 8px 0px 8px;
margin: 8px 10px 8px 0px;
opacity:0.8;
/* border:3px solid @bordercolor; */
}
#custom-events {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor1;
border-radius: 10px;
padding: 0px 8px 0px 8px;
margin: 8px 10px 8px 0px;
opacity:0.8;
/* border:3px solid @bordercolor; */
}
/* -----------------------------------------------------
* Pulseaudio
* ----------------------------------------------------- */
#pulseaudio {
/* background-color: @backgroundlight; */
font-size: 14px;
color: @textcolor2;
/* border-radius: 10px; */
/* padding: 0px 10px 0px 10px; */
/* margin: 8px 10px 8px 0px; */
/* opacity:0.8; */
}
#pulseaudio.muted {
/* background-color: @backgrounddark; */
color: @textcolor1;
}
#systems {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
/* -----------------------------------------------------
* Network
* ----------------------------------------------------- */
#network {
/* background-color: @backgroundlight; */
font-size: 14px;
color: @textcolor2;
/* border-radius: 10px; */
/* padding: 2px 2px 0px 10px; */
/* margin: 8px 10px 8px 0px; */
/* opacity:0.8; */
}
#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: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
/* opacity:0.8; */
}
#bluetooth.off {
background-color: transparent;
padding: 0px;
margin: 0px;
}
/* -----------------------------------------------------
* Battery
* ----------------------------------------------------- */
#battery {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#battery.charging, #battery.plugged {
color: @textcolor2;
background-color: @backgroundlight;
}
@keyframes blink {
to {
background-color: @backgroundlight;
color: @textcolor2;
}
}
#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 {
padding: 0px 10px 0px 10px;
color: @textcolor3;
background-color: @backgroundlight;
font-size: 14px;
border-radius: 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
}
+12
View File
@@ -0,0 +1,12 @@
# Waybar Theme Starter
Create your own Waybar Theme based on this starter theme.
- Copy the folder "~/dotfiles/waybar/themes/starter" and define a custom folder name
- Open config.sh and enter the name of your new theme
- Select the theme with the Waybar Themeswitcher with <kbd>SUPER</kbd>+<kbd>CTRL</kbd>+<kbd>T</kbd>
- Start your customization
You can enable, disable and reorder waybar modules in the config file.
Your custom theme will not be overwritten with an update of the dotfiles.
+64
View File
@@ -0,0 +1,64 @@
// __ __ _
// \ \ / /_ _ _ _| |__ __ _ _ __
// \ \ /\ / / _` | | | | '_ \ / _` | '__|
// \ V V / (_| | |_| | |_) | (_| | |
// \_/\_/ \__,_|\__, |_.__/ \__,_|_|
// |___/
//
// by Stephan Raabe (2023)
// -----------------------------------------------------
//
{
// General Settings
// Position TOP
"layer": "top",
"margin-bottom": 0,
// 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/starter/modules.json"],
// Modules Left
"modules-left": [
"custom/appmenu",
"custom/settings",
"custom/waybarthemes",
"custom/wallpaper",
//"wlr/taskbar",
"group/quicklinks",
"hyprland/window",
"custom/starter"
],
// Modules Center
"modules-center": [
"hyprland/workspaces"
],
// Modules Right
"modules-right": [
"custom/updates",
"pulseaudio",
"bluetooth",
"battery",
"network",
"group/hardware",
"custom/cliphist",
"custom/hypridle",
"custom/hyprshade",
"tray",
"custom/exit",
"custom/ml4w-welcome",
"clock"
]
}
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
theme_name="Waybar Starter"
+350
View File
@@ -0,0 +1,350 @@
// __ __ _ _
// | \/ | ___ __| |_ _| | ___ ___
// | |\/| |/ _ \ / _` | | | | |/ _ \/ __|
// | | | | (_) | (_| | |_| | | __/\__ \
// |_| |_|\___/ \__,_|\__,_|_|\___||___/
//
//
// by Stephan Raabe (2023)
// -----------------------------------------------------
//
{
// Workspaces
"hyprland/workspaces" : {
"on-click": "activate",
"active-only": false,
"all-outputs": true,
"format": "{}",
"format-icons": {
"urgent": "",
"active": "",
"default": ""
},
"persistent-workspaces": {
"*": 5
}
},
// Taskbar
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 18,
"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"
}
},
// Hyprland Window
"hyprland/window": {
"rewrite": {
"(.*) - Brave": "$1",
"(.*) - Chromium": "$1",
"(.*) - Brave Search": "$1",
"(.*) - Outlook": "$1",
"(.*) Microsoft Teams": "$1"
},
"separate-outputs": 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
},
// Hyprshade
"custom/hyprshade": {
"format": "",
"on-click": "sleep 0.1; ~/dotfiles/hypr/scripts/hyprshade.sh",
"on-click-right": "sleep 0.1; ~/dotfiles/hypr/scripts/hyprshade.sh rofi",
"tooltip": false
},
// Hypridle inhibitor
"custom/hypridle": {
"format": "",
"return-type": "json",
"escape": true,
"exec-on-event": true,
"interval": 60,
"exec": "~/dotfiles/hypr/scripts/hypridle.sh status",
"on-click": "~/dotfiles/hypr/scripts/hypridle.sh toggle",
"on-click-right": "hyprlock"
},
// 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
},
// Theme Starter Label
"custom/starter": {
"format": "THEME STARTER",
"tooltip": false
},
// Wallpaper
"custom/wallpaper": {
"format": "",
"on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select",
"on-click-right": "~/dotfiles/hypr/scripts/wallpaper-effects.sh",
"tooltip": false
},
// Waybar Themes
"custom/waybarthemes": {
"format": "",
"on-click": "~/dotfiles/waybar/themeswitcher.sh",
"tooltip": false
},
// Settings
"custom/settings": {
"format": "",
"on-click": "~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage",
"tooltip": false
},
// Keybindings
"custom/keybindings": {
"format": "",
"on-click": "~/dotfiles/hypr/scripts/keybindings.sh",
"tooltip": false
},
// Filemanager Launcher
"custom/filemanager": {
"format": "",
"on-click": "thunar",
"tooltip": false
},
// 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}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
// System tray
"tray": {
// "icon-size": 21,
"spacing": 10
},
// Clock
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
// System
"custom/system": {
"format": "",
"tooltip": false
},
// CPU
"cpu": {
"format": "/ C {usage}% ",
"on-click": "alacritty -e htop"
},
// Memory
"memory": {
"format": "/ M {}% ",
"on-click": "alacritty -e htop"
},
// Harddisc space used
"disk": {
"interval": 30,
"format": "D {percentage_used}% ",
"path": "/",
"on-click": "alacritty -e htop"
},
"hyprland/language": {
"format": "/ K {short}"
},
// 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"
]
},
// 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"
]
},
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/filemanager",
"custom/browser"
]
},
// 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"
},
// 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": [" ", " ", " ", " ", " "]
},
// 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": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", " ", " "]
},
"on-click": "pavucontrol"
},
// 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}",
"tooltip": true,
"format-icons":{
"activated": "",
"deactivated": ""
},
"on-click-right": "hyprlock"
}
}
+447
View File
@@ -0,0 +1,447 @@
/*
* __ __ _ ____ _ _
* \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___
* \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \
* \ 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
* ----------------------------------------------------- */
* {
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-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-hyprshade,
#custom-hypridle,
#custom-waybarthemes {
margin-right: 23px;
font-size: 20px;
font-weight: bold;
color: @iconcolor;
}
#custom-hyprshade {
margin-right:12px;
}
#custom-hypridle {
margin-right:16px;
}
#custom-hypridle.active {
color: @iconcolor;
}
#custom-hypridle.notactive {
color: #dc2f2f;
}
#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;
}
}
#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 {
margin:0px 10px 0px 0px;
}
#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;
}
+66
View File
@@ -0,0 +1,66 @@
#!/bin/bash
# _____ _ _ _ _
# |_ _| |__ ___ _ __ ___ ___ _____ _(_) |_ ___| |__ ___ _ __
# | | | '_ \ / _ \ '_ ` _ \ / _ \/ __\ \ /\ / / | __/ __| '_ \ / _ \ '__|
# | | | | | | __/ | | | | | __/\__ \\ V V /| | || (__| | | | __/ |
# |_| |_| |_|\___|_| |_| |_|\___||___/ \_/\_/ |_|\__\___|_| |_|\___|_|
#
# by Stephan Raabe (2024)
# -----------------------------------------------------
# -----------------------------------------------------
# Default theme folder
# -----------------------------------------------------
themes_path="$HOME/dotfiles/waybar/themes"
# -----------------------------------------------------
# Initialize arrays
# -----------------------------------------------------
listThemes=""
listNames=""
listNames2=""
# -----------------------------------------------------
# Read theme folder
# -----------------------------------------------------
sleep 0.2
options=$(find $themes_path -maxdepth 2 -type d)
for value in $options
do
if [ ! $value == "$HOME/dotfiles/waybar/themes/assets" ]; then
if [ ! $value == "$themes_path" ]; then
if [ $(find $value -maxdepth 1 -type d | wc -l) = 1 ]; then
result=$(echo $value | sed "s#$HOME/dotfiles/waybar/themes/#/#g")
IFS='/' read -ra arrThemes <<< "$result"
listThemes[${#listThemes[@]}]="/${arrThemes[1]};$result"
if [ -f $themes_path$result/config.sh ]; then
source $themes_path$result/config.sh
listNames+="$theme_name\n"
listNames2+="$theme_name~"
else
listNames+="/${arrThemes[1]};$result\n"
listNames2+="/${arrThemes[1]};$result~"
fi
fi
fi
fi
done
# -----------------------------------------------------
# Show rofi dialog
# -----------------------------------------------------
listNames=${listNames::-2}
choice=$(echo -e "$listNames" | rofi -dmenu -replace -i -config ~/dotfiles/rofi/config-themes.rasi -no-show-icons -width 30 -p "Themes" -format i)
IFS="~"
input=$listNames2
read -ra array <<< "$input"
# -----------------------------------------------------
# Set new theme by writing the theme information to ~/.cache/.themestyle.sh
# -----------------------------------------------------
if [ "$choice" ]; then
echo "Loading waybar theme..."
echo "${listThemes[$choice+1]}" > ~/.cache/.themestyle.sh
~/dotfiles/waybar/launch.sh
notify-send "Waybar Theme changed" "to ${array[$choice]}"
fi
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# _____ _ __ __ _
# |_ _|__ __ _ __ _| | ___ \ \ / /_ _ _ _| |__ __ _ _ __
# | |/ _ \ / _` |/ _` | |/ _ \ \ \ /\ / / _` | | | | '_ \ / _` | '__|
# | | (_) | (_| | (_| | | __/ \ V V / (_| | |_| | |_) | (_| | |
# |_|\___/ \__, |\__, |_|\___| \_/\_/ \__,_|\__, |_.__/ \__,_|_|
# |___/ |___/ |___/
#
if [ -f ~/.cache/waybar-disabled ] ;then
rm ~/.cache/waybar-disabled
else
touch ~/.cache/waybar-disabled
fi
~/dotfiles/waybar/launch.sh &