Browse Source

added waybar mpris module

pull/59/head
JaKooLit 2 years ago
parent
commit
962bffebb6
  1. 1
      config/waybar/configs/Bottom & Left
  2. 1
      config/waybar/configs/Bottom & Right
  3. 7
      config/waybar/configs/Camellia [Bottom]
  4. 11
      config/waybar/configs/Camellia [TOP]
  5. 2
      config/waybar/configs/Chrysanthemum [Bottom]
  6. 2
      config/waybar/configs/Chrysanthemum [TOP]
  7. 2
      config/waybar/configs/Def[Bottom]-Laptop
  8. 2
      config/waybar/configs/Def[TOP]-Laptop
  9. 2
      config/waybar/configs/Default [Bottom]
  10. 2
      config/waybar/configs/Default [TOP]
  11. 2
      config/waybar/configs/Gardenia [Bottom]
  12. 2
      config/waybar/configs/Gardenia [TOP]
  13. 1
      config/waybar/configs/Left
  14. 2
      config/waybar/configs/Peony [Bottom]
  15. 2
      config/waybar/configs/Peony [TOP]
  16. 1
      config/waybar/configs/Right
  17. 1
      config/waybar/configs/Simple-L [TOP]
  18. 1
      config/waybar/configs/Simple-S [TOP]
  19. 1
      config/waybar/configs/Top & Bottom
  20. 1
      config/waybar/configs/Top & Left
  21. 1
      config/waybar/configs/Top & Right
  22. 239
      config/waybar/modules

1
config/waybar/configs/Bottom & Left

@ -67,6 +67,7 @@
], ],
"modules-right": [ "modules-right": [
"mpris",
"tray", "tray",
"custom/light_dark", "custom/light_dark",
], ],

1
config/waybar/configs/Bottom & Right

@ -67,6 +67,7 @@
], ],
"modules-right": [ "modules-right": [
"mpris",
"tray", "tray",
"custom/light_dark", "custom/light_dark",
], ],

7
config/waybar/configs/Camellia [Bottom]

@ -20,7 +20,12 @@
//"margin-left": 0, //"margin-left": 0,
//"margin-right": 0, //"margin-right": 0,
"modules-left": ["hyprland/workspaces#cam","custom/separator#line","tray#cam", "wlr/taskbar"], "modules-left": [
"hyprland/workspaces#cam",
"custom/separator#line",
"mpris",
"tray#cam",
"wlr/taskbar"],
"modules-center": ["hyprland/window#cam"], "modules-center": ["hyprland/window#cam"],

11
config/waybar/configs/Camellia [TOP]

@ -20,7 +20,13 @@
//"margin-left": 0, //"margin-left": 0,
//"margin-right": 0, //"margin-right": 0,
"modules-left": ["hyprland/workspaces#cam","custom/separator#line","tray#cam", "wlr/taskbar"], "modules-left": [
"hyprland/workspaces#cam",
"custom/separator#line",
"mpris",
"tray#cam",
"wlr/taskbar"
],
"modules-center": ["hyprland/window#cam"], "modules-center": ["hyprland/window#cam"],
@ -31,7 +37,8 @@
"pulseaudio/slider", "pulseaudio/slider",
"battery#cam", "battery#cam",
"clock#cam", "clock#cam",
"network#cam"], "network#cam"
],
// Additional modules // // Additional modules //

2
config/waybar/configs/Chrysanthemum [Bottom]

@ -17,7 +17,7 @@
"margin-left": 5, "margin-left": 5,
"margin-right": 5, "margin-right": 5,
"modules-left": ["clock#gar","tray"], "modules-left": ["clock#gar", "mpris", "tray"],
"modules-center": ["hyprland/workspaces"], "modules-center": ["hyprland/workspaces"],

2
config/waybar/configs/Chrysanthemum [TOP]

@ -18,7 +18,7 @@
"margin-right": 5, "margin-right": 5,
"margin-top": 0, "margin-top": 0,
"modules-left": ["clock#gar","tray"], "modules-left": ["clock#gar", "mpris", "tray"],
"modules-center": ["hyprland/workspaces"], "modules-center": ["hyprland/workspaces"],

2
config/waybar/configs/Def[Bottom]-Laptop

@ -43,8 +43,8 @@
], ],
"modules-right": [ "modules-right": [
//"hyprland/window",
"tray", "tray",
"mpris",
"custom/separator#dot-line", "custom/separator#dot-line",
"bluetooth", "bluetooth",
"custom/separator#dot-line", "custom/separator#dot-line",

2
config/waybar/configs/Def[TOP]-Laptop

@ -43,8 +43,8 @@
], ],
"modules-right": [ "modules-right": [
//"hyprland/window",
"tray", "tray",
"mpris",
"custom/separator#dot-line", "custom/separator#dot-line",
"bluetooth", "bluetooth",
"custom/separator#dot-line", "custom/separator#dot-line",

2
config/waybar/configs/Default [Bottom]

@ -43,8 +43,8 @@
], ],
"modules-right": [ "modules-right": [
//"hyprland/window",
"tray", "tray",
"mpris",
"custom/separator#dot-line", "custom/separator#dot-line",
"bluetooth", "bluetooth",
"custom/separator#dot-line", "custom/separator#dot-line",

2
config/waybar/configs/Default [TOP]

@ -43,8 +43,8 @@
], ],
"modules-right": [ "modules-right": [
//"hyprland/window",
"tray", "tray",
"mpris",
"custom/separator#dot-line", "custom/separator#dot-line",
"bluetooth", "bluetooth",
"custom/separator#dot-line", "custom/separator#dot-line",

2
config/waybar/configs/Gardenia [Bottom]

@ -20,7 +20,7 @@
"margin-bottom": 5, "margin-bottom": 5,
"width": 768, "width": 768,
"modules-left": ["clock#gar","tray"], "modules-left": ["clock#gar", "mpris", "tray"],
"modules-center": ["hyprland/workspaces#kanji"], "modules-center": ["hyprland/workspaces#kanji"],

2
config/waybar/configs/Gardenia [TOP]

@ -19,7 +19,7 @@
//"margin-bottom": 5, //"margin-bottom": 5,
"width": 768, "width": 768,
"modules-left": ["clock#gar","tray"], "modules-left": ["clock#gar", "mpris", "tray"],
"modules-center": ["hyprland/workspaces#kanji"], "modules-center": ["hyprland/workspaces#kanji"],

1
config/waybar/configs/Left

@ -25,6 +25,7 @@
], ],
"modules-right": [ "modules-right": [
"mpris",
"tray", "tray",
//"network", //"network",
"backlight#vertical", "backlight#vertical",

2
config/waybar/configs/Peony [Bottom]

@ -19,7 +19,7 @@
"margin-bottom": 5, "margin-bottom": 5,
"width": 1444, "width": 1444,
"modules-left": ["hyprland/workspaces#roman", "tray#peony"], "modules-left": ["hyprland/workspaces#roman", "mpris", "tray#peony"],
"modules-center": ["clock#peony"], "modules-center": ["clock#peony"],

2
config/waybar/configs/Peony [TOP]

@ -19,7 +19,7 @@
//"margin-bottom": 5, //"margin-bottom": 5,
"width": 1444, "width": 1444,
"modules-left": ["hyprland/workspaces#roman", "tray#peony"], "modules-left": ["hyprland/workspaces#roman", "mpris", "tray#peony"],
"modules-center": ["clock#peony"], "modules-center": ["clock#peony"],

1
config/waybar/configs/Right

@ -25,6 +25,7 @@
], ],
"modules-right": [ "modules-right": [
"mpris",
"tray", "tray",
//"network", //"network",
"backlight#vertical", "backlight#vertical",

1
config/waybar/configs/Simple-L [TOP]

@ -21,6 +21,7 @@
"custom/separator#blank_2", "custom/separator#blank_2",
"hyprland/workspaces#pacman", "hyprland/workspaces#pacman",
"custom/separator#blank_2", "custom/separator#blank_2",
"mpris",
"tray", "tray",
], ],
"modules-center": [ "modules-center": [

1
config/waybar/configs/Simple-S [TOP]

@ -21,6 +21,7 @@
"modules-right": [ "modules-right": [
"custom/menu", "custom/menu",
"tray", "tray",
"mpris",
"network", "network",
"bluetooth", "bluetooth",
"backlight", "backlight",

1
config/waybar/configs/Top & Bottom

@ -67,6 +67,7 @@
"modules-right": [ "modules-right": [
"hyprland/window", "hyprland/window",
"tray", "tray",
"mpris",
"keyboard-state", "keyboard-state",
"pulseaudio", "pulseaudio",
//"wireplumber", //"wireplumber",

1
config/waybar/configs/Top & Left

@ -63,6 +63,7 @@
], ],
"modules-right": [ "modules-right": [
"mpris",
"tray", "tray",
"custom/light_dark", "custom/light_dark",
], ],

1
config/waybar/configs/Top & Right

@ -64,6 +64,7 @@
], ],
"modules-right": [ "modules-right": [
"mpris",
"tray", "tray",
"custom/light_dark", "custom/light_dark",
], ],

239
config/waybar/modules

@ -1,9 +1,9 @@
//* ---- 💫 https://github.com/JaKooLit 💫 ---- *// //* ---- 💫 https://github.com/JaKooLit 💫 ---- *//
{ {
// HYPRLAND WORKSPACES. CHOOSE as desired and place on waybar configs // HYPRLAND WORKSPACES. CHOOSE as desired and place on waybar configs
// CIRCLES Style // CIRCLES Style
"hyprland/workspaces": { "hyprland/workspaces": {
"active-only": false, "active-only": false,
"all-outputs": true, "all-outputs": true,
"format": "{icon}", "format": "{icon}",
@ -22,9 +22,10 @@
"active": "", "active": "",
"default": "", "default": "",
}, },
}, },
// ROMAN Numerals style
"hyprland/workspaces#roman": { // ROMAN Numerals style
"hyprland/workspaces#roman": {
"active-only":false, "active-only":false,
"all-outputs": true, "all-outputs": true,
"format": "{icon}", "format": "{icon}",
@ -52,8 +53,9 @@
"10": "X", "10": "X",
}, },
}, },
// PACMAN Style
// PACMAN Style
"hyprland/workspaces#pacman": { "hyprland/workspaces#pacman": {
"active-only":false, "active-only":false,
"all-outputs": true, "all-outputs": true,
@ -75,9 +77,9 @@
"default": "󰊠", "default": "󰊠",
"persistent":"󰊠", "persistent":"󰊠",
}, },
}, },
"hyprland/workspaces#kanji": { "hyprland/workspaces#kanji": {
"disable-scroll": true, "disable-scroll": true,
"all-outputs": true, "all-outputs": true,
"format": "{icon}", "format": "{icon}",
@ -100,10 +102,10 @@
"9": "九", "9": "九",
"10": "十", "10": "十",
} }
}, },
// NUMBERS and ICONS style // NUMBERS and ICONS style
"hyprland/workspaces#4": { "hyprland/workspaces#4": {
"format": "{name}", "format": "{name}",
"format": " {name} {icon} ", "format": " {name} {icon} ",
//"format": " {icon} ", //"format": " {icon} ",
@ -127,11 +129,11 @@
"focused": "", "focused": "",
"default": "", "default": "",
}, },
}, },
// GROUP // GROUP
"group/motherboard": { "group/motherboard": {
"orientation": "horizontal", "orientation": "horizontal",
"modules": [ "modules": [
"cpu", "cpu",
@ -139,25 +141,25 @@
"temperature", "temperature",
"disk", "disk",
] ]
}, },
"group/laptop": { "group/laptop": {
"orientation": "horizontal", "orientation": "horizontal",
"modules": [ "modules": [
"backlight", "backlight",
"battery", "battery",
] ]
}, },
"group/audio": { "group/audio": {
"orientation": "horizontal", "orientation": "horizontal",
"modules": [ "modules": [
"pulseaudio", "pulseaudio",
"pulseaudio#microphone", "pulseaudio#microphone",
] ]
}, },
"backlight": { "backlight": {
"interval": 2, "interval": 2,
"align": 0, "align": 0,
"rotate": 0, "rotate": 0,
@ -174,9 +176,9 @@
"on-scroll-up": "~/.config/hypr/scripts/Brightness.sh --inc", "on-scroll-up": "~/.config/hypr/scripts/Brightness.sh --inc",
"on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec", "on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec",
"smooth-scrolling-threshold": 1, "smooth-scrolling-threshold": 1,
}, },
"battery": { "battery": {
"interval": 60, "interval": 60,
"align": 0, "align": 0,
"rotate": 0, "rotate": 0,
@ -200,9 +202,9 @@
"tooltip-format": "{timeTo} {power}w", "tooltip-format": "{timeTo} {power}w",
"on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh", "on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh",
"on-click-right": "~/.config/hypr/scripts/RofiPower.sh", "on-click-right": "~/.config/hypr/scripts/RofiPower.sh",
}, },
"bluetooth": { "bluetooth": {
"format": "", "format": "",
"format-disabled": "󰂳", "format-disabled": "󰂳",
"format-connected": "󰂱 {num_connections}", "format-connected": "󰂱 {num_connections}",
@ -211,9 +213,9 @@
"tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%", "tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%",
"tooltip": true, "tooltip": true,
"on-click": "blueman-manager", "on-click": "blueman-manager",
}, },
"cava": { "cava": {
//"cava_config": "$XDG_CONFIG_HOME/cava/cava.conf", //"cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
"framerate": 30, "framerate": 30,
"autosens": 1, "autosens": 1,
@ -234,9 +236,9 @@
"actions": { "actions": {
"on-click-right": "mode" "on-click-right": "mode"
} }
}, },
"clock": { "clock": {
"interval": 1, "interval": 1,
//"format": " {:%I:%M %p}", //"format": " {:%I:%M %p}",
"format": " {:%H:%M:%S}", "format": " {:%H:%M:%S}",
@ -262,18 +264,18 @@
"on-click-backward": "tz_down", "on-click-backward": "tz_down",
"on-scroll-up": "shift_up", "on-scroll-up": "shift_up",
"on-scroll-down": "shift_down" "on-scroll-down": "shift_down"
}, },
"cpu": { "cpu": {
"format": "{usage}% 󰍛", "format": "{usage}% 󰍛",
"interval": 1, "interval": 1,
"format-alt-click": "click", "format-alt-click": "click",
"format-alt": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% 󰍛", "format-alt": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% 󰍛",
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"], "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
"on-click-right": "gnome-system-monitor", "on-click-right": "gnome-system-monitor",
}, },
"disk": { "disk": {
"interval": 30, "interval": 30,
//"format": "󰋊", //"format": "󰋊",
"path": "/", "path": "/",
@ -281,22 +283,22 @@
"format": "{percentage_used}% 󰋊", "format": "{percentage_used}% 󰋊",
//"tooltip": true, //"tooltip": true,
"tooltip-format": "{used} used out of {total} on {path} ({percentage_used}%)", "tooltip-format": "{used} used out of {total} on {path} ({percentage_used}%)",
}, },
"hyprland/language": { "hyprland/language": {
"format": "Lang: {}", "format": "Lang: {}",
"format-en": "US", "format-en": "US",
"format-tr": "Korea", "format-tr": "Korea",
"keyboard-name": "at-translated-set-2-keyboard", "keyboard-name": "at-translated-set-2-keyboard",
"on-click": "hyprctl switchxkblayout $SET_KB next" "on-click": "hyprctl switchxkblayout $SET_KB next"
}, },
"hyprland/submap": { "hyprland/submap": {
"format": "<span style=\"italic\"> {}</span>", // Icon: expand-arrows-alt "format": "<span style=\"italic\"> {}</span>", // Icon: expand-arrows-alt
"tooltip": false, "tooltip": false,
}, },
"hyprland/window": { "hyprland/window": {
"format": "{}", "format": "{}",
"max-length": 40, "max-length": 40,
"separate-outputs": true, "separate-outputs": true,
@ -308,17 +310,17 @@
"(.*) - zsh": "> [$1]", "(.*) - zsh": "> [$1]",
"(.*) - kitty": "> [$1]", "(.*) - kitty": "> [$1]",
}, },
}, },
"idle_inhibitor": { "idle_inhibitor": {
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
"activated": " ", "activated": " ",
"deactivated": " ", "deactivated": " ",
} }
}, },
"keyboard-state": { "keyboard-state": {
//"numlock": true, //"numlock": true,
"capslock": true, "capslock": true,
"format": { "format": {
@ -329,9 +331,9 @@
"locked": "", "locked": "",
"unlocked": "" "unlocked": ""
}, },
}, },
"memory": { "memory": {
"interval": 10, "interval": 10,
"format": "{used:0.1f}G 󰾆", "format": "{used:0.1f}G 󰾆",
"format-alt": "{percentage}% 󰾆", "format-alt": "{percentage}% 󰾆",
@ -339,9 +341,23 @@
"tooltip": true, "tooltip": true,
"tooltip-format": "{used:0.1f}GB/{total:0.1f}G", "tooltip-format": "{used:0.1f}GB/{total:0.1f}G",
"on-click-right": "kitty --title btop sh -c 'btop'" "on-click-right": "kitty --title btop sh -c 'btop'"
},
"mpris": {
"format": "{player_icon}",
"format-paused": "{status_icon} <i>{dynamic}</i>",
"player-icons": {
"default": "▶",
"mpv": "📻",
}, },
"status-icons": {
"paused": "⏸"
},
// "ignored-players": ["firefox"]
"max-length": 30,
},
"network": { "network": {
"format": "{ifname}", "format": "{ifname}",
"format-wifi": "{icon}", "format-wifi": "{icon}",
"format-ethernet": "󰌘", "format-ethernet": "󰌘",
@ -353,9 +369,9 @@
"tooltip-format-disconnected": "󰌙 Disconnected", "tooltip-format-disconnected": "󰌙 Disconnected",
"max-length": 50, "max-length": 50,
"format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"] "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
}, },
"network#speed": { "network#speed": {
"interval": 1, "interval": 1,
"format": "{ifname}", "format": "{ifname}",
"format-wifi": "{icon} {bandwidthUpBytes} {bandwidthDownBytes}", "format-wifi": "{icon} {bandwidthUpBytes} {bandwidthDownBytes}",
@ -368,9 +384,9 @@
"tooltip-format-disconnected": "󰌙 Disconnected", "tooltip-format-disconnected": "󰌙 Disconnected",
"max-length": 50, "max-length": 50,
"format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"] "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
}, },
"pulseaudio": { "pulseaudio": {
"format": "{icon}", "format": "{icon}",
"format-bluetooth": "{icon} 󰂰 {volume}%", "format-bluetooth": "{icon} 󰂰 {volume}%",
"format-muted": "󰖁", "format-muted": "󰖁",
@ -390,9 +406,9 @@
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
"smooth-scrolling-threshold": 1, "smooth-scrolling-threshold": 1,
}, },
"pulseaudio#microphone": { "pulseaudio#microphone": {
"format": "{format_source}", "format": "{format_source}",
"format-source": " {volume}%", "format-source": " {volume}%",
"format-source-muted": "", "format-source-muted": "",
@ -401,9 +417,9 @@
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec",
"scroll-step": 5, "scroll-step": 5,
}, },
"temperature": { "temperature": {
"interval": 10, "interval": 10,
"tooltip": false, "tooltip": false,
"hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"], "hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"],
@ -413,14 +429,14 @@
"format": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}",
"format-icons": ["󰈸"], "format-icons": ["󰈸"],
"on-click-right": "kitty --title nvtop sh -c 'nvtop'" "on-click-right": "kitty --title nvtop sh -c 'nvtop'"
}, },
"tray": { "tray": {
"icon-size": 14, "icon-size": 14,
"spacing": 8, "spacing": 8,
}, },
"wireplumber": { "wireplumber": {
"format": "{icon} {volume} %", "format": "{icon} {volume} %",
"format-muted": " Mute", "format-muted": " Mute",
"on-click": "~/.config/hypr/scripts/Volume.sh --toggle", "on-click": "~/.config/hypr/scripts/Volume.sh --toggle",
@ -428,9 +444,9 @@
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
"format-icons": ["", "", "󰕾", ""], "format-icons": ["", "", "󰕾", ""],
}, },
"wlr/taskbar": { "wlr/taskbar": {
"format": "{icon} {name} ", "format": "{icon} {name} ",
"icon-size": 16, "icon-size": 16,
"all-outputs": false, "all-outputs": false,
@ -441,24 +457,24 @@
"wofi", "wofi",
"rofi", "rofi",
] ]
}, },
"custom/cycle_wall":{ "custom/cycle_wall":{
"format":" ", "format":" ",
"on-click": "~/.config/hypr/scripts/WallpaperSelect.sh", "on-click": "~/.config/hypr/scripts/WallpaperSelect.sh",
"on-click-right": "~/.config/hypr/scripts/Wallpaper.sh", "on-click-right": "~/.config/hypr/scripts/Wallpaper.sh",
"on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh", "on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh",
"tooltip": true, "tooltip": true,
"tooltip-format": "Change wallpaper or style" "tooltip-format": "Change wallpaper or style"
}, },
"custom/keybinds": { "custom/keybinds": {
"format":"󰺁 HINT!", "format":"󰺁 HINT!",
"tooltip": false, "tooltip": false,
"on-click": "~/.config/hypr/scripts/KeyHints.sh", "on-click": "~/.config/hypr/scripts/KeyHints.sh",
}, },
"custom/keyboard": { "custom/keyboard": {
"exec": "cat ~/.cache/kb_layout", "exec": "cat ~/.cache/kb_layout",
"interval": 1, "interval": 1,
"format": " {}", "format": " {}",
@ -466,29 +482,29 @@
"tooltip": false, "tooltip": false,
}, },
"custom/light_dark": { "custom/light_dark": {
"format": "", "format": "",
"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/scripts/Wallpaper.sh", "on-click-middle": "~/.config/hypr/scripts/Wallpaper.sh",
"tooltip": false, "tooltip": false,
}, },
"custom/lock": { "custom/lock": {
"format": "", "format": "",
"on-click": "~/.config/hypr/scripts/LockScreen.sh", "on-click": "~/.config/hypr/scripts/LockScreen.sh",
"tooltip": false, "tooltip": false,
}, },
"custom/menu": { "custom/menu": {
"format": "", "format": "",
"tooltip": false, "tooltip": false,
"on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser", "on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser",
"on-click-middle": "~/.config/hypr/scripts/WallpaperSelect.sh", "on-click-middle": "~/.config/hypr/scripts/WallpaperSelect.sh",
"on-click-right": "~/.config/hypr/scripts/WaybarLayout.sh", "on-click-right": "~/.config/hypr/scripts/WaybarLayout.sh",
}, },
"custom/playerctl": { "custom/playerctl": {
"format": "<span>{}</span>", "format": "<span>{}</span>",
"return-type": "json", "return-type": "json",
"max-length": 35, "max-length": 35,
@ -500,25 +516,25 @@
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
"smooth-scrolling-threshold": 1, "smooth-scrolling-threshold": 1,
}, },
"custom/power": { "custom/power": {
"format": "⏻ ", "format": "⏻ ",
"tooltip": false, "tooltip": false,
"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",
}, },
// NOTE:! This is only for Arch and Arch Based Distros // NOTE:! This is only for Arch and Arch Based Distros
"custom/updater":{ "custom/updater":{
"format": " {}", "format": " {}",
"exec": "checkupdates | wc -l", "exec": "checkupdates | wc -l",
"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'",
}, },
"custom/weather": { "custom/weather": {
"format": "{}", "format": "{}",
"format-alt": "{alt}: {}", "format-alt": "{alt}: {}",
"format-alt-click": "click", "format-alt-click": "click",
@ -528,43 +544,43 @@
//"exec": "~/.config/hypr/scripts/Weather.py", //"exec": "~/.config/hypr/scripts/Weather.py",
"exec-if": "ping wttr.in -c1", "exec-if": "ping wttr.in -c1",
"tooltip" : true, "tooltip" : true,
}, },
// Separators // Separators
"custom/separator#dot": { "custom/separator#dot": {
"format": "", "format": "",
"interval": "once", "interval": "once",
"tooltip": false "tooltip": false
}, },
"custom/separator#dot-line": { "custom/separator#dot-line": {
"format": "", "format": "",
"interval": "once", "interval": "once",
"tooltip": false "tooltip": false
}, },
"custom/separator#line": { "custom/separator#line": {
"format": "|", "format": "|",
"interval": "once", "interval": "once",
"tooltip": false "tooltip": false
}, },
"custom/separator#blank": { "custom/separator#blank": {
"format": "", "format": "",
"interval": "once", "interval": "once",
"tooltip": false "tooltip": false
}, },
"custom/separator#blank_2": { "custom/separator#blank_2": {
"format": " ", "format": " ",
"interval": "once", "interval": "once",
"tooltip": false "tooltip": false
}, },
// Modules below are for vertical layout // Modules below are for vertical layout
"backlight#vertical": { "backlight#vertical": {
"interval": 2, "interval": 2,
"align": 0.35, "align": 0.35,
"rotate": 1, "rotate": 1,
@ -579,9 +595,9 @@
"on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec", "on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec",
"smooth-scrolling-threshold": 1, "smooth-scrolling-threshold": 1,
//"tooltip-format": "{percent}%", //"tooltip-format": "{percent}%",
}, },
"clock#vertical": { "clock#vertical": {
"format": "{:\n%H\n%M\n%S\n\n \n%d\n%m\n%y}", "format": "{:\n%H\n%M\n%S\n\n \n%d\n%m\n%y}",
"interval": 1, "interval": 1,
//"format": "{:\n%I\n%M\n%p\n\n \n%d\n%m\n%y}", //"format": "{:\n%I\n%M\n%p\n\n \n%d\n%m\n%y}",
@ -594,14 +610,15 @@
"today": "<span color='#0dbc79'>{}</span>", "today": "<span color='#0dbc79'>{}</span>",
} }
} }
}, },
"cpu#vertical": {
"cpu#vertical": {
"format": "󰍛\n{usage}%", "format": "󰍛\n{usage}%",
"interval": 1, "interval": 1,
"on-click-right": "gnome-system-monitor", "on-click-right": "gnome-system-monitor",
}, },
"memory#vertical": { "memory#vertical": {
"interval": 10, "interval": 10,
"format": "󰾆\n{percentage}%", "format": "󰾆\n{percentage}%",
"format-alt": "󰾆\n{used:0.1f}G", "format-alt": "󰾆\n{used:0.1f}G",
@ -609,9 +626,9 @@
"tooltip": true, "tooltip": true,
"tooltip-format": "{used:0.1f}GB/{total:0.1f}G", "tooltip-format": "{used:0.1f}GB/{total:0.1f}G",
"on-click-right": "kitty --title btop sh -c 'btop'", "on-click-right": "kitty --title btop sh -c 'btop'",
}, },
"pulseaudio#vertical": { "pulseaudio#vertical": {
"format": "{icon}", "format": "{icon}",
"format-bluetooth": "󰂰", "format-bluetooth": "󰂰",
"format-muted": "󰖁", "format-muted": "󰖁",
@ -631,9 +648,9 @@
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
"smooth-scrolling-threshold": 1, "smooth-scrolling-threshold": 1,
}, },
"pulseaudio#microphone_vertical": { "pulseaudio#microphone_vertical": {
"format": "{format_source}", "format": "{format_source}",
"format-source": "󰍬", "format-source": "󰍬",
"format-source-muted": "󰍭", "format-source-muted": "󰍭",
@ -644,9 +661,9 @@
"max-volume": 100, "max-volume": 100,
"tooltip": true, "tooltip": true,
"tooltip-format": "{icon} {desc} {volume}%", "tooltip-format": "{icon} {desc} {volume}%",
}, },
"temperature#vertical": { "temperature#vertical": {
"interval": 10, "interval": 10,
"tooltip": true, "tooltip": true,
"hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"], "hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"],
@ -656,16 +673,16 @@
"format": " {icon}", "format": " {icon}",
"format-icons": ["󰈸"], "format-icons": ["󰈸"],
"on-click-right": "kitty --title nvtop sh -c 'nvtop'" "on-click-right": "kitty --title nvtop sh -c 'nvtop'"
}, },
"custom/power_vertical": { "custom/power_vertical": {
"format": "⏻", "format": "⏻",
"tooltip": false, "tooltip": false,
"on-click": "~/.config/hypr/scripts/RofiPower.sh", "on-click": "~/.config/hypr/scripts/RofiPower.sh",
"on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh",
}, },
} }
Loading…
Cancel
Save