Update config-DP-2
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["clock","custom/weather"],
|
||||
"modules-right": ["tray","custom/scratchpad-indicator","bluetooth","custom/kblayout","memory","cpu","pulseaudio","custom/power"],
|
||||
"modules-right": ["tray","custom/scratchpad-indicator","bluetooth","custom/recording","custom/kblayout","memory","cpu","pulseaudio","custom/power"],
|
||||
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
@@ -74,6 +74,11 @@
|
||||
"interval": 1800,
|
||||
"exec": "$HOME/.config/waybar/scripts/weather.py",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/recording": {
|
||||
"exec": "if pgrep -x wf-recorder > /dev/null || pgrep -x obs > /dev/null; then echo '⏺'; else echo ''; fi",
|
||||
"interval": 1,
|
||||
"return-type": "text"
|
||||
},
|
||||
"custom/kblayout": {
|
||||
"exec": "hyprctl -j devices | jq -r '.keyboards[] | select(.main == true) | .active_keymap | ascii_downcase | if test(\"turk\") then \"tr\" elif test(\"us|english\") then \"en\" else \"??\" end'",
|
||||
|
||||
Reference in New Issue
Block a user