forked from Shinonome/dots-hyprland
Fix >dark >light actions for multimonitors (#332)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ "$1" == "--noswitch" ]; then
|
if [ "$1" == "--noswitch" ]; then
|
||||||
imgpath=$(swww query | awk -F 'image: ' '{print $2}')
|
imgpath=$(swww query | awk -F 'image: ' '{print $2}'| head -n 1)
|
||||||
# imgpath=$(ags run-js 'wallpaper.get(0)')
|
# imgpath=$(ags run-js 'wallpaper.get(0)')
|
||||||
else
|
else
|
||||||
# Select and set image (hyprland)
|
# Select and set image (hyprland)
|
||||||
|
|||||||
Reference in New Issue
Block a user