Compare commits

..

No commits in common. "510d01ef47fd14ab2ad422e5a05e1840279abdbd" and "b93efba0fd22721be663e51c7c7d49cbc0d7a892" have entirely different histories.

3 changed files with 9 additions and 11 deletions

View file

@ -3,8 +3,8 @@
# ################ # ################
# Should be configured per-profile # Should be configured per-profile
#monitor = HDMI-A-1, 1920x1080@60, 0x0, 1 # above monitor = HDMI-A-1, 1920x1080@60, 0x0, 1 # above
monitor = HDMI-A-1, 1920x1080@60, 1920x1080, 1 # left #monitor = HDMI-A-1, 1920x1080@60, 1920x1080, 1 # left
monitor = eDP-1, 1920x1200@60, 0x1080, 1 monitor = eDP-1, 1920x1200@60, 0x1080, 1
monitor = , preferred, auto, 1 monitor = , preferred, auto, 1

View file

@ -16,9 +16,7 @@ DOWN add volume -2
# Zooming # Zooming
- add video-zoom -.25 - add video-zoom -.25
KP_SUBTRACT add video-zoom -.25
+ add video-zoom .25 + add video-zoom .25
KP_ADD add video-zoom .25
# Moving/panning video # Moving/panning video
kp8 add video-pan-y .05 kp8 add video-pan-y .05

View file

@ -1,11 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail
#ACTIVE_BORDER_COLOR="rgba(FF327BD1)" #ACTIVE_BORDER_COLOR="0xFF327BD1"
ACTIVE_BORDER_COLOR="rgba(FF6600FF)" ACTIVE_BORDER_COLOR="0xFFFF6600"
DEFAULT_BORDER_COLOR="rgba(FFA500FF)" DEFAULT_BORDER_COLOR="0xFFFFA500"
window_address="$(hyprctl activewindow -j | jq -r '.address')"
hyprctl dispatch fullscreenstate -1 2 hyprctl dispatch fullscreenstate -1 2
fullscreen_status="$(hyprctl activewindow -j | jq '.fullscreenClient')" fullscreen_status="$(hyprctl activewindow -j | jq '.fullscreenClient')"
@ -13,9 +11,11 @@ if [ "$fullscreen_status" = "null" ]; then
echo "Update your hyprland, 'fakeFullscreen' window property not found." echo "Update your hyprland, 'fakeFullscreen' window property not found."
exit 1 exit 1
elif [ "$fullscreen_status" = "2" ]; then elif [ "$fullscreen_status" = "2" ]; then
hyprctl dispatch setprop "address:$window_address" activebordercolor "$ACTIVE_BORDER_COLOR" window_address="$(hyprctl activewindow -j | jq -r '.address')"
hyprctl setprop "address:$window_address" activebordercolor "$ACTIVE_BORDER_COLOR" lock
elif [ "$fullscreen_status" = "0" ]; then elif [ "$fullscreen_status" = "0" ]; then
hyprctl dispatch setprop "address:$window_address" activebordercolor "$DEFAULT_BORDER_COLOR" window_address="$(hyprctl activewindow -j | jq -r '.address')"
hyprctl setprop "address:$window_address" activebordercolor "$DEFAULT_BORDER_COLOR"
else else
echo "Unexpected output from 'fullscreenClient' window property: $fullscreen_status" echo "Unexpected output from 'fullscreenClient' window property: $fullscreen_status"
exit 1 exit 1