rm hyprland unused confi
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
0|28|bottom|( cpu memory ) ( clock )|( wlr/workspaces hyprland/window )|( network bluetooth pulseaudio pulseaudio#microphone custom/updates ) ( tray ) ( custom/wallchange custom/mode custom/wbar custom/cliphist custom/power )
|
||||
0||top|( wlr/workspaces hyprland/window )|( clock )|( cpu memory ) ( network bluetooth pulseaudio pulseaudio#microphone custom/updates ) ( tray ) ( custom/wallchange custom/mode custom/wbar custom/cliphist custom/power )
|
||||
1|31|top|( custom/power custom/cliphist custom/wbar custom/mode custom/wallchange ) ( wlr/taskbar ) ( wlr/workspaces hyprland/window )|( clock )|( tray ) ( cpu memory ) ( network bluetooth pulseaudio pulseaudio#microphone )
|
||||
0|32|top||( custom/power ) ( tray ) ( wlr/taskbar clock ) ( custom/wbar ) ( custom/wallchange ) ( custom/mode )|
|
||||
0|31|bottom|( cpu memory ) ( clock ) ( wlr/workspaces )|( wlr/taskbar )|( network bluetooth pulseaudio pulseaudio#microphone custom/updates ) ( tray ) ( custom/wallchange custom/mode custom/wbar custom/cliphist custom/power )
|
||||
0|29|top|( wlr/taskbar mpris )|( clock )|( network bluetooth pulseaudio pulseaudio#microphone custom/updates ) ( tray ) ( custom/wallchange custom/mode custom/wbar custom/cliphist custom/power )
|
||||
@@ -1,245 +1,244 @@
|
||||
// --// waybar config generated by wbarconfgen.sh //-- //
|
||||
|
||||
{
|
||||
// sourced from header module //
|
||||
// sourced from header module //
|
||||
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"mod": "dock",
|
||||
"height": 31,
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"mod": "dock",
|
||||
"height": 31,
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
|
||||
// positions generated based on config.ctl //
|
||||
|
||||
"modules-left": [
|
||||
"custom/padd",
|
||||
"custom/l_end",
|
||||
"custom/power",
|
||||
"custom/cliphist",
|
||||
"custom/wbar",
|
||||
"custom/mode",
|
||||
"custom/r_end",
|
||||
"custom/l_end",
|
||||
"wlr/taskbar",
|
||||
"custom/r_end",
|
||||
"custom/l_end",
|
||||
"wlr/workspaces",
|
||||
"hyprland/window",
|
||||
"custom/r_end",
|
||||
"custom/padd"
|
||||
],
|
||||
"modules-center": [
|
||||
"custom/padd",
|
||||
"custom/l_end",
|
||||
"clock",
|
||||
"custom/r_end",
|
||||
"custom/padd"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/padd",
|
||||
"custom/l_end",
|
||||
"tray",
|
||||
"custom/r_end",
|
||||
"custom/l_end",
|
||||
"cpu",
|
||||
"memory",
|
||||
"custom/r_end",
|
||||
"custom/l_end",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"pulseaudio",
|
||||
"pulseaudio#microphone",
|
||||
"custom/r_end",
|
||||
"custom/padd"
|
||||
],
|
||||
|
||||
// sourced from modules based on config.ctl //
|
||||
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo logout",
|
||||
"on-click": "~/.config/hypr/scripts/logoutlaunch.sh 2",
|
||||
"interval": 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/cliphist": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo clipboard history",
|
||||
"on-click": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh c 1",
|
||||
//"on-click-right": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh w 1",
|
||||
"interval": 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/mode": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch mode",
|
||||
"on-click": "~/.config/hypr/scripts/themeswitch.sh -n",
|
||||
"on-click-right": "~/.config/hypr/scripts/themeswitch.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/themeselect.sh",
|
||||
"interval": 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
|
||||
// positions generated based on config.ctl //
|
||||
|
||||
"modules-left": ["custom/padd","custom/l_end","custom/power","custom/cliphist","custom/wbar","custom/mode","custom/wallchange","custom/r_end","custom/l_end","wlr/taskbar","custom/r_end","custom/l_end","wlr/workspaces","hyprland/window","custom/r_end","custom/padd"],
|
||||
"modules-center": ["custom/padd","custom/l_end","clock","custom/r_end","custom/padd"],
|
||||
"modules-right": ["custom/padd","custom/l_end","tray","custom/r_end","custom/l_end","cpu","memory","custom/r_end","custom/l_end","network","bluetooth","pulseaudio","pulseaudio#microphone","custom/r_end","custom/padd"],
|
||||
|
||||
|
||||
// sourced from modules based on config.ctl //
|
||||
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo logout",
|
||||
"on-click": "~/.config/hypr/scripts/logoutlaunch.sh 2",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/cliphist": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo clipboard history",
|
||||
"on-click": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh c 1",
|
||||
//"on-click-right": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh w 1",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/wbar": {
|
||||
"format": "{}", // //
|
||||
"exec": "echo ; echo switch menubar",
|
||||
"on-click": "~/.config/waybar/wbarconfgen.sh n",
|
||||
"on-click-right": "~/.config/waybar/wbarconfgen.sh p",
|
||||
"on-click-middle": "~/.config/waybar/wbarconfgen.sh",
|
||||
"interval" : 86400,
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/mode": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch mode",
|
||||
"on-click": "~/.config/hypr/scripts/themeswitch.sh -n",
|
||||
"on-click-right": "~/.config/hypr/scripts/themeswitch.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/themeselect.sh",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/wallchange": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch wallpaper",
|
||||
"on-click": "~/.config/swww/swwwallpaper.sh -n 1",
|
||||
"on-click-right": "~/.config/swww/swwwallpaper.sh -p 1",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"icon-size": 18,
|
||||
"icon-theme": "papirus-icon-theme",
|
||||
"spacing": 0,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": [
|
||||
"Alacritty"
|
||||
],
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||
}
|
||||
},
|
||||
|
||||
"wlr/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": [],
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": " {}",
|
||||
"separate-outputs": true,
|
||||
"rewrite": {
|
||||
"alex@gaea:(.*)": " ",
|
||||
"(.*) — Mozilla Firefox": " ",
|
||||
"(.*)Mozilla Firefox": "Firefox ",
|
||||
"(.*) - Visual Studio Code": " ",
|
||||
"(.*)Visual Studio Code": "Code ",
|
||||
"(.*) — Dolphin": " ",
|
||||
"(.*)Spotify": "Spotify ",
|
||||
"(.*)Steam": "Steam "
|
||||
}
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{: %I:%M %p %a %d}",
|
||||
"format-alt": "{: %H:%M %b %Y}",
|
||||
"tooltip-format": "<tt><big>{calendar}</big></tt>"
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 18,
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {percentage}%",
|
||||
"format-alt": " {used}GB",
|
||||
"max-length": 10,
|
||||
"tooltip": true,
|
||||
"tooltip-format": " {used:0.1f}GB/{total:0.1f}GB"
|
||||
},
|
||||
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " Wired",
|
||||
"tooltip-format": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " Disconnected",
|
||||
"format-alt": " {signalStrength}%",
|
||||
"interval": 5
|
||||
},
|
||||
|
||||
"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}"
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}",
|
||||
"format-muted": "婢",
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh -o m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh -o i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh -o d",
|
||||
"tooltip-format": "{icon} {desc} // {volume}%",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol -t 4",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh -i m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh -i i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh -i d",
|
||||
"tooltip-format": "{format_source} {source_desc} // {source_volume}%",
|
||||
"scroll-step": 5
|
||||
},
|
||||
|
||||
|
||||
// modules for padding //
|
||||
|
||||
"custom/l_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/r_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/padd": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"icon-size": 18,
|
||||
"icon-theme": "papirus-icon-theme",
|
||||
"spacing": 0,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": ["Alacritty"],
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||
}
|
||||
},
|
||||
|
||||
"wlr/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": [],
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{:%Y/%m/%d %H:%M}",
|
||||
"format-alt": "{:%I:%M%p 周%u}",
|
||||
"tooltip-format": "<tt><big>{calendar}</big></tt>",
|
||||
"locale": "zh_CN.UTF-8"
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 18,
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {percentage}%",
|
||||
"format-alt": " {used}GB",
|
||||
"max-length": 10,
|
||||
"tooltip": true,
|
||||
"tooltip-format": " {used:0.1f}GB/{total:0.1f}GB"
|
||||
},
|
||||
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " Wired",
|
||||
"tooltip-format": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " Disconnected",
|
||||
"format-alt": " {signalStrength}%",
|
||||
"interval": 5
|
||||
},
|
||||
|
||||
"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}"
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}",
|
||||
"format-muted": "婢",
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh -o m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh -o i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh -o d",
|
||||
"tooltip-format": "{icon} {desc} // {volume}%",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol -t 4",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh -i m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh -i i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh -i d",
|
||||
"tooltip-format": "{format_source} {source_desc} // {source_volume}%",
|
||||
"scroll-step": 5
|
||||
},
|
||||
|
||||
// modules for padding //
|
||||
|
||||
"custom/l_end": {
|
||||
"format": " ",
|
||||
"interval": "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/r_end": {
|
||||
"format": " ",
|
||||
"interval": "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sl_end": {
|
||||
"format": " ",
|
||||
"interval": "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sr_end": {
|
||||
"format": " ",
|
||||
"interval": "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rl_end": {
|
||||
"format": " ",
|
||||
"interval": "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rr_end": {
|
||||
"format": " ",
|
||||
"interval": "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/padd": {
|
||||
"format": " ",
|
||||
"interval": "once",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,201 +0,0 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"mod": "dock",
|
||||
// "height": 28,
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
"modules-left": ["custom/l_end","cpu","memory","battery","custom/r_end","custom/l_end","clock","custom/r_end"],
|
||||
"modules-center": ["custom/l_end","wlr/workspaces","hyprland/window","custom/r_end"],
|
||||
"modules-right": ["custom/l_end","network","bluetooth","pulseaudio","pulseaudio#microphone","custom/updates","custom/r_end",
|
||||
"custom/l_end","tray","custom/r_end",
|
||||
"custom/l_end","custom/wallchange","custom/mode","custom/wbar", "custom/cliphist","custom/power","custom/r_end"],
|
||||
|
||||
|
||||
// center modules //
|
||||
|
||||
"wlr/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": [],
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": " {}",
|
||||
"separate-outputs": true,
|
||||
"rewrite": {
|
||||
"tittu@kryptonite:(.*)": "$1 ",
|
||||
"(.*) — Mozilla Firefox": "$1 ",
|
||||
"(.*)Mozilla Firefox": "Firefox ",
|
||||
"(.*) - Visual Studio Code": "$1 ",
|
||||
"(.*)Visual Studio Code": "Code ",
|
||||
"(.*) — Dolphin": "$1 ",
|
||||
"(.*)Spotify": "Spotify ",
|
||||
"(.*)Steam": "Steam "
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
// left modules //
|
||||
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {percentage}%",
|
||||
"format-alt": " {used}GB",
|
||||
"max-length": 10,
|
||||
"tooltip": true,
|
||||
"tooltip-format": " {used:0.1f}GB/{total:0.1f}GB"
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{: %I:%M %p %a %d}",
|
||||
"format-alt": "{: %H:%M %b %Y}",
|
||||
"tooltip-format": "<tt><big>{calendar}</big></tt>"
|
||||
},
|
||||
|
||||
|
||||
// right modules //
|
||||
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " Wired",
|
||||
"tooltip-format": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " Disconnected",
|
||||
"format-alt": " {signalStrength}%",
|
||||
"interval": 5
|
||||
},
|
||||
|
||||
"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}"
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon}",
|
||||
"format-muted": "婢",
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh d",
|
||||
"tooltip-format": "{icon} {desc} // {volume}%",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol -t 4",
|
||||
"on-click-middle": "pamixer --default-source -t",
|
||||
"on-scroll-up": "pamixer --default-source -i 5",
|
||||
"on-scroll-down": "pamixer --default-source -d 5",
|
||||
"tooltip-format": "{format_source} {source_desc} // {source_volume}%",
|
||||
"scroll-step": 5
|
||||
},
|
||||
|
||||
"custom/updates": {
|
||||
"format": " {}",
|
||||
"exec": "~/.config/hypr/scripts/systemupdate.sh",
|
||||
"on-click": "~/.config/hypr/scripts/systemupdate.sh up",
|
||||
"interval": 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 15,
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
"custom/wallchange": {
|
||||
"format": "{}",
|
||||
"exec": "~/.config/swww/swwwallpaper.sh -t",
|
||||
"on-click": "~/.config/swww/swwwallpaper.sh -n",
|
||||
"on-click-right": "~/.config/swww/swwwallpaper.sh -p",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/mode": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch mode",
|
||||
"on-click": "~/.config/hypr/scripts/themeswitch.sh -n",
|
||||
"on-click-right": "~/.config/hypr/scripts/themeswitch.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/themeselect.sh",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/cliphist": {
|
||||
"format": "{}",
|
||||
"exec": "~/.config/hypr/scripts/cliphist.sh t",
|
||||
"on-click": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh c",
|
||||
//"on-click-right": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh w",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo logout",
|
||||
"on-click": "wlogout -b 2 -c 0 -r 0 -L 930 -R 930 -T 300 -B 300 --protocol layer-shell",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/wbar": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch menubar",
|
||||
"on-click": "~/.config/waybar/wbarswitch.sh -n",
|
||||
"on-click-right": "~/.config/waybar/wbarswitch.sh -p",
|
||||
"interval" : 86400,
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/l_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/r_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
@@ -1,202 +0,0 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"mod": "dock",
|
||||
// "height": 28,
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
"modules-left": ["custom/l_end","wlr/workspaces","hyprland/window","custom/r_end"],
|
||||
"modules-center": ["custom/l_end","clock","custom/r_end"],
|
||||
"modules-right": ["custom/l_end","cpu","memory","battery","custom/r_end",
|
||||
"custom/l_end","network","bluetooth","pulseaudio","pulseaudio#microphone","custom/updates","custom/r_end",
|
||||
"custom/l_end","tray","custom/r_end",
|
||||
"custom/l_end","custom/wallchange","custom/mode","custom/wbar", "custom/cliphist","custom/power","custom/r_end"],
|
||||
|
||||
|
||||
// center modules //
|
||||
|
||||
"wlr/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": [],
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": " {}",
|
||||
"separate-outputs": true,
|
||||
"rewrite": {
|
||||
"tittu@kryptonite:(.*)": "$1 ",
|
||||
"(.*) — Mozilla Firefox": "$1 ",
|
||||
"(.*)Mozilla Firefox": "Firefox ",
|
||||
"(.*) - Visual Studio Code": "$1 ",
|
||||
"(.*)Visual Studio Code": "Code ",
|
||||
"(.*) — Dolphin": "$1 ",
|
||||
"(.*)Spotify": "Spotify ",
|
||||
"(.*)Steam": "Steam "
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
// left modules //
|
||||
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {percentage}%",
|
||||
"format-alt": " {used}GB",
|
||||
"max-length": 10,
|
||||
"tooltip": true,
|
||||
"tooltip-format": " {used:0.1f}GB/{total:0.1f}GB"
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{: %I:%M %p %a %d}",
|
||||
"format-alt": "{: %H:%M %b %Y}",
|
||||
"tooltip-format": "<tt><big>{calendar}</big></tt>"
|
||||
},
|
||||
|
||||
|
||||
// right modules //
|
||||
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " Wired",
|
||||
"tooltip-format": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " Disconnected",
|
||||
"format-alt": " {signalStrength}%",
|
||||
"interval": 5
|
||||
},
|
||||
|
||||
"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}"
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon}",
|
||||
"format-muted": "婢",
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh d",
|
||||
"tooltip-format": "{icon} {desc} // {volume}%",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol -t 4",
|
||||
"on-click-middle": "pamixer --default-source -t",
|
||||
"on-scroll-up": "pamixer --default-source -i 5",
|
||||
"on-scroll-down": "pamixer --default-source -d 5",
|
||||
"tooltip-format": "{format_source} {source_desc} // {source_volume}%",
|
||||
"scroll-step": 5
|
||||
},
|
||||
|
||||
"custom/updates": {
|
||||
"format": " {}",
|
||||
"exec": "~/.config/hypr/scripts/systemupdate.sh",
|
||||
"on-click": "~/.config/hypr/scripts/systemupdate.sh up",
|
||||
"interval": 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 15,
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
"custom/wallchange": {
|
||||
"format": "{}",
|
||||
"exec": "~/.config/swww/swwwallpaper.sh -t",
|
||||
"on-click": "~/.config/swww/swwwallpaper.sh -n",
|
||||
"on-click-right": "~/.config/swww/swwwallpaper.sh -p",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/mode": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch mode",
|
||||
"on-click": "~/.config/hypr/scripts/themeswitch.sh -n",
|
||||
"on-click-right": "~/.config/hypr/scripts/themeswitch.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/themeselect.sh",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/cliphist": {
|
||||
"format": "{}",
|
||||
"exec": "~/.config/hypr/scripts/cliphist.sh t",
|
||||
"on-click": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh c",
|
||||
//"on-click-right": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh w",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo logout",
|
||||
"on-click": "wlogout -b 2 -c 0 -r 0 -L 930 -R 930 -T 300 -B 300 --protocol layer-shell",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/wbar": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch menubar",
|
||||
"on-click": "~/.config/waybar/wbarswitch.sh -n",
|
||||
"on-click-right": "~/.config/waybar/wbarswitch.sh -p",
|
||||
"interval" : 86400,
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/l_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/r_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
"battery": {
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 20
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""]
|
||||
},
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
"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}"
|
||||
},
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
"custom/cliphist": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo clipboard history",
|
||||
"on-click": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh c ${mod_pos}",
|
||||
//"on-click-right": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh w ${mod_pos}",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
"clock": {
|
||||
"format": "{: %I:%M %p %a %d}",
|
||||
"format-alt": "{: %H:%M %b %Y}",
|
||||
"tooltip-format": "<tt><big>{calendar}</big></tt>"
|
||||
},
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
|
||||
// modules for padding //
|
||||
|
||||
"custom/l_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/r_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/padd": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
// --// waybar config generated by wbarconfgen.sh //-- //
|
||||
|
||||
{
|
||||
// sourced from header module //
|
||||
|
||||
"layer": "top",
|
||||
"position": "${w_position}",
|
||||
"mod": "dock",
|
||||
"height": ${w_height},
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
@@ -1,9 +0,0 @@
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {percentage}%",
|
||||
"format-alt": " {used}GB",
|
||||
"max-length": 10,
|
||||
"tooltip": true,
|
||||
"tooltip-format": " {used:0.1f}GB/{total:0.1f}GB"
|
||||
},
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
"custom/mode": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch mode",
|
||||
"on-click": "~/.config/hypr/scripts/themeswitch.sh -n",
|
||||
"on-click-right": "~/.config/hypr/scripts/themeswitch.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/themeselect.sh",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
"mpris": {
|
||||
"format": "{player_icon} {dynamic}",
|
||||
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
||||
"player-icons": {
|
||||
"default": "▶",
|
||||
"mpv": "🎵"
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": "⏸"
|
||||
},
|
||||
// "ignored-players": ["firefox"]
|
||||
},
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " Wired",
|
||||
"tooltip-format": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " Disconnected",
|
||||
"format-alt": " {signalStrength}%",
|
||||
"interval": 5
|
||||
},
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo logout",
|
||||
"on-click": "~/.config/hypr/scripts/logoutlaunch.sh 2",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}",
|
||||
"format-muted": "婢",
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh -o m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh -o i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh -o d",
|
||||
"tooltip-format": "{icon} {desc} // {volume}%",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol -t 4",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh -i m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh -i i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh -i d",
|
||||
"tooltip-format": "{format_source} {source_desc} // {source_volume}%",
|
||||
"scroll-step": 5
|
||||
},
|
||||
|
||||
@@ -1,164 +0,0 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
font-family: "JetBrainsMono Nerd Font";
|
||||
font-weight: bold;
|
||||
font-size: ${s_fontpx}px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
@import "themes/${cur_theme}.css";
|
||||
|
||||
window#waybar {
|
||||
background: @bar-bg;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: @tool-bg;
|
||||
color: @tool-color;
|
||||
border-radius: ${b_radius}px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: @tool-border;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
padding: 0px;
|
||||
border-radius: ${w_radius}px;
|
||||
margin-top: ${w_margin}px;
|
||||
margin-bottom: ${w_margin}px;
|
||||
padding-left: ${w_paddin}px;
|
||||
padding-right: ${w_paddin}px;
|
||||
color: @wb-color;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-color;
|
||||
margin-left: ${w_margin}px;
|
||||
padding-left: ${w_padact}px;
|
||||
padding-right: ${w_padact}px;
|
||||
margin-right: ${w_margin}px;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-color;
|
||||
padding-left: ${w_paddin}px;
|
||||
padding-right: ${w_paddin}px;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
padding: 0px;
|
||||
border-radius: ${w_radius}px;
|
||||
margin-top: ${w_margin}px;
|
||||
margin-bottom: ${w_margin}px;
|
||||
padding-left: ${w_paddin}px;
|
||||
padding-right: ${w_paddin}px;
|
||||
color: @wb-color;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-color;
|
||||
margin-left: ${w_margin}px;
|
||||
padding-left: ${w_padact}px;
|
||||
padding-right: ${w_padact}px;
|
||||
margin-right: ${w_margin}px;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-color;
|
||||
padding-left: ${w_paddin}px;
|
||||
padding-right: ${w_paddin}px;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#cpu,
|
||||
#memory,
|
||||
#battery,
|
||||
#clock,
|
||||
#workspaces,
|
||||
#window,
|
||||
#taskbar,
|
||||
#network,
|
||||
#bluetooth,
|
||||
#pulseaudio,
|
||||
#mpris,
|
||||
#custom-updates,
|
||||
#custom-wallchange,
|
||||
#custom-mode,
|
||||
#custom-cliphist,
|
||||
#custom-power,
|
||||
#custom-wbar,
|
||||
#custom-l_end,
|
||||
#custom-r_end,
|
||||
#custom-sl_end,
|
||||
#custom-sr_end,
|
||||
#custom-rl_end,
|
||||
#custom-rr_end,
|
||||
#tray {
|
||||
color: @main-color;
|
||||
background: @main-bg;
|
||||
opacity: 1;
|
||||
margin: ${g_margin}px 0px ${g_margin}px 0px;
|
||||
padding-left: ${g_paddin}px;
|
||||
padding-right: ${g_paddin}px;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#taskbar {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#custom-r_end {
|
||||
border-radius: 0px ${b_radius}px ${b_radius}px 0px;
|
||||
margin-right: ${e_margin}px;
|
||||
padding-right: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-l_end {
|
||||
border-radius: ${b_radius}px 0px 0px ${b_radius}px;
|
||||
margin-left: ${e_margin}px;
|
||||
padding-left: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-sr_end {
|
||||
border-radius: 0px;
|
||||
margin-right: ${e_margin}px;
|
||||
padding-right: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-sl_end {
|
||||
border-radius: 0px;
|
||||
margin-left: ${e_margin}px;
|
||||
padding-left: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-rr_end {
|
||||
border-radius: 0px ${c_radius}px ${c_radius}px 0px;
|
||||
margin-right: ${e_margin}px;
|
||||
padding-right: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-rl_end {
|
||||
border-radius: ${c_radius}px 0px 0px ${c_radius}px;
|
||||
margin-left: ${e_margin}px;
|
||||
padding-left: ${e_paddin}px;
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"icon-size": ${i_task},
|
||||
"icon-theme": "${i_theme}",
|
||||
"spacing": 0,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": [
|
||||
"Alacritty"
|
||||
],
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
"tray": {
|
||||
"icon-size": ${i_size},
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
"custom/updates": {
|
||||
"format": " {}",
|
||||
"exec": "~/.config/hypr/scripts/systemupdate.sh",
|
||||
"on-click": "~/.config/hypr/scripts/systemupdate.sh up",
|
||||
"interval": 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
"custom/wallchange": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch wallpaper",
|
||||
"on-click": "~/.config/swww/swwwallpaper.sh -n ${mod_pos}",
|
||||
"on-click-right": "~/.config/swww/swwwallpaper.sh -p ${mod_pos}",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
"custom/wbar": {
|
||||
"format": "{}", // //
|
||||
"exec": "echo ; echo switch menubar",
|
||||
"on-click": "~/.config/waybar/wbarconfgen.sh n",
|
||||
"on-click-right": "~/.config/waybar/wbarconfgen.sh p",
|
||||
"on-click-middle": "~/.config/waybar/wbarconfgen.sh",
|
||||
"interval" : 86400,
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
"hyprland/window": {
|
||||
"format": " {}",
|
||||
"separate-outputs": true,
|
||||
"rewrite": {
|
||||
"${USER}@${set_sysname}:(.*)": "$1 ",
|
||||
"(.*) — Mozilla Firefox": "$1 ",
|
||||
"(.*)Mozilla Firefox": "Firefox ",
|
||||
"(.*) - Visual Studio Code": "$1 ",
|
||||
"(.*)Visual Studio Code": "Code ",
|
||||
"(.*) — Dolphin": "$1 ",
|
||||
"(.*)Spotify": "Spotify ",
|
||||
"(.*)Steam": "Steam "
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
"wlr/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": [],
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
@define-color bar-bg rgba(0, 0, 0, 0);
|
||||
@define-color main-color #cdd6f4;
|
||||
@define-color main-bg #11111b;
|
||||
@define-color tool-bg #1e1e2e;
|
||||
@define-color tool-color #cdd6f4;
|
||||
@define-color tool-border #11111b;
|
||||
@define-color wb-color #cdd6f4;
|
||||
@define-color wb-act-bg #a6adc8;
|
||||
@define-color wb-act-color #313244;
|
||||
@define-color wb-hvr-bg #f5c2e7;
|
||||
@define-color wb-hvr-color #313244;
|
||||
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
@@ -7,8 +19,6 @@
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
@import "themes/theme.css";
|
||||
|
||||
window#waybar {
|
||||
background: @bar-bg;
|
||||
}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
@define-color bar-bg rgba(0, 0, 0, 0);
|
||||
|
||||
@define-color main-color #4c4f69;
|
||||
@define-color main-bg #9ca0b0;
|
||||
|
||||
@define-color tool-bg #9ca0b0;
|
||||
@define-color tool-color #4c4f69;
|
||||
@define-color tool-border #ccd0da;
|
||||
|
||||
@define-color wb-color #4c4f69;
|
||||
|
||||
@define-color wb-act-bg #5c5f77;
|
||||
@define-color wb-act-color #dce0e8;
|
||||
|
||||
@define-color wb-hvr-bg #dc8a78;
|
||||
@define-color wb-hvr-color #dce0e8;
|
||||
@@ -1,16 +0,0 @@
|
||||
@define-color bar-bg rgba(0, 0, 0, 0);
|
||||
|
||||
@define-color main-color #cdd6f4;
|
||||
@define-color main-bg #11111b;
|
||||
|
||||
@define-color tool-bg #1e1e2e;
|
||||
@define-color tool-color #cdd6f4;
|
||||
@define-color tool-border #11111b;
|
||||
|
||||
@define-color wb-color #cdd6f4;
|
||||
|
||||
@define-color wb-act-bg #a6adc8;
|
||||
@define-color wb-act-color #313244;
|
||||
|
||||
@define-color wb-hvr-bg #f5c2e7;
|
||||
@define-color wb-hvr-color #313244;
|
||||
@@ -1,16 +0,0 @@
|
||||
@define-color bar-bg rgba(0,0,0,1);
|
||||
|
||||
@define-color main-color #FFA6C2;
|
||||
@define-color main-bg #000000;
|
||||
|
||||
@define-color tool-bg #000000;
|
||||
@define-color tool-color #ffffff;
|
||||
@define-color tool-border #FFA6C2;
|
||||
|
||||
@define-color wb-color #FFA6C2;
|
||||
|
||||
@define-color wb-act-bg #FFA6C2;
|
||||
@define-color wb-act-color #000000;
|
||||
|
||||
@define-color wb-hvr-bg #FADA16;
|
||||
@define-color wb-hvr-color #000000;
|
||||
@@ -1,16 +0,0 @@
|
||||
@define-color bar-bg rgba(31, 35, 40, 0.95);
|
||||
|
||||
@define-color main-color #93cee9;
|
||||
@define-color main-bg #101419;
|
||||
|
||||
@define-color tool-bg #cbced3;
|
||||
@define-color tool-color #1f2328;
|
||||
@define-color tool-border #90ceaa;
|
||||
|
||||
@define-color wb-color #93cee9;
|
||||
|
||||
@define-color wb-act-bg #93cee9;
|
||||
@define-color wb-act-color #1f2328;
|
||||
|
||||
@define-color wb-hvr-bg #93cee9;
|
||||
@define-color wb-hvr-color #1f2328;
|
||||
@@ -1,16 +0,0 @@
|
||||
@define-color bar-bg rgba(38,38,38,1);
|
||||
|
||||
@define-color main-color #d9d9d9;
|
||||
@define-color main-bg #262626;
|
||||
|
||||
@define-color tool-bg #595959;
|
||||
@define-color tool-color #a6a6a6;
|
||||
@define-color tool-border #d9d9d9;
|
||||
|
||||
@define-color wb-color #d9d9d9;
|
||||
|
||||
@define-color wb-act-bg #d9d9d9;
|
||||
@define-color wb-act-color #262626;
|
||||
|
||||
@define-color wb-hvr-bg #a6a6a6;
|
||||
@define-color wb-hvr-color #262626;
|
||||
@@ -1,16 +0,0 @@
|
||||
@define-color bar-bg rgba(0, 0, 0, 0);
|
||||
|
||||
@define-color main-color #907aa9;
|
||||
@define-color main-bg #faf4ed;
|
||||
|
||||
@define-color tool-bg #f2e9e1;
|
||||
@define-color tool-color #9893a5;
|
||||
@define-color tool-border #d7827e;
|
||||
|
||||
@define-color wb-color #907aa9;
|
||||
|
||||
@define-color wb-act-bg #b4637a;
|
||||
@define-color wb-act-color #fffaf3;
|
||||
|
||||
@define-color wb-hvr-bg #56949f;
|
||||
@define-color wb-hvr-color #fffaf3;
|
||||
@@ -1,16 +0,0 @@
|
||||
@define-color bar-bg rgba(0, 0, 0, 0);
|
||||
|
||||
@define-color main-color #ebbcba;
|
||||
@define-color main-bg #26233a;
|
||||
|
||||
@define-color tool-bg #21202e;
|
||||
@define-color tool-color #908caa;
|
||||
@define-color tool-border #524f67;
|
||||
|
||||
@define-color wb-color #31748f;
|
||||
|
||||
@define-color wb-act-bg #31748f;
|
||||
@define-color wb-act-color #9ccfd8;
|
||||
|
||||
@define-color wb-hvr-bg #eb6f92;
|
||||
@define-color wb-hvr-color #f6c177;
|
||||
@@ -1,16 +0,0 @@
|
||||
@define-color bar-bg rgba(0, 0, 0, 0);
|
||||
|
||||
@define-color main-color #7aa2f7;
|
||||
@define-color main-bg #24283b;
|
||||
|
||||
@define-color tool-bg #414868;
|
||||
@define-color tool-color #b4f9f8;
|
||||
@define-color tool-border #565f89;
|
||||
|
||||
@define-color wb-color #7dcfff;
|
||||
|
||||
@define-color wb-act-bg #bb9af7;
|
||||
@define-color wb-act-color #b4f9f8;
|
||||
|
||||
@define-color wb-hvr-bg #7aa2f7;
|
||||
@define-color wb-hvr-color #cfc9c2;
|
||||
@@ -1 +0,0 @@
|
||||
Catppuccin-Mocha.css
|
||||
@@ -1,122 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
|
||||
# read control file and initialize variables
|
||||
|
||||
waybar_dir=`pwd`
|
||||
modules_dir="$waybar_dir/modules"
|
||||
conf_file="$waybar_dir/config.jsonc"
|
||||
conf_ctl="$waybar_dir/config.ctl"
|
||||
|
||||
readarray -t read_ctl < $conf_ctl
|
||||
num_files="${#read_ctl[@]}"
|
||||
switch=0
|
||||
|
||||
|
||||
# update control file to set next/prev mode
|
||||
|
||||
for (( i=0 ; i<$num_files ; i++ ))
|
||||
do
|
||||
flag=`echo "${read_ctl[i]}" | cut -d '|' -f 1`
|
||||
|
||||
if [ $flag -eq 1 ] && [ "$1" == "n" ] ; then
|
||||
nextIndex=$(( (i + 1) % $num_files ))
|
||||
switch=1
|
||||
break;
|
||||
|
||||
elif [ $flag -eq 1 ] && [ "$1" == "p" ] ; then
|
||||
nextIndex=$(( i - 1 ))
|
||||
switch=1
|
||||
break;
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $switch -eq 1 ] ; then
|
||||
update_ctl="${read_ctl[nextIndex]}"
|
||||
sed -i "s/^1/0/g" $conf_ctl
|
||||
awk -F '|' -v cmp="$update_ctl" '{OFS=FS} {if($0==cmp) $1=1; print$0}' $conf_ctl > $waybar_dir/tmp && mv $waybar_dir/tmp $conf_ctl
|
||||
fi
|
||||
|
||||
|
||||
# overwrite config from header module
|
||||
|
||||
export set_sysname=`hostnamectl hostname`
|
||||
export w_position=`grep '^1|' $conf_ctl | cut -d '|' -f 3`
|
||||
|
||||
export w_height=`grep '^1|' $conf_ctl | cut -d '|' -f 2`
|
||||
if [ -z $w_height ] ; then
|
||||
y_monres=`cat /sys/class/drm/*/modes | head -1 | cut -d 'x' -f 2`
|
||||
export w_height=$(( y_monres*2/100 ))
|
||||
fi
|
||||
|
||||
export i_size=$(( w_height*6/10 ))
|
||||
if [ $i_size -lt 12 ] ; then
|
||||
export i_size="12"
|
||||
fi
|
||||
|
||||
export i_theme=`gsettings get org.gnome.desktop.interface icon-theme | sed "s/'//g"`
|
||||
export i_task=$(( w_height*6/10 ))
|
||||
if [ $i_task -lt 16 ] ; then
|
||||
export i_task="16"
|
||||
fi
|
||||
|
||||
envsubst < $modules_dir/header.jsonc > $conf_file
|
||||
|
||||
|
||||
# module generator function
|
||||
|
||||
gen_mod()
|
||||
{
|
||||
local pos=$1
|
||||
local col=$2
|
||||
local mod=""
|
||||
|
||||
mod=`grep '^1|' $conf_ctl | cut -d '|' -f ${col}`
|
||||
mod="${mod//(/"custom/l_end"}"
|
||||
mod="${mod//)/"custom/r_end"}"
|
||||
mod="${mod//[/"custom/sl_end"}"
|
||||
mod="${mod//]/"custom/sr_end"}"
|
||||
mod="${mod//\{/"custom/rl_end"}"
|
||||
mod="${mod//\}/"custom/rr_end"}"
|
||||
mod="${mod// /"\",\""}"
|
||||
|
||||
echo -e "\t\"modules-${pos}\": [\"custom/padd\",\"${mod}\",\"custom/padd\"]," >> $conf_file
|
||||
write_mod=`echo $write_mod $mod`
|
||||
}
|
||||
|
||||
|
||||
# write positions for modules
|
||||
|
||||
echo -e "\n\n// positions generated based on config.ctl //\n" >> $conf_file
|
||||
gen_mod left 4
|
||||
gen_mod center 5
|
||||
gen_mod right 6
|
||||
|
||||
|
||||
# copy modules/*.jsonc to the config
|
||||
|
||||
echo -e "\n\n// sourced from modules based on config.ctl //\n" >> $conf_file
|
||||
echo "$write_mod" | sed 's/","/\n/g ; s/ /\n/g' | awk '!x[$0]++' | while read mod_list
|
||||
do
|
||||
mod_cpy=`echo $mod_list | awk -F '/' '{print $NF}'`
|
||||
|
||||
case ${w_position}-$(grep -E '"modules-left":|"modules-center":|"modules-right":' $conf_file | grep "$mod_cpy" | tail -1 | cut -d '"' -f 2 | cut -d '-' -f 2) in
|
||||
top-left) export mod_pos=1;;
|
||||
top-right) export mod_pos=2;;
|
||||
bottom-right) export mod_pos=3;;
|
||||
bottom-left) export mod_pos=4;;
|
||||
esac
|
||||
|
||||
if [ -f $modules_dir/$mod_cpy.jsonc ] ; then
|
||||
envsubst < $modules_dir/$mod_cpy.jsonc >> $conf_file
|
||||
fi
|
||||
done
|
||||
|
||||
cat $modules_dir/footer.jsonc >> $conf_file
|
||||
|
||||
|
||||
# generate style and restart waybar
|
||||
|
||||
$waybar_dir/wbarstylegen.sh
|
||||
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
|
||||
# detect hypr theme and initialize variables
|
||||
|
||||
waybar_dir=`pwd`
|
||||
in_file="$waybar_dir/modules/style.css"
|
||||
out_file="$waybar_dir/style.css"
|
||||
src_file="$HOME/.config/hypr/themes/theme.conf"
|
||||
export cur_theme=`echo $(readlink "$src_file") | awk -F "/" '{print $NF}' | cut -d '.' -f 1`
|
||||
|
||||
|
||||
# calculate height from control file or monitor res
|
||||
|
||||
b_height=`grep '^1|' $waybar_dir/config.ctl | cut -d '|' -f 2`
|
||||
|
||||
if [ -z $b_height ] || [ "$b_height" == "0" ]; then
|
||||
y_monres=`cat /sys/class/drm/*/modes | head -1 | cut -d 'x' -f 2`
|
||||
b_height=$(( y_monres*3/100 ))
|
||||
fi
|
||||
|
||||
|
||||
# calculate values based on height and generate theme style
|
||||
|
||||
export b_radius=$(( b_height*70/100 )) # block rad 90% of height (type1)
|
||||
export c_radius=$(( b_height*25/100 )) # block rad 25% of height {type2}
|
||||
export e_margin=$(( b_height*30/100 )) # block margin 30% of height
|
||||
export e_paddin=$(( b_height*10/100 )) # block padding 10% of height
|
||||
export g_margin=$(( b_height*14/100 )) # module margin 14% of height
|
||||
export g_paddin=$(( b_height*15/100 )) # module padding 15% of height
|
||||
export w_radius=$(( b_height*30/100 )) # workspace rad 30% of height
|
||||
export w_margin=$(( b_height*10/100 )) # workspace margin 10% of height
|
||||
export w_paddin=$(( b_height*10/100 )) # workspace padding 10% of height
|
||||
export w_padact=$(( b_height*40/100 )) # workspace active padding 40% of height
|
||||
export s_fontpx=$(( b_height*38/100 )) # font size 38% of height
|
||||
|
||||
if [ $b_height -lt 30 ] ; then
|
||||
export e_paddin=0
|
||||
fi
|
||||
if [ $s_fontpx -lt 10 ] ; then
|
||||
export s_fontpx=10
|
||||
fi
|
||||
|
||||
envsubst < $in_file > $out_file
|
||||
|
||||
|
||||
# override rounded couners
|
||||
|
||||
hypr_border=`awk -F '=' '{if($1~" rounding ") print $2}' $src_file | sed 's/ //g'`
|
||||
if [ "$hypr_border" == "0" ] ; then
|
||||
sed -i "/border-radius: /c\ border-radius: 0px;" $out_file
|
||||
fi
|
||||
|
||||
|
||||
# restart waybar
|
||||
|
||||
killall waybar
|
||||
waybar > /dev/null 2>&1 &
|
||||
# killall -SIGUSR2 waybar
|
||||
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# Set the directory paths
|
||||
waybar_dir=`dirname $(realpath $0)`
|
||||
modes_dir="$waybar_dir/modes"
|
||||
|
||||
# Get the current symlink target
|
||||
current_target=$(readlink "$waybar_dir/config.jsonc")
|
||||
|
||||
# Get the list of available files in modes directory
|
||||
file_list=("$modes_dir"/*.jsonc)
|
||||
num_files=${#file_list[@]}
|
||||
|
||||
# Check if there are no files or only one file
|
||||
if [[ $num_files -eq 0 ]]; then
|
||||
echo "Error: No files found in modes directory."
|
||||
exit 1
|
||||
elif [[ $num_files -eq 1 ]]; then
|
||||
echo "Only one file found. No changes made."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Find the index of the current target in the file list
|
||||
current_index=-1
|
||||
for ((i=0; i<num_files; i++)); do
|
||||
if [[ ${file_list[$i]} == "$current_target" ]]; then
|
||||
current_index=$i
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Check if the current symlink target was found
|
||||
if [[ $current_index -eq -1 ]]; then
|
||||
echo "Error: Symbolic link target not found in modes directory."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Function to calculate the next or previous index
|
||||
calculate_index() {
|
||||
local current=$1
|
||||
local increment=$2
|
||||
local result=$(( (current + increment + num_files) % num_files ))
|
||||
echo $result
|
||||
}
|
||||
|
||||
## evaluate options ##
|
||||
while getopts "np" option ; do
|
||||
case $option in
|
||||
n ) # set the next waybar
|
||||
next_index=$(calculate_index $current_index 1)
|
||||
new_target=${file_list[$next_index]} ;;
|
||||
p ) # set the previous waybar
|
||||
prev_index=$(calculate_index $current_index -1)
|
||||
new_target=${file_list[$prev_index]} ;;
|
||||
* ) # invalid option
|
||||
echo "n : set next menubar"
|
||||
echo "p : set previous menubar"
|
||||
exit 1 ;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
# Update the symbolic link
|
||||
ln -sf "$new_target" "$waybar_dir/config.jsonc"
|
||||
sleep 1
|
||||
killall waybar # I have tried killall -SIGUSR2 waybar w/o success
|
||||
waybar > /dev/null 2>&1 &
|
||||
Reference in New Issue
Block a user