rm hyprland unused confi

This commit is contained in:
2025-04-20 18:47:47 +08:00
parent 59a7964634
commit e1d5d900fb
81 changed files with 494 additions and 3925 deletions

View File

@@ -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
}
}