Compare commits

..

No commits in common. "7698c11163f0753063fc1e83ac89083cf81d2da4" and "5cf1d64eaffc908c7d3fee7f78ba72953a746011" have entirely different histories.

3 changed files with 1 additions and 20 deletions

View File

@ -181,4 +181,3 @@ bindl = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
bind = , PRINT, exec, hyprshot -m region
windowrulev2 = idleinhibit fullscreen, fullscreen:1
windowrulev2 = tile, class:^(ONLYOFFICE Desktop Editors)$

View File

@ -6,7 +6,7 @@
// Choose the order of the modules
"modules-left": ["hyprland/workspaces"],
"modules-center": ["hyprland/window"],
"modules-right": ["pulseaudio", "custom/VPN", "network", "custom/bandwidth", "cpu", "memory", "battery", "tray", "clock"],
"modules-right": ["pulseaudio", "network", "custom/bandwidth", "cpu", "memory", "battery", "tray", "clock"],
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": false,
@ -56,12 +56,6 @@
"custom/bandwidth": {
"exec": "$HOME/.config/waybar/scripts/bandwidth"
},
"custom/VPN": {
"format": "{}",
"interval": 5,
"max-length": 20,
"exec": "$HOME/.config/waybar/scripts/vpn"
},
"pulseaudio": {
//"scroll-step": 1,
"format": "{volume}% {icon}",

View File

@ -1,12 +0,0 @@
#!/usr/bin/env sh
# Check if wireguard VPN is active
if nmcli c show --active | grep -q wireguard; then
echo ""
# If not, check if the connection named "YapiBiche" is active
elif nmcli c show --active | grep -q "YapiBiche"; then
echo ""
# If neither is active, return "NO"
else
echo ""
fi