aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/hypr/hyprland.conf13
-rwxr-xr-x.local/bin/powermenu3
2 files changed, 12 insertions, 4 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 4ee5150..c6732d3 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -9,8 +9,10 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
# monitor=,preferred,auto,1
-monitor=eDP-1,1920x1080,1920x0,1
-monitor=HDMI-A-1,1920x1080,0x0,1
+# monitor=eDP-1,1920x1080,1920x0,1
+# monitor=HDMI-A-1,1920x1080,0x0,1
+monitor=eDP-1,preferred, auto,1
+monitor=HDMI-A-1,preferred, 0x0,1
workspace=HDMI-A-1,1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
@@ -24,7 +26,8 @@ exec-once = wlsunset -l 57.4 -L -1.9
exec = ~/.config/hypr/scripts/wallpaper.sh
exec-once = ~/.config/eww/scripts/monitor.sh
exec = ~/.config/eww/scripts/start.sh
-exec-once = swayidle timeout 300 'swaylock -f -i ~/.cache/wallpaper --effect-blur 10x5 --clock --indicator --datestr "%a %d %b %Y"' timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
+# exec-once = swayidle timeout 300 'swaylock -f -i ~/.cache/wallpaper --effect-blur 10x5 --clock --indicator --datestr "%a %d %b %Y"' timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
+exec-once = swayidle timeout 300 'hyprlock' timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
exec-once = hyprctl dispatcher focusmonitor 1
@@ -43,6 +46,10 @@ layerrule = blur, notifications
# Blur Wayprompt background
layerrule = blur, wayprompt
+debug {
+ disable_logs = false
+}
+
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us,gb
diff --git a/.local/bin/powermenu b/.local/bin/powermenu
index b992e87..30574bb 100755
--- a/.local/bin/powermenu
+++ b/.local/bin/powermenu
@@ -15,7 +15,8 @@ rofi_command="fuzzel -d -w 14 -l $((lines+1))"
chosen="$(echo -e "$options" | $rofi_command )"
case $chosen in
"$lock_screen")
- swaylock -f -i ~/.cache/wallpaper --effect-blur 10x5 --clock --indicator --datestr "%a %d %b %Y"
+ # swaylock -f -i ~/.cache/wallpaper --effect-blur 10x5 --clock --indicator --datestr "%a %d %b %Y"
+ hyprlock
;;
"$power_off")
systemctl poweroff