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. 197
      config/waybar/modules

8
config/waybar/configs/config-default

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

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

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

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

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

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

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

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

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

4
config/waybar/configs/config-left

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

4
config/waybar/configs/config-right

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

197
config/waybar/modules

@ -1,5 +1,5 @@
{
"backlight": {
"backlight": {
"interval": 2,
"align": 0,
"rotate": 0,
@ -16,9 +16,9 @@
"on-scroll-up": "~/.config/hypr/scripts/Brightness.sh --inc",
"on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec",
"smooth-scrolling-threshold": 1,
},
},
"battery": {
"battery": {
"interval": 60,
"align": 0,
"rotate": 0,
@ -42,9 +42,9 @@
"tooltip-format": "{timeTo} {power}w",
"on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh",
"on-click-right": "$HOME/.config/hypr/scripts/WofiPower.sh",
},
},
"bluetooth": {
"bluetooth": {
"format": "",
"format-disabled": "", // an empty format will hide the module
"format-connected": " {num_connections}",
@ -52,9 +52,9 @@
"tooltip-format-connected": "{device_enumerate}",
"tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%",
"tooltip": true
},
},
"cava": {
"cava": {
//"cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
"framerate": 30,
"autosens": 1,
@ -75,9 +75,9 @@
"actions": {
"on-click-right": "mode"
}
},
},
"clock": {
"clock": {
"interval": 1,
//"format": " {:%I:%M %p}",
"format": " {:%H:%M:%S}",
@ -103,18 +103,18 @@
"on-click-backward": "tz_down",
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
},
},
"cpu": {
"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": {
"disk": {
"interval": 30,
//"format": "󰋊",
"path": "/",
@ -122,28 +122,28 @@
"format": "{percentage_used}% 󰋊",
//"tooltip": true,
"tooltip-format": "{used} used out of {total} on {path} ({percentage_used}%)",
},
},
"hyprland/language": {
"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": {
"hyprland/submap": {
"format": "<span style=\"italic\"> {}</span>", // Icon: expand-arrows-alt
"tooltip": false,
},
},
"hyprland/window": {
"hyprland/window": {
"format": "{}",
"max-length": 360,
"separate-outputs": true,
},
},
"hyprland/workspaces": {
"hyprland/workspaces": {
"format": "{name}",
//"format": " {name}:{icon} ",
//"format": " {icon} ",
@ -167,9 +167,9 @@
},
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
},
},
"hyprland/workspaces#2": {
"hyprland/workspaces#2": {
"format": "{icon}",
"on-click": "activate",
"on-scroll-up": "hyprctl dispatch workspace e+1",
@ -180,17 +180,17 @@
},
"active-only": false,
"all-outputs": true
},
},
"idle_inhibitor": {
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": " ",
"deactivated": " ",
}
},
},
"keyboard-state": {
"keyboard-state": {
//"numlock": true,
"capslock": true,
"format": {
@ -201,9 +201,9 @@
"locked": "",
"unlocked": ""
}
},
},
"memory": {
"memory": {
"interval": 10,
"format": "{used:0.1f}G 󰾆",
"format-alt": "{percentage}% 󰾆",
@ -211,9 +211,9 @@
"tooltip": true,
"tooltip-format": "{used:0.1f}GB/{total:0.1f}G",
"on-click-right": "foot --title btop sh -c 'btop'"
},
},
"network": {
"network": {
"format": "{ifname}",
"format-wifi": "{icon}",
"format-ethernet": "󰌘",
@ -225,9 +225,9 @@
"tooltip-format-disconnected": "󰌙 Disconnected",
"max-length": 50,
"format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
},
},
"pulseaudio": {
"pulseaudio": {
"format": "{icon}",
"format-bluetooth": "{icon} {volume} %",
"format-muted": "󰖁",
@ -247,9 +247,9 @@
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
"smooth-scrolling-threshold": 1,
},
},
"pulseaudio#microphone": {
"pulseaudio#microphone": {
"format": "{format_source}",
"format-source": " {volume}%",
"format-source-muted": "",
@ -258,9 +258,9 @@
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec",
"scroll-step": 5,
},
},
"temperature": {
"temperature": {
"interval": 10,
"tooltip": false,
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
@ -270,14 +270,14 @@
"format": "{temperatureC}°C {icon}",
"format-icons": [""],
"on-click-right": "foot --title nvtop sh -c 'nvtop'"
},
},
"tray": {
"tray": {
"icon-size": 17,
"spacing": 8,
},
},
"wireplumber": {
"wireplumber": {
"format": "{icon} {volume} %",
"format-muted": " Mute",
"on-click": "~/.config/hypr/scripts/Volume.sh --toggle",
@ -285,9 +285,9 @@
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
"format-icons": ["", "", "󰕾", ""],
},
},
"wlr/taskbar": {
"wlr/taskbar": {
"format": "{icon} {name} ",
"icon-size": 16,
"all-outputs": false,
@ -297,44 +297,44 @@
"ignore-list": [
"wofi"
]
},
},
"custom/cycle_wall":{
"custom/cycle_wall":{
"format":" ",
"on-click": "~/.config/hypr/scripts/WallpaperSelect.sh",
"on-click-right": "~/.config/hypr/scripts/Wallpaper.sh swww",
"on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh",
"tooltip": true,
"tooltip-format": "Change wallpaper or style"
},
},
"custom/keybindings": {
"custom/keybindings": {
"format":"",
"tooltip": false,
"on-click": "~/.config/hypr/scripts/Help.sh",
},
},
"custom/light_dark": {
"custom/light_dark": {
"format": "",
"on-click": "~/.config/hypr/scripts/DarkLight.sh",
"tooltip": false,
},
},
"custom/lock": {
"custom/lock": {
"format": "",
"on-click": "~/.config/hypr/scripts/LockScreen.sh",
"tooltip": false,
},
},
"custom/menu": {
"custom/menu": {
"format": "",
"tooltip": false,
"on-click": "$HOME/.config/hypr/scripts/Wofi.sh",
"on-click-right": "$HOME/.config/hypr/scripts/ChangeLayoutMenu.sh",
"on-click-middle": "~/.config/hypr/scripts/Wallpaper.sh swaybg",
},
},
"custom/playerctl": {
"custom/playerctl": {
"format": "<span>{}</span>",
"return-type": "json",
"max-length": 35,
@ -342,26 +342,26 @@
"on-click-middle": "playerctl play-pause",
"on-click": "playerctl previous",
"on-click-right": "playerctl next"
},
},
"custom/power": {
"custom/power": {
"format": "⏻ ",
"tooltip": false,
//"on-click": "sh -c '(sleep 0.5s; wlogout --protocol layer-shell)' & disown",
"on-click": "$HOME/.config/hypr/scripts/WofiPower.sh",
"on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh",
},
},
"custom/updater":{
"custom/updater":{
"format": " {}",
"exec": "checkupdates | wc -l",
"exec-if": "[[ $(checkupdates | wc -l) ]]",
"interval": 15,
"on-click": "foot -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'",
"on-click-right": "~/.config/hypr/scripts/WallpaperSwitch.sh",
},
},
"custom/weather": {
"custom/weather": {
"format": "{}",
"format-alt": "{alt}: {}",
"format-alt-click": "click",
@ -371,31 +371,31 @@
//"exec": "~/.config/hypr/scripts/Weather.py",
"exec-if": "ping wttr.in -c1",
"tooltip" : true,
},
},
// Separators
"custom/separator#dot": {
// Separators
"custom/separator#dot": {
"format": "",
"interval": "once",
"tooltip": false
},
},
"custom/separator#dot-line": {
"custom/separator#dot-line": {
"format": "",
"interval": "once",
"tooltip": false
},
},
"custom/separator#line": {
"custom/separator#line": {
"format": "|",
"interval": "once",
"tooltip": false
},
},
// Modules below are for vertical layout
// Modules below are for vertical layout
"backlight#vertical": {
"backlight#vertical": {
"interval": 2,
"align": 0,
"rotate": 0,
@ -412,9 +412,9 @@
"on-scroll-up": "~/.config/hypr/scripts/Brightness.sh --inc",
"on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec",
"smooth-scrolling-threshold": 1,
},
},
"clock#vertical": {
"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}",
@ -427,14 +427,14 @@
"today": "<span color='#0dbc79'>{}</span>",
}
}
},
"cpu#vertical": {
},
"cpu#vertical": {
"format": "󰍛\n{usage}%",
"interval": 1,
"on-click-right": "gnome-system-monitor",
},
},
"memory#vertical": {
"memory#vertical": {
"interval": 10,
"format": "󰾆\n{percentage}%",
"format-alt": "󰾆\n{used:0.1f}G",
@ -442,9 +442,31 @@
"tooltip": true,
"tooltip-format": "{used:0.1f}GB/{total:0.1f}G",
"on-click-right": "foot --title btop sh -c 'btop'",
},
},
"pulseaudio#vertical": {
"format": "{icon}",
"format-bluetooth": "{icon} ",
"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",
"smooth-scrolling-threshold": 1,
},
"pulseaudio#microphone_vertical": {
"pulseaudio#microphone_vertical": {
"format": "{format_source}",
"format-source": "󰍬",
"format-source-muted": "󰍭",
@ -455,25 +477,26 @@
"max-volume": 100,
"tooltip": true,
"tooltip-format": "{icon} {desc} {volume}%",
},
},
"temperature#vertical": {
"temperature#vertical": {
"interval": 10,
"tooltip": true,
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
//"thermal-zone": 0,
//"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": {
"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