Commit 1ea7f77

Ansari <ping@ansari.wtf>
2026-05-12 11:02:34
small fix for brightness triple monitor
1 parent f4fe350
Changed files (3)
.config
hypr
.wraith
.config/hypr/modules/windows.conf
@@ -34,7 +34,7 @@ windowrule = rounding 8, match:tag pop
 windowrule = workspace Research, match:class ^(zen)$
 windowrule = workspace Code, match:class ^(code|code-oss|Code-Insiders)$
 windowrule = workspace AI, match:class ^(chrome-gemini.google.com.*|chrome-claude.ai.*|chrome-chatgpt.com.*)$
-windowrule = workspace 1, match:class ^(BambuStudio|blender|FreeCAD)$
+#windowrule = workspace 1, match:class ^(BambuStudio|blender|FreeCAD)$
 windowrule = workspace 1, match:class ^(chrome-youtube\..*)$
 
 windowrule = float true,center true,size 1000 550,rounding 12,tag -floating-window,match:class org.wraith.about
.wraith/scripts/brightness.sh
@@ -181,7 +181,7 @@ set_brightness() {
     
     echo "Setting brightness from $current% to $new_brightness%..." >&2
     
-    if ddcutil setvcp 10 $new_brightness --brief >/dev/null 2>&1; then
+    if ddcutil setvcp -b 5 10 $new_brightness --brief >/dev/null 2>&1; then
         echo "$new_brightness" > "$STATE_FILE"
         echo "✓ Brightness set to $new_brightness%" >&2
         
@@ -228,4 +228,4 @@ case "$1" in
         echo "Error: Unknown command: $1" >&2
         exit 1
         ;;
-esac
\ No newline at end of file
+esac
.wraith/scripts/display.sh
@@ -4,7 +4,7 @@ SOURCE=$(printf "DP-1\nHDMI-1\nHDMI-2" |rofi -dmenu -i -theme $HOME/.wraith/them
 [ -z "$SOURCE" ] && exit 0
 
 case "$SOURCE" in
-  DP-1)   ddcutil setvcp 60 0x0f ;;
-  HDMI-1) ddcutil setvcp 60 0x11 ;;
-  HDMI-2) ddcutil setvcp 60 0x12 ;;
-esac
\ No newline at end of file
+  DP-1)   ddcutil setvcp -b 5 60 0x0f ;;
+  HDMI-1) ddcutil setvcp -b 5 60 0x11 ;;
+  HDMI-2) ddcutil setvcp -b 5 60 0x12 ;;
+esac