added gamemode module waybar
This commit is contained in:
+61
-53
@@ -2,7 +2,6 @@
|
||||
"layer": "top",
|
||||
"height": 30,
|
||||
"spacing": 5,
|
||||
// Choose the order of the modules
|
||||
"modules-left": [
|
||||
"group/group-cpu",
|
||||
"hyprland/workspaces"
|
||||
@@ -12,10 +11,11 @@
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/pacman",
|
||||
"gamemode",
|
||||
"tray",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"battery",
|
||||
"clock",
|
||||
"group/group-power"
|
||||
@@ -24,26 +24,37 @@
|
||||
"separate-outputs": true
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"6": "",
|
||||
"7": "",
|
||||
"8": " ",
|
||||
"9": "",
|
||||
"10": "",
|
||||
"urgent": "",
|
||||
"default": ""
|
||||
},
|
||||
"sort-by-number": true
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"6": "",
|
||||
"7": "",
|
||||
"8": " ",
|
||||
"9": "",
|
||||
"10": "",
|
||||
"urgent": "",
|
||||
"default": ""
|
||||
},
|
||||
"sort-by-number": true
|
||||
},
|
||||
"gamemode": {
|
||||
"format": "{glyph}",
|
||||
"format-alt": "{glyph} {count}",
|
||||
"glyph": "",
|
||||
"hide-not-running": true,
|
||||
"use-icon": true,
|
||||
"icon-name": "input-gaming-symbolic",
|
||||
"icon-spacing": 4,
|
||||
"icon-size": 20,
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Games running: {count}"
|
||||
},
|
||||
"tray": {
|
||||
//"icon-size": 21,
|
||||
"spacing": 10
|
||||
},
|
||||
"custom/pacman": {
|
||||
@@ -59,32 +70,31 @@
|
||||
"format": "{:%H:%M}"
|
||||
},
|
||||
"battery": {
|
||||
"interval": 10,
|
||||
"interval": 10,
|
||||
"format": "{icon}",
|
||||
"format-charging": "",
|
||||
"format-icons": [ "", "", "", "", "", "", "", "", "", "", "" ],
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||
"tooltip-format": "{capacity}% capacity"
|
||||
},
|
||||
"network": {
|
||||
"interval": 60,
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "{essid}", //
|
||||
"interval": 60,
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "{essid}",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "Connected to {essid}",
|
||||
"on-click": "gnome-terminal -- nmtui"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"default": ["", "", ""],
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": ""
|
||||
},
|
||||
"tooltip-format": "{volume}% volume",
|
||||
"on-click": "pavucontrol"
|
||||
@@ -97,7 +107,7 @@
|
||||
"transition-left-to-right": false
|
||||
},
|
||||
"modules": [
|
||||
"user", // First element is the "group leader" and won't ever be hidden
|
||||
"user",
|
||||
"idle_inhibitor",
|
||||
"custom/quit",
|
||||
"custom/sleep",
|
||||
@@ -132,23 +142,22 @@
|
||||
"on-triple-click": "shutdown now"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"tooltip": true,
|
||||
"tooltip-format-activated": "Idle inhibitor on",
|
||||
"tooltip-format-deactivated": "Idle inhibitor off"
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"tooltip": true,
|
||||
"tooltip-format-activated": "Idle inhibitor on",
|
||||
"tooltip-format-deactivated": "Idle inhibitor off"
|
||||
},
|
||||
"user": {
|
||||
"format": "{user} ",
|
||||
"format": "{user} ",
|
||||
"interval": 60,
|
||||
"height": 30,
|
||||
"width": 30,
|
||||
"icon": false,
|
||||
}
|
||||
,
|
||||
"icon": false
|
||||
},
|
||||
"backlight": {
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": ["", "", ""]
|
||||
@@ -161,7 +170,7 @@
|
||||
"transition-right-to-left": true
|
||||
},
|
||||
"modules": [
|
||||
"custom/arch", // First element is the "group leader" and won't ever be hidden
|
||||
"custom/arch",
|
||||
"cpu",
|
||||
"memory"
|
||||
]
|
||||
@@ -172,14 +181,13 @@
|
||||
"max-length": 10
|
||||
},
|
||||
"custom/arch": {
|
||||
"format": " ",
|
||||
"tooltip": false
|
||||
"format": " ",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {used:0.1f}G/{total:0.1f}G"
|
||||
}
|
||||
"interval": 30,
|
||||
"format": " {used:0.1f}G/{total:0.1f}G"
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user