aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/scripts
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-09-05 20:21:26 +0530
committerkrolxon <krolyxon@tutanota.com>2025-09-05 20:21:26 +0530
commit3f5c24ad0ccc951f2c201bfb9d679830cb700cd8 (patch)
tree878f53fbd9d02dd23a0d2d06ff4b1c001f86113d /.config/waybar/scripts
parent24a6f24caeea87851d6168f49dd81127948e333b (diff)
move envyswitch to $PATH
Diffstat (limited to '.config/waybar/scripts')
-rwxr-xr-x.config/waybar/scripts/envyswitch.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/.config/waybar/scripts/envyswitch.sh b/.config/waybar/scripts/envyswitch.sh
deleted file mode 100755
index e1d9933..0000000
--- a/.config/waybar/scripts/envyswitch.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/env bash
-
-mode="$(printf "Integrated\nHybrid\nNvidia" | fuzzel --dmenu -p "Select the graphics mode:")"
-
-# Exit if no selection was made
-[ -z "$mode" ] && exit 1
-
-notify-send "Switching to $mode mode..."
-
-# Map mode to envycontrol argument
-arg=$(echo "$mode" | tr '[:upper:]' '[:lower:]')
-
-if sudo -A envycontrol -s "$arg"; then
- notify-send "Graphics mode set to $mode"
-else
- notify-send "Failed to set graphics mode to $mode"
-fi