更新hyprland配置; 更新flake配置的方式
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
// --// waybar config generated by wbarconfgen.sh //-- //
|
||||
|
||||
{
|
||||
// sourced from header module //
|
||||
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"mod": "dock",
|
||||
@@ -11,11 +7,11 @@
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
|
||||
// positions generated based on config.ctl //
|
||||
|
||||
"modules-left": [
|
||||
"custom/lr",
|
||||
"hyprland/workspaces",
|
||||
"custom/rr",
|
||||
"custom/lr",
|
||||
"hyprland/window",
|
||||
"custom/rr"
|
||||
],
|
||||
@@ -37,7 +33,6 @@
|
||||
"bluetooth",
|
||||
"wireplumber",
|
||||
"wireplumber#microphone",
|
||||
"custom/cliphist",
|
||||
"custom/power",
|
||||
"custom/rr"
|
||||
],
|
||||
@@ -46,32 +41,12 @@
|
||||
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo logout",
|
||||
"exec": "echo ; echo Power Manage",
|
||||
"on-click": "wlogout",
|
||||
"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
|
||||
},
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"on-click": "activate",
|
||||
@@ -86,6 +61,20 @@
|
||||
"8": ["HDMI-A-2"],
|
||||
"9": ["HDMI-A-2"],
|
||||
"10": ["HDMI-A-2"]
|
||||
},
|
||||
"format": "<sub>{icon}</sub> {windows}",
|
||||
"format-window-separator": " ",
|
||||
"window-rewrite-default": "",
|
||||
"window-rewrite": {
|
||||
"class<microsoft-edge>": "",
|
||||
"class<microsoft-edge> title<.*youtube.*>": "",
|
||||
"title<.*github.*>": "",
|
||||
"kitty": "",
|
||||
"code": "",
|
||||
"Cursor": "",
|
||||
"org.gnome.Nautilus": "",
|
||||
"wechat": "",
|
||||
"wps": ""
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user