feat(hypr): add nwg-dock autostart and MPD control submap;
feat(hypr): add window swallowing for kitty and Steam workspace rules; feat(waybar): create minimal config for gamemode and add notification panel button; refactor(waybar): simplify config, merge memory/swap displays, update workspace icons; refactor(swaync): remove CPU slider and adjust button styling; experiment(hypr): increase vibrancy and change screenshot sound; experiment(rmpc): update progress bar symbols; fix(rofi): add mouse support to all menu configurations; chore(hypr): update gamemode script to toggle minimal waybar
This commit is contained in:
@@ -22,12 +22,12 @@
|
||||
"modules-right": [
|
||||
"cpu",
|
||||
"memory",
|
||||
"memory#swap",
|
||||
"pulseaudio",
|
||||
"battery",
|
||||
"network",
|
||||
"tray",
|
||||
"clock"
|
||||
"clock",
|
||||
"custom/panel"
|
||||
],
|
||||
// Modules configuration
|
||||
"hyprland/workspaces": {
|
||||
@@ -58,45 +58,22 @@
|
||||
],
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "1",
|
||||
"2": "2",
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"5": "5",
|
||||
"6": "6",
|
||||
"7": "7",
|
||||
"8": "8",
|
||||
"9": "9",
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
// "5": "5",
|
||||
// "6": "6",
|
||||
"7": "",
|
||||
"8": "",
|
||||
"9": "",
|
||||
"10": "0",
|
||||
"11": "-",
|
||||
"12": "+",
|
||||
"default": "",
|
||||
"empty": ""
|
||||
"default": "",
|
||||
"empty": ""
|
||||
}
|
||||
},
|
||||
"keyboard-state": {
|
||||
"numlock": true,
|
||||
"capslock": true,
|
||||
"format": "{name} {icon}",
|
||||
"format-icons": {
|
||||
"locked": "",
|
||||
"unlocked": ""
|
||||
}
|
||||
},
|
||||
"hyprland/language": {
|
||||
"format-ru": "RU",
|
||||
"format-en": "EN"
|
||||
},
|
||||
"hyprland/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
"hyprland/scratchpad": {
|
||||
"format": "{icon} {count}",
|
||||
"show-empty": false,
|
||||
"format-icons": ["", ""],
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{app}: {title}"
|
||||
},
|
||||
"mpd": {
|
||||
"password": "kapuchinamusica",
|
||||
"artist-len": 30,
|
||||
@@ -116,13 +93,6 @@
|
||||
"format-stopped": " Stopping player...",
|
||||
"on-click": "mpc toggle --password kapuchinamusica"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
||||
"spacing": 10,
|
||||
@@ -156,37 +126,14 @@
|
||||
"cpu": {
|
||||
"format": "{max_frequency:1.2f}GHz {usage}%",
|
||||
"tooltip": false,
|
||||
"interval": 10,
|
||||
"interval": 15,
|
||||
"format-icons": [
|
||||
"", "", "", "", "", "", "", "", ""
|
||||
]
|
||||
},
|
||||
"memory": {
|
||||
"format": " {percentage}%",
|
||||
"interval": 10,
|
||||
"format-icons": [
|
||||
"", "", "", "", "", "", "", "", ""
|
||||
]
|
||||
},
|
||||
"memory#swap": {
|
||||
"format": " {swapPercentage}%",
|
||||
"interval": 10,
|
||||
"format-icons": [
|
||||
"", "", "", "", "", "", "", "", ""
|
||||
]
|
||||
},
|
||||
"temperature": {
|
||||
// "thermal-zone": 2,
|
||||
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
// "format-critical": "{temperatureC}°C {icon}",
|
||||
"format": "{temperatureC}°C {icon}",
|
||||
"format-icons": ["", "", ""]
|
||||
},
|
||||
"backlight": {
|
||||
// "device": "acpi_video1",
|
||||
"format": "{percent} {icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
||||
"format": " {percentage}% {swapPercentage}%",
|
||||
"interval": 10
|
||||
},
|
||||
"battery": {
|
||||
"full-at": 98,
|
||||
@@ -205,22 +152,7 @@
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
||||
"tooltip-format": "{capacity}%, draws {power:2.1f}W, time is {time}"
|
||||
},
|
||||
"battery#bat2": {
|
||||
"bat": "BAT2"
|
||||
},
|
||||
"power-profiles-daemon": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
||||
"tooltip": true,
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
"performance": "",
|
||||
"balanced": "",
|
||||
"power-saver": ""
|
||||
}
|
||||
},
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": "{icon}",
|
||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||
"tooltip-format": "{essid} {ifname} via {gwaddr} ",
|
||||
@@ -228,8 +160,7 @@
|
||||
"format-disconnected": "",
|
||||
"format-icons": [
|
||||
"", "", "", "", ""
|
||||
],
|
||||
"on-click": "hyprctl dispatch exec, [float; move center] kitty -e nmtui"
|
||||
]
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
@@ -239,9 +170,6 @@
|
||||
"format-muted": "",
|
||||
"format-source": "",
|
||||
"format-source-muted": " ",
|
||||
"format-icons": [
|
||||
"", "", "", "", "", "", "", "", ""
|
||||
],
|
||||
"on-click": "pwvucontrol"
|
||||
},
|
||||
"custom/submap": {
|
||||
@@ -254,18 +182,6 @@
|
||||
"exec": "state=$(hyprctl submap) && [[ $state != 'default' ]] && echo $state",
|
||||
"on-click": "hyprctl dispatch submap reset"
|
||||
},
|
||||
"custom/media": {
|
||||
"format": "{icon} {text}",
|
||||
"return-type": "json",
|
||||
"max-length": 40,
|
||||
"format-icons": {
|
||||
"spotify": "",
|
||||
"default": "🎜"
|
||||
},
|
||||
"escape": true,
|
||||
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
|
||||
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
|
||||
},
|
||||
"custom/pomodoro": {
|
||||
"format": "{}",
|
||||
"return-type": "json",
|
||||
@@ -273,21 +189,13 @@
|
||||
"on-click": "~/.local/bin/waybar-module-pomodoro toggle",
|
||||
"on-click-right": "~/.local/bin/waybar-module-pomodoro reset"
|
||||
},
|
||||
"custom/panel": {
|
||||
"format": "",
|
||||
"on-click": "swaync-client -t -sw"
|
||||
},
|
||||
"custom/goal": {
|
||||
"exec": "cat $HOME/.config/waybar/goal.txt",
|
||||
"format": " {}",
|
||||
"interval": 60
|
||||
},
|
||||
"custom/power": {
|
||||
"format" : "⏻ ",
|
||||
"tooltip": false,
|
||||
"menu": "on-click",
|
||||
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
|
||||
"menu-actions": {
|
||||
"shutdown": "shutdown",
|
||||
"reboot": "reboot",
|
||||
"suspend": "systemctl suspend",
|
||||
"hibernate": "systemctl hibernate"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
193
waybar/config_minimal.jsonc
Normal file
193
waybar/config_minimal.jsonc
Normal file
@@ -0,0 +1,193 @@
|
||||
// -*- mode: jsonc -*-
|
||||
{
|
||||
//"output": "eDP-1",
|
||||
"output": [
|
||||
"eDP-1",
|
||||
"HDMI-A-1"
|
||||
],
|
||||
// "layer": "top", // Waybar at top layer
|
||||
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
||||
"height": 30, // Waybar height (to be removed for auto height)
|
||||
// "width": 1280, // Waybar width
|
||||
"spacing": 0, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
"modules-left": [
|
||||
"hyprland/workspaces"
|
||||
// "custom/submap"
|
||||
],
|
||||
"modules-center": [
|
||||
"mpd"
|
||||
],
|
||||
"modules-right": [
|
||||
"pulseaudio",
|
||||
"battery",
|
||||
"network",
|
||||
"tray",
|
||||
"clock"
|
||||
],
|
||||
// Modules configuration
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": false,
|
||||
"active-only": true,
|
||||
"warp-on-scroll": false,
|
||||
"persistent-workspaces": {
|
||||
// "1": [],
|
||||
// "2": [],
|
||||
// "3": [],
|
||||
// "4": [],
|
||||
// "5": [],
|
||||
// "6": [],
|
||||
// "7": [],
|
||||
// "8": [],
|
||||
// "9": [],
|
||||
// "10": [],
|
||||
// "11": [],
|
||||
// "12": []
|
||||
"eDP-1": [1,2,3,4,5,6,7,8,9],
|
||||
"HDMI-A-1": [10,11,12],
|
||||
"FUCKOFF": [13,14]
|
||||
},
|
||||
"ignore-workspaces": [
|
||||
"*13",
|
||||
"*14"
|
||||
],
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
// "5": "5",
|
||||
// "6": "6",
|
||||
"7": "",
|
||||
"8": "",
|
||||
"9": "",
|
||||
"10": "0",
|
||||
"11": "-",
|
||||
"12": "+",
|
||||
"default": "",
|
||||
"empty": ""
|
||||
}
|
||||
},
|
||||
"mpd": {
|
||||
"password": "kapuchinamusica",
|
||||
"artist-len": 30,
|
||||
"title-len": 65,
|
||||
"unknown-tag": "n/a",
|
||||
"format": "{stateIcon} {titleSmart}",
|
||||
"interval": 1,
|
||||
"single-icons": {
|
||||
"on": "1 "
|
||||
},
|
||||
"state-icons": {
|
||||
"paused": "",
|
||||
"playing": ""
|
||||
},
|
||||
"tooltip-format": "MPD (connected)",
|
||||
"tooltip-format-disconnected": "MPD (disconnected)",
|
||||
"format-stopped": " Stopping player...",
|
||||
"on-click": "mpc toggle --password kapuchinamusica"
|
||||
},
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
||||
"spacing": 10,
|
||||
"icons": {
|
||||
"blueman": "bluetooth",
|
||||
"*": "folder-symbolic"
|
||||
}
|
||||
},
|
||||
"clock": {
|
||||
// "timezone": "America/New_York",
|
||||
"interval": 5,
|
||||
"tooltip-format": "<big>{:%A ( %B %d )}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format": "{:%H:%M:%S}",
|
||||
"format-alt": "{:%Y-%m-%d}",
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos": "right",
|
||||
"format": {
|
||||
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"days": "<span color='#ac8699'><b>{}</b></span>",
|
||||
"weeks": "<span color='#BC4056'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#F8B5CE'><b>{}</b></span>",
|
||||
"today": "<span color='#00FFFF'><b><u>{}</u></b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode"
|
||||
}
|
||||
},
|
||||
"cpu": {
|
||||
"format": "{max_frequency:1.2f}GHz {usage}%",
|
||||
"tooltip": false,
|
||||
"interval": 15,
|
||||
"format-icons": [
|
||||
"", "", "", "", "", "", "", "", ""
|
||||
]
|
||||
},
|
||||
"memory": {
|
||||
"format": " {percentage}% {swapPercentage}%",
|
||||
"interval": 10
|
||||
},
|
||||
"battery": {
|
||||
"full-at": 98,
|
||||
"states": {
|
||||
"good": 85,
|
||||
"warning": 30,
|
||||
"critical": 18
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-full": "{icon} {capacity}%",
|
||||
"format-charging": "{icon}{capacity}%",
|
||||
"format-plugged": "{icon} {capacity}%",
|
||||
"format-alt": "{time} {icon}",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
"format-full": "",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
||||
"tooltip-format": "{capacity}%, draws {power:2.1f}W, time is {time}"
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": "{icon}",
|
||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||
"tooltip-format": "{essid} {ifname} via {gwaddr} ",
|
||||
"format-linked": "{ifname} (No IP) ",
|
||||
"format-disconnected": "",
|
||||
"format-icons": [
|
||||
"", "", "", "", ""
|
||||
]
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"format": "{format_source} {volume}%",
|
||||
"format-bluetooth": "{format_source} {volume}%",
|
||||
"format-bluetooth-muted": "{format_source} ",
|
||||
"format-muted": "",
|
||||
"format-source": "",
|
||||
"format-source-muted": " ",
|
||||
"on-click": "pwvucontrol"
|
||||
},
|
||||
"custom/submap": {
|
||||
"format": "{icon} {text}",
|
||||
"max-length": 10,
|
||||
"format-icons": {
|
||||
"default": ""
|
||||
},
|
||||
"interval": 1,
|
||||
"exec": "state=$(hyprctl submap) && [[ $state != 'default' ]] && echo $state",
|
||||
"on-click": "hyprctl dispatch submap reset"
|
||||
},
|
||||
"custom/pomodoro": {
|
||||
"format": "{}",
|
||||
"return-type": "json",
|
||||
"exec": "~/.local/bin/waybar-module-pomodoro --persist -w 20 -s 5 -l 20 -i 3 --autob",
|
||||
"on-click": "~/.local/bin/waybar-module-pomodoro toggle",
|
||||
"on-click-right": "~/.local/bin/waybar-module-pomodoro reset"
|
||||
},
|
||||
"custom/goal": {
|
||||
"exec": "cat $HOME/.config/waybar/goal.txt",
|
||||
"format": " {}",
|
||||
"interval": 60
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,6 @@ window#waybar.chromium {
|
||||
#custom-submap,
|
||||
#cpu,
|
||||
#memory,
|
||||
#memory.swap,
|
||||
#disk,
|
||||
#clock,
|
||||
#battery,
|
||||
@@ -58,6 +57,7 @@ window#waybar.chromium {
|
||||
#pulseaudio,
|
||||
#wireplumber,
|
||||
#custom-media,
|
||||
#custom-panel,
|
||||
#tray,
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
@@ -138,11 +138,6 @@ window#waybar.chromium {
|
||||
}
|
||||
|
||||
#memory {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
#memory.swap {
|
||||
border-left: none;
|
||||
border-radius: 0 0 10px 0;
|
||||
}
|
||||
@@ -202,6 +197,7 @@ window#waybar.chromium {
|
||||
#network,
|
||||
#wireplumber,
|
||||
#custom-media,
|
||||
#custom-panel,
|
||||
#tray,
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
@@ -210,6 +206,11 @@ window#waybar.chromium {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
#custom-panel {
|
||||
padding: 0;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
border-left: 1px solid @border-color;
|
||||
border-right: none;
|
||||
@@ -245,6 +246,7 @@ window#waybar.chromium {
|
||||
#pulseaudio:hover,
|
||||
#wireplumber:hover,
|
||||
#custom-media:hover,
|
||||
#custom-panel:hover,
|
||||
#mode:hover,
|
||||
#idle_inhibitor:hover,
|
||||
#scratchpad:hover,
|
||||
|
||||
Reference in New Issue
Block a user