Browse Source

Returning of pulseaudio vertical

pull/4/head
JaKooLit 2 years ago
parent
commit
cec14e04fa
  1. 8
      config/waybar/configs/config-default
  2. 2
      config/waybar/configs/config-dual-BL
  3. 2
      config/waybar/configs/config-dual-BR
  4. 2
      config/waybar/configs/config-dual-TL
  5. 2
      config/waybar/configs/config-dual-TR
  6. 4
      config/waybar/configs/config-left
  7. 4
      config/waybar/configs/config-right
  8. 967
      config/waybar/modules

8
config/waybar/configs/config-default

@ -43,10 +43,10 @@
"tray", "tray",
"custom/separator#dot-line", "custom/separator#dot-line",
//"cava", //"cava",
"battery", //"battery",
"custom/separator#dot-line", //"custom/separator#dot-line",
"backlight", //"backlight",
"custom/separator#dot-line", //"custom/separator#dot-line",
"pulseaudio", "pulseaudio",
"custom/separator#dot-line", "custom/separator#dot-line",
//"wireplumber", //"wireplumber",

2
config/waybar/configs/config-dual-BL

@ -58,7 +58,7 @@
], ],
"modules-center": [ "modules-center": [
"hyprland/workspaces", "hyprland/workspaces#2",
], ],
"modules-right": [ "modules-right": [

2
config/waybar/configs/config-dual-BR

@ -59,7 +59,7 @@
], ],
"modules-center": [ "modules-center": [
"hyprland/workspaces", "hyprland/workspaces#2",
], ],
"modules-right": [ "modules-right": [

2
config/waybar/configs/config-dual-TL

@ -58,7 +58,7 @@
], ],
"modules-center": [ "modules-center": [
"hyprland/workspaces", "hyprland/workspaces#2",
], ],
"modules-right": [ "modules-right": [

2
config/waybar/configs/config-dual-TR

@ -59,7 +59,7 @@
], ],
"modules-center": [ "modules-center": [
"hyprland/workspaces", "hyprland/workspaces#2",
], ],
"modules-right": [ "modules-right": [

4
config/waybar/configs/config-left

@ -19,7 +19,7 @@
], ],
"modules-center": [ "modules-center": [
"hyprland/workspaces", "hyprland/workspaces#2",
], ],
"modules-right": [ "modules-right": [
@ -27,7 +27,7 @@
"network", "network",
"backlight#vertical", "backlight#vertical",
"pulseaudio#microphone_vertical", "pulseaudio#microphone_vertical",
"pulseaudio", "pulseaudio#vertical",
"custom/power_vertical", "custom/power_vertical",
"custom/menu", "custom/menu",
], ],

4
config/waybar/configs/config-right

@ -19,7 +19,7 @@
], ],
"modules-center": [ "modules-center": [
"hyprland/workspaces", "hyprland/workspaces#2",
], ],
"modules-right": [ "modules-right": [
@ -27,7 +27,7 @@
"network", "network",
"backlight#vertical", "backlight#vertical",
"pulseaudio#microphone_vertical", "pulseaudio#microphone_vertical",
"pulseaudio", "pulseaudio#vertical",
"custom/power_vertical", "custom/power_vertical",
"custom/menu", "custom/menu",
], ],

967
config/waybar/modules

@ -1,479 +1,502 @@
{ {
"backlight": { "backlight": {
"interval": 2, "interval": 2,
"align": 0, "align": 0,
"rotate": 0, "rotate": 0,
//"format": "{icon} {percent}%", //"format": "{icon} {percent}%",
//"format-icons": ["󰃞", "󰃟", "󰃠"], //"format-icons": ["󰃞", "󰃟", "󰃠"],
"format": "{icon}",
"format-icons": ["󰛩", "󱩎", "󱩏", "󱩑", "󱩒", "󱩓", "󱩔", "󱩕", "󰛨"],
"tooltip-format": "{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": 60,
"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-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": "$HOME/.config/hypr/scripts/WofiPower.sh",
},
"bluetooth": {
"format": "",
"format-disabled": "", // an empty format will hide the module
"format-connected": " {num_connections}",
"tooltip-format": " {device_alias}",
"tooltip-format-connected": "{device_enumerate}",
"tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%",
"tooltip": true
},
"cava": {
//"cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
"framerate": 30,
"autosens": 1,
"sensitivity": 100,
"bars": 14,
"lower_cutoff_freq": 50,
"higher_cutoff_freq": 10000,
"method": "pulse",
"source": "auto",
"stereo": true,
"reverse": false,
"bar_delimiter": 0,
"monstercat": false,
"waves": false,
"noise_reduction": 0.77,
"input_delay": 2,
"format-icons" : ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ],
"actions": {
"on-click-right": "mode"
}
},
"clock": {
"interval": 1,
//"format": " {:%I:%M %p}",
"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": 360,
"separate-outputs": true,
},
"hyprland/workspaces": {
"format": "{name}",
//"format": " {name}:{icon} ",
//"format": " {icon} ",
"show-special": false,
"on-click": "activate",
"all-outputs": true,
"sort-by-number": true,
"format-icons": {
"1": " ",
"2": " ",
"3": " ",
"4": " ",
"5": " ",
"6": " ",
"7": "",
"8": " ",
"9": "",
"10": "10",
"focused": "",
"default": "",
},
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
},
"hyprland/workspaces#2": {
"format": "{icon}", "format": "{icon}",
"format-icons": ["󰛩", "󱩎", "󱩏", "󱩑", "󱩒", "󱩓", "󱩔", "󱩕", "󰛨"],
"tooltip-format": "{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": 60,
"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-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": "$HOME/.config/hypr/scripts/WofiPower.sh",
},
"bluetooth": {
"format": "",
"format-disabled": "", // an empty format will hide the module
"format-connected": " {num_connections}",
"tooltip-format": " {device_alias}",
"tooltip-format-connected": "{device_enumerate}",
"tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%",
"tooltip": true
},
"cava": {
//"cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
"framerate": 30,
"autosens": 1,
"sensitivity": 100,
"bars": 14,
"lower_cutoff_freq": 50,
"higher_cutoff_freq": 10000,
"method": "pulse",
"source": "auto",
"stereo": true,
"reverse": false,
"bar_delimiter": 0,
"monstercat": false,
"waves": false,
"noise_reduction": 0.77,
"input_delay": 2,
"format-icons" : ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ],
"actions": {
"on-click-right": "mode"
}
},
"clock": {
"interval": 1,
//"format": " {:%I:%M %p}",
"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": 360,
"separate-outputs": true,
},
"hyprland/workspaces": {
"format": "{name}",
//"format": " {name}:{icon} ",
//"format": " {icon} ",
"show-special": false,
"on-click": "activate", "on-click": "activate",
"on-scroll-up": "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": "",
},
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1", "on-scroll-down": "hyprctl dispatch workspace e-1",
},
"hyprland/workspaces#2": {
"format": "{icon}",
"on-click": "activate",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"format-icons": {
"active": "",
"default": "",
},
"active-only": false,
"all-outputs": true
},
"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": "foot --title btop sh -c 'btop'"
},
"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": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
},
"pulseaudio": {
"format": "{icon}",
"format-bluetooth": "{icon} {volume} %",
"format-muted": "󰖁",
"format-icons": { "format-icons": {
"active": "", "headphone": "",
"default": "", "hands-free": "",
}, "headset": "",
"active-only": false, "phone": "",
"all-outputs": true "portable": "",
}, "car": "",
"default": ["", "", "󰕾", ""],
"idle_inhibitor": { "ignored-sinks": ["Easy Effects Sink"],
"format": "{icon}", },
"format-icons": { "scroll-step": 5.0,
"activated": " ", "on-click": "~/.config/hypr/scripts/Volume.sh --toggle",
"deactivated": " ", "on-click-right": "pavucontrol -t 3",
} "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
}, "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
"smooth-scrolling-threshold": 1,
"keyboard-state": { },
//"numlock": true,
"capslock": true, "pulseaudio#microphone": {
"format": { "format": "{format_source}",
"numlock": "N {icon}", "format-source": " {volume}%",
"capslock": "󰪛 {icon}" "format-source-muted": "",
}, "on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic",
"format-icons": { "on-click-right": "pavucontrol -t 4",
"locked": "", "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc",
"unlocked": "" "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec",
} "scroll-step": 5,
}, },
"memory": { "temperature": {
"interval": 10, "interval": 10,
"format": "{used:0.1f}G 󰾆", "tooltip": false,
"format-alt": "{percentage}% 󰾆", "hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
"format-alt-click": "click", //"thermal-zone": 1,
"tooltip": true, "critical-threshold": 82,
"tooltip-format": "{used:0.1f}GB/{total:0.1f}G", "format-critical": "{temperatureC}°C {icon}",
"on-click-right": "foot --title btop sh -c 'btop'" "format": "{temperatureC}°C {icon}",
}, "format-icons": [""],
"on-click-right": "foot --title nvtop sh -c 'nvtop'"
"network": { },
"format": "{ifname}",
"format-wifi": "{icon}", "tray": {
"format-ethernet": "󰌘", "icon-size": 17,
"format-disconnected": "󰌙", "spacing": 8,
"tooltip-format": "{ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}", },
"format-linked": "󰈁 {ifname} (No IP)",
"tooltip-format-wifi": "{essid} {icon} {signalStrength}%", "wireplumber": {
"tooltip-format-ethernet": "{ifname} 󰌘", "format": "{icon} {volume} %",
"tooltip-format-disconnected": "󰌙 Disconnected", "format-muted": " Mute",
"max-length": 50, "on-click": "~/.config/hypr/scripts/Volume.sh --toggle",
"format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"] "on-click-right": "pavucontrol -t 3",
}, "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
"pulseaudio": { "format-icons": ["", "", "󰕾", ""],
"format": "{icon}", },
"format-bluetooth": "{icon} {volume} %",
"format-muted": "󰖁", "wlr/taskbar": {
"format-icons": { "format": "{icon} {name} ",
"headphone": "", "icon-size": 16,
"hands-free": "", "all-outputs": false,
"headset": "", "tooltip-format": "{title}",
"phone": "", "on-click": "activate",
"portable": "", "on-click-middle": "close",
"car": "", "ignore-list": [
"default": ["", "", "󰕾", ""], "wofi"
"ignored-sinks": ["Easy Effects Sink"], ]
}, },
"scroll-step": 5.0,
"on-click": "~/.config/hypr/scripts/Volume.sh --toggle", "custom/cycle_wall":{
"on-click-right": "pavucontrol -t 3", "format":" ",
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", "on-click": "~/.config/hypr/scripts/WallpaperSelect.sh",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "on-click-right": "~/.config/hypr/scripts/Wallpaper.sh swww",
"smooth-scrolling-threshold": 1, "on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh",
}, "tooltip": true,
"tooltip-format": "Change wallpaper or style"
"pulseaudio#microphone": { },
"format": "{format_source}",
"format-source": " {volume}%", "custom/keybindings": {
"format-source-muted": "", "format":"",
"on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic", "tooltip": false,
"on-click-right": "pavucontrol -t 4", "on-click": "~/.config/hypr/scripts/Help.sh",
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", },
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec",
"scroll-step": 5, "custom/light_dark": {
}, "format": "",
"on-click": "~/.config/hypr/scripts/DarkLight.sh",
"temperature": { "tooltip": false,
"interval": 10, },
"tooltip": false,
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input", "custom/lock": {
//"thermal-zone": 1, "format": "",
"critical-threshold": 82, "on-click": "~/.config/hypr/scripts/LockScreen.sh",
"format-critical": "{temperatureC}°C {icon}", "tooltip": false,
"format": "{temperatureC}°C {icon}", },
"format-icons": [""],
"on-click-right": "foot --title nvtop sh -c 'nvtop'" "custom/menu": {
}, "format": "",
"tooltip": false,
"tray": { "on-click": "$HOME/.config/hypr/scripts/Wofi.sh",
"icon-size": 17, "on-click-right": "$HOME/.config/hypr/scripts/ChangeLayoutMenu.sh",
"spacing": 8, "on-click-middle": "~/.config/hypr/scripts/Wallpaper.sh swaybg",
}, },
"wireplumber": { "custom/playerctl": {
"format": "{icon} {volume} %", "format": "<span>{}</span>",
"format-muted": " Mute", "return-type": "json",
"on-click": "~/.config/hypr/scripts/Volume.sh --toggle", "max-length": 35,
"on-click-right": "pavucontrol -t 3", "exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} ~ {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", "on-click-middle": "playerctl play-pause",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "on-click": "playerctl previous",
"format-icons": ["", "", "󰕾", ""], "on-click-right": "playerctl next"
}, },
"wlr/taskbar": { "custom/power": {
"format": "{icon} {name} ", "format": "⏻ ",
"icon-size": 16, "tooltip": false,
"all-outputs": false, //"on-click": "sh -c '(sleep 0.5s; wlogout --protocol layer-shell)' & disown",
"tooltip-format": "{title}", "on-click": "$HOME/.config/hypr/scripts/WofiPower.sh",
"on-click": "activate", "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh",
"on-click-middle": "close", },
"ignore-list": [
"wofi" "custom/updater":{
] "format": " {}",
}, "exec": "checkupdates | wc -l",
"exec-if": "[[ $(checkupdates | wc -l) ]]",
"custom/cycle_wall":{ "interval": 15,
"format":" ", "on-click": "foot -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'",
"on-click": "~/.config/hypr/scripts/WallpaperSelect.sh", "on-click-right": "~/.config/hypr/scripts/WallpaperSwitch.sh",
"on-click-right": "~/.config/hypr/scripts/Wallpaper.sh swww", },
"on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh",
"tooltip": true, "custom/weather": {
"tooltip-format": "Change wallpaper or style" "format": "{}",
}, "format-alt": "{alt}: {}",
"format-alt-click": "click",
"custom/keybindings": { "interval": 3600,
"format":"", "return-type": "json",
"tooltip": false, "exec": "~/.config/hypr/scripts/Weather.sh",
"on-click": "~/.config/hypr/scripts/Help.sh", //"exec": "~/.config/hypr/scripts/Weather.py",
}, "exec-if": "ping wttr.in -c1",
"tooltip" : true,
"custom/light_dark": { },
"format": "",
"on-click": "~/.config/hypr/scripts/DarkLight.sh",
"tooltip": false, // Separators
}, "custom/separator#dot": {
"format": "",
"custom/lock": { "interval": "once",
"format": "", "tooltip": false
"on-click": "~/.config/hypr/scripts/LockScreen.sh", },
"tooltip": false,
}, "custom/separator#dot-line": {
"format": "",
"custom/menu": { "interval": "once",
"format": "", "tooltip": false
"tooltip": false, },
"on-click": "$HOME/.config/hypr/scripts/Wofi.sh",
"on-click-right": "$HOME/.config/hypr/scripts/ChangeLayoutMenu.sh", "custom/separator#line": {
"on-click-middle": "~/.config/hypr/scripts/Wallpaper.sh swaybg", "format": "|",
}, "interval": "once",
"tooltip": false
"custom/playerctl": { },
"format": "<span>{}</span>",
"return-type": "json", // Modules below are for vertical layout
"max-length": 35,
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} ~ {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", "backlight#vertical": {
"on-click-middle": "playerctl play-pause", "interval": 2,
"on-click": "playerctl previous", "align": 0,
"on-click-right": "playerctl next" "rotate": 0,
}, "format": "{icon}",
"format-icons": ["󰛩", "󱩎", "󱩏", "󱩑", "󱩒", "󱩓", "󱩔", "󱩕", "󰛨"],
"custom/power": { "tooltip-format": "{percent}%",
"format": "⏻ ", "icon-size": 10,
"tooltip": false, "on-update": "",
//"on-click": "sh -c '(sleep 0.5s; wlogout --protocol layer-shell)' & disown", "icon-size": 10,
"on-click": "$HOME/.config/hypr/scripts/WofiPower.sh", "on-click": "",
"on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", "on-click-middle": "",
}, "on-click-right": "",
"on-update": "",
"custom/updater":{ "on-scroll-up": "~/.config/hypr/scripts/Brightness.sh --inc",
"format": " {}", "on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec",
"exec": "checkupdates | wc -l", "smooth-scrolling-threshold": 1,
"exec-if": "[[ $(checkupdates | wc -l) ]]", },
"interval": 15,
"on-click": "foot -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'", "clock#vertical": {
"on-click-right": "~/.config/hypr/scripts/WallpaperSwitch.sh", "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}",
"custom/weather": { "tooltip": true,
"format": "{}", "tooltip-format": "{calendar}",
"format-alt": "{alt}: {}", "calendar": {
"format-alt-click": "click", "mode": "year",
"interval": 3600, "mode-mon-col": 3,
"return-type": "json", "format": {
"exec": "~/.config/hypr/scripts/Weather.sh", "today": "<span color='#0dbc79'>{}</span>",
//"exec": "~/.config/hypr/scripts/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
},
// Modules below are for vertical layout
"backlight#vertical": {
"interval": 2,
"align": 0,
"rotate": 0,
"format": "{icon}",
"format-icons": ["󰛩", "󱩎", "󱩏", "󱩑", "󱩒", "󱩓", "󱩔", "󱩕", "󰛨"],
"tooltip-format": "{percent}%",
"icon-size": 10,
"on-update": "",
"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,
},
"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": {
"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", "format-alt-click": "click",
"format-alt-click": "click", "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": "foot --title btop sh -c 'btop'",
"on-click-right": "foot --title btop sh -c 'btop'", },
},
"pulseaudio#vertical": {
"pulseaudio#microphone_vertical": { "format": "{icon}",
"format": "{format_source}", "format-bluetooth": "{icon} ",
"format-source": "󰍬", "format-muted": "󰖁",
"format-source-muted": "󰍭", "format-icons": {
"on-click-right": "pavucontrol", "headphone": "",
"on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic", "hands-free": "",
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", "headset": "",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", "phone": "",
"max-volume": 100, "portable": "",
"tooltip": true, "car": "",
"tooltip-format": "{icon} {desc} {volume}%", "default": ["", "", "󰕾", ""],
}, "ignored-sinks": ["Easy Effects Sink"],
},
"temperature#vertical": { "scroll-step": 5.0,
"interval": 10, "on-click": "~/.config/hypr/scripts/Volume.sh --toggle",
"tooltip": true, "on-click-right": "pavucontrol -t 3",
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input", "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
//"thermal-zone": 0, "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
"critical-threshold": 80, "smooth-scrolling-threshold": 1,
"format-critical": "{icon}\n{temperatureC}°C", },
"format": " {icon}",
"format-icons": [""], "pulseaudio#microphone_vertical": {
"on-click-right": "foot --title nvtop sh -c 'nvtop'" "format": "{format_source}",
}, "format-source": "󰍬",
"format-source-muted": "󰍭",
"custom/power_vertical": { "on-click-right": "pavucontrol",
"format": "⏻", "on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic",
"tooltip": false, "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc",
"on-click": "$HOME/.config/hypr/scripts/WofiPower.sh", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec",
"on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", "max-volume": 100,
}, "tooltip": true,
} "tooltip-format": "{icon} {desc} {volume}%",
},
"temperature#vertical": {
"interval": 10,
"tooltip": true,
//"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
"thermal-zone": 0,
"critical-threshold": 80,
"format-critical": "{icon}\n{temperatureC}°C",
"format": " {icon}",
"format-icons": [""],
"on-click-right": "foot --title nvtop sh -c 'nvtop'"
},
"custom/power_vertical": {
"format": "⏻",
"tooltip": false,
"on-click": "$HOME/.config/hypr/scripts/WofiPower.sh",
"on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh",
},
}
Loading…
Cancel
Save