Browse Source

some waybar tweaks

pull/321/head
JaKooLit 2 years ago
parent
commit
03d5dafaa4
  1. 3
      config/waybar/configs/[BOT] Chrysanthemum
  2. 45
      config/waybar/modules

3
config/waybar/configs/[BOT] Chrysanthemum

@ -10,8 +10,7 @@
//"mode": "dock", //"mode": "dock",
"exclusive": true, "exclusive": true,
"passthrough": false, "passthrough": false,
"position": "bottom "position": "bottom",
",
"spacing": 5, "spacing": 5,
"fixed-center": true, "fixed-center": true,
"ipc": true, "ipc": true,

45
config/waybar/modules

@ -515,7 +515,7 @@
"format-icons": { "format-icons": {
"headphone": "", "headphone": "",
"hands-free": "", "hands-free": "",
"headset": "", "headset": "",
"phone": "", "phone": "",
"portable": "", "portable": "",
"car": "", "car": "",
@ -540,8 +540,8 @@
"format-bluetooth-muted": " {icon}", "format-bluetooth-muted": " {icon}",
"format-muted": "󰸈", "format-muted": "󰸈",
"format-icons": { "format-icons": {
"headphone": "", "headphone": "",
"hands-free": "", "hands-free": "",
"headset": "", "headset": "",
"phone": "", "phone": "",
"portable": "", "portable": "",
@ -549,8 +549,9 @@
"default": ["", "", ""] "default": ["", "", ""]
}, },
"on-click": "pamixer --toggle-mute", "on-click": "pamixer --toggle-mute",
"on-click-right": "pavucontrol", "on-click-right": "pavucontrol -t 3",
"tooltip": false "tooltip": true,
"tooltip-format": "{icon} {desc} | {volume}%",
}, },
"pulseaudio#microphone": { "pulseaudio#microphone": {
"format": "{format_source}", "format": "{format_source}",
@ -609,19 +610,17 @@
}, },
"custom/cycle_wall": { "custom/cycle_wall": {
"format": " ", "format": " ",
"exec": "echo ; echo 󰸉 wallpaper select",
"on-click": "~/.config/hypr/UserScripts/WallpaperSelect.sh", "on-click": "~/.config/hypr/UserScripts/WallpaperSelect.sh",
"on-click-right": "~/.config/hypr/UserScripts/WallpaperRandom.sh", "on-click-right": "~/.config/hypr/UserScripts/WallpaperRandom.sh",
"on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh", "on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh",
"interval": 86400, // once every day
"tooltip": true, "tooltip": true,
"tooltip-format": "Left Click: Wallpaper Menu\nMiddle Click: Random wallpaper\nRight Click: Waybar Styles Menu",
}, },
"custom/hint": { "custom/hint": {
"format": "󰺁 HINT!", "format": "󰺁 HINT!",
"exec": "echo ; echo Key Hints SUPER H",
"on-click": "~/.config/hypr/scripts/KeyHints.sh", "on-click": "~/.config/hypr/scripts/KeyHints.sh",
"interval": 86400, // once every day
"tooltip": true, "tooltip": true,
"tooltip-format": "󱧣 Quick Tips",
}, },
"custom/keyboard": { "custom/keyboard": {
"exec": "cat ~/.cache/kb_layout", "exec": "cat ~/.cache/kb_layout",
@ -630,29 +629,27 @@
"on-click": "~/.config/hypr/scripts/SwitchKeyboardLayout.sh", "on-click": "~/.config/hypr/scripts/SwitchKeyboardLayout.sh",
}, },
"custom/light_dark": { "custom/light_dark": {
"format": "󰔎{}", "format": "󰔎",
"exec": "echo ; echo 󰔎 Dark-Light switcher",
"on-click": "~/.config/hypr/scripts/DarkLight.sh", "on-click": "~/.config/hypr/scripts/DarkLight.sh",
"on-click-right": "~/.config/hypr/scripts/WaybarStyles.sh", "on-click-right": "~/.config/hypr/scripts/WaybarStyles.sh",
"on-click-middle": "~/.config/hypr/UserScripts/WallpaperSelect.sh", "on-click-middle": "~/.config/hypr/UserScripts/WallpaperSelect.sh",
"interval": 86400, // once every day "tooltip": true,
"tooltip": true "tooltip-format": "Left Click: Switch Dark-Light Themes\nMiddle Click: Wallpaper Menu\nRight Click: Waybar Styles Menu",
}, },
"custom/lock": { "custom/lock": {
"format": "󰌾{}", "format": "󰌾",
"exec": "echo ; echo 󰷛 screen lock",
"interval": 86400, // once every day
"tooltip": true,
"on-click": "~/.config/hypr/scripts/LockScreen.sh", "on-click": "~/.config/hypr/scripts/LockScreen.sh",
"tooltip": true,
"tooltip-format": "󰷛 Screen Lock",
}, },
"custom/menu": { "custom/menu": {
"format": "{}", "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": "pkill rofi || rofi -show drun -modi run,drun,filebrowser,window",
"on-click-middle": "~/.config/hypr/UserScripts/WallpaperSelect.sh", "on-click-middle": "~/.config/hypr/UserScripts/WallpaperSelect.sh",
"on-click-right": "~/.config/hypr/scripts/WaybarLayout.sh", "on-click-right": "~/.config/hypr/scripts/WaybarLayout.sh",
"tooltip": true,
"tooltip-format": "Left Click: Rofi Menu\nMiddle Click: Wallpaper Menu\nRight Click: Waybar Layout Menu",
}, },
// This is a custom cava visualizer // This is a custom cava visualizer
"custom/cava_mviz": { "custom/cava_mviz": {
@ -674,14 +671,14 @@
}, },
"custom/power": { "custom/power": {
"format": "⏻ ", "format": "⏻ ",
"exec": "echo ; echo 󰟡 power // blur",
"on-click": "~/.config/hypr/scripts/Wlogout.sh", "on-click": "~/.config/hypr/scripts/Wlogout.sh",
"on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh",
"interval": 86400, // once every day
"tooltip": true, "tooltip": true,
"tooltip-format": "Left Click: Logout Menu\nRight Click: Change Blur",
}, },
"custom/swaync": { "custom/swaync": {
"tooltip": true, "tooltip": true,
"tooltip-format": "Left Click: Launch Notification Center\nRight Click: Do not Disturb",
"format": "{icon} {}", "format": "{icon} {}",
"format-icons": { "format-icons": {
"notification": "<span foreground='red'><sup></sup></span>", "notification": "<span foreground='red'><sup></sup></span>",
@ -707,6 +704,8 @@
"exec-if": "[[ $(checkupdates | wc -l) ]]", "exec-if": "[[ $(checkupdates | wc -l) ]]",
"interval": 15, "interval": 15,
"on-click": "kitty -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'", "on-click": "kitty -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'",
"tooltip": true,
"tooltip-format": "Left Click: Update System\nArch Linux Only",
}, },
"custom/weather": { "custom/weather": {
"format": "{}", "format": "{}",

Loading…
Cancel
Save