Browse Source

Merge pull request #6 from JaKooLit/dev-2

From Dev-2
pull/7/head
Ja.KooLit 2 years ago committed by GitHub
parent
commit
8b12e1e270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      config/waybar/config
  2. 24
      config/waybar/configs/config-dual-TL
  3. 81
      config/waybar/configs/config-dual-TR
  4. 943
      config/waybar/modules
  5. 2
      config/waybar/style.css
  6. 1
      config/waybar/style/style-default_alter.css

2
config/waybar/config

@ -1 +1 @@
For symlinks later for symlink

24
config/waybar/configs/config-dual-TL

@ -4,6 +4,7 @@
"include": "~/.config/waybar/modules", "include": "~/.config/waybar/modules",
"layer": "top", "layer": "top",
//"mode": "dock", //"mode": "dock",
"width": 1200,
"exclusive": true, "exclusive": true,
"passthrough": false, "passthrough": false,
"position": "top", "position": "top",
@ -15,21 +16,23 @@
"margin-right": 8, "margin-right": 8,
"modules-left": [ "modules-left": [
"custom/menu", "temperature",
"cpu", "cpu",
"temperature",
"memory", "memory",
"disk", "disk",
], ],
"modules-center": [ "modules-center": [
"hyprland/window", //"hyprland/window",
"custom/weather", "custom/lock",
] , "custom/menu",
"idle_inhibitor",
],
"modules-right": [ "modules-right": [
"network", //"network",
"bluetooth", //"bluetooth",
"custom/weather",
"battery", "battery",
"backlight", "backlight",
"pulseaudio", "pulseaudio",
@ -44,6 +47,7 @@
"include": "~/.config/waybar/modules", "include": "~/.config/waybar/modules",
"layer": "top", "layer": "top",
"position": "left", "position": "left",
"height": 650,
"margin-top": 8, "margin-top": 8,
"margin-bottom": 8, "margin-bottom": 8,
"margin-left": 8, "margin-left": 8,
@ -54,18 +58,16 @@
//"gtk-layer-shell": true, //"gtk-layer-shell": true,
"modules-left": [ "modules-left": [
"idle_inhibitor", "hyprland/workspaces#2",
], ],
"modules-center": [ "modules-center": [
"hyprland/workspaces#2", "clock#vertical",
], ],
"modules-right": [ "modules-right": [
"tray", "tray",
"clock#vertical",
"custom/light_dark", "custom/light_dark",
"custom/lock",
], ],
}] }]

81
config/waybar/configs/config-dual-TR

@ -1,72 +1,73 @@
// ### TOP and RIGHT PANEL ## // // ### TOP and LEFT PANEL ## //
[{ [{
"include": "~/.config/waybar/modules", "include": "~/.config/waybar/modules",
"layer": "top", "layer": "top",
//"mode": "dock", //"mode": "dock",
"width": 1200,
"exclusive": true, "exclusive": true,
"passthrough": false, "passthrough": false,
"position": "top", "position": "top",
"spacing": 3, "spacing": 3,
"fixed-center": true, "fixed-center": true,
"ipc": true, "ipc": true,
"padding": 2,
"margin-top": 6, "margin-top": 6,
"margin-left": 8, "margin-left": 8,
"margin-right": 8, "margin-right": 8,
"modules-left": [ "modules-left": [
"cpu", "temperature",
"temperature", "cpu",
"memory", "memory",
], "disk",
],
"modules-center": [ "modules-center": [
"hyprland/window", //"hyprland/window",
"custom/weather", "custom/lock",
], "custom/menu",
"idle_inhibitor",
"modules-right": [
"network",
"bluetooth",
//"cava",
"battery",
"backlight",
"pulseaudio",
//"wireplumber",
"pulseaudio#microphone",
"keyboard-state",
"custom/power",
], ],
"modules-right": [
//"network",
//"bluetooth",
"custom/weather",
"battery",
"backlight",
"pulseaudio",
//"wireplumber",
"pulseaudio#microphone",
"keyboard-state",
"custom/power",
],
}, },
{ {
"include": "~/.config/waybar/modules", "include": "~/.config/waybar/modules",
"layer": "top", "layer": "top",
"position": "right", "position": "right",
"height": 650,
"margin-top": 8, "margin-top": 8,
"margin-bottom": 8, "margin-bottom": 8,
"margin-left": 1, "margin-left": 8,
"margin-right": 8, "margin-right": 3,
"spacing": 3, "spacing": 3,
"fixed-center": true, "fixed-center": true,
"ipc": true, "ipc": true,
"gtk-layer-shell": true, //"gtk-layer-shell": true,
"modules-left": [ "modules-left": [
"custom/menu", "hyprland/workspaces#2",
"custom/light_dark", ],
],
"modules-center": [ "modules-center": [
"hyprland/workspaces#2", "clock#vertical",
], ],
"modules-right": [ "modules-right": [
"idle_inhibitor", "tray",
"custom/lock", "custom/light_dark",
"tray", ],
"clock#vertical",
],
}] }]

943
config/waybar/modules

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

2
config/waybar/style.css

@ -1 +1 @@
For symlinks later for symlink

1
config/waybar/style/style-default_alter.css

@ -295,6 +295,7 @@ label:focus {
} }
#idle_inhibitor { #idle_inhibitor {
color: #f9e2af;
/*background-color: #2d3436;*/ /*background-color: #2d3436;*/
} }

Loading…
Cancel
Save