From 7cf9101c719bc792895efe069b1cae4e583d5df8 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 21 Jul 2025 01:17:58 +0200 Subject: [PATCH 1/5] Add xdph config file --- home/.config/hypr/xdph.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 home/.config/hypr/xdph.conf diff --git a/home/.config/hypr/xdph.conf b/home/.config/hypr/xdph.conf new file mode 100644 index 0000000..e40a11d --- /dev/null +++ b/home/.config/hypr/xdph.conf @@ -0,0 +1,3 @@ +screencopy { + allow_token_by_default = true +} From a572d0f073bc85d2ec35b00268baf7b9bca72e64 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 21 Jul 2025 01:18:41 +0200 Subject: [PATCH 2/5] Improve emoji spacing in hyprlock --- home/.config/hypr/hyprlock.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/.config/hypr/hyprlock.conf b/home/.config/hypr/hyprlock.conf index f01b8fa..4361a21 100644 --- a/home/.config/hypr/hyprlock.conf +++ b/home/.config/hypr/hyprlock.conf @@ -165,7 +165,7 @@ label { # Device uptime label { - text = cmd[update:1000] echo " $(uptime -p | sed -e 's/^up //' -e 's/ years\?,\?/y/' -e 's/ months\?,\?/m/' -e 's/ weeks\?,\?/w/' -e 's/ days\?,\?/d/' -e 's/ hours\?,\?/h/' -e 's/ minutes\?.\?/m/' -e 's/ seconds\?,\?/s/' | cut -d' ' -f-2)" + text = cmd[update:1000] echo " $(uptime -p | sed -e 's/^up //' -e 's/ years\?,\?/y/' -e 's/ months\?,\?/m/' -e 's/ weeks\?,\?/w/' -e 's/ days\?,\?/d/' -e 's/ hours\?,\?/h/' -e 's/ minutes\?.\?/m/' -e 's/ seconds\?,\?/s/' | cut -d' ' -f-2)" color = rgba(129, 162, 190, 1.0) font_size = 11 font_family = Noto Sans @@ -177,7 +177,7 @@ label { # Battery percentage label { - text = cmd[update:1000] echo " $(cat /sys/class/power_supply/BAT0/capacity)%" + text = cmd[update:1000] echo " $(cat /sys/class/power_supply/BAT0/capacity)%" color = rgba(129, 162, 190, 1.0) font_size = 11 font_family = Noto Sans @@ -193,7 +193,7 @@ label { # User account label { - text =  $USER + text =  $USER color = rgba(129, 162, 190, 1.0) font_size = 11 font_family = Noto Sans From 076a3b1dd48ee01ffd97a01f304fbcbb1e1fe217 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 21 Jul 2025 01:19:28 +0200 Subject: [PATCH 3/5] Delay starting vesktop Instant start causes issues --- home/.config/hypr/hyprland.d/exec.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/hypr/hyprland.d/exec.conf b/home/.config/hypr/hyprland.d/exec.conf index ee6742e..95e1bbe 100644 --- a/home/.config/hypr/hyprland.d/exec.conf +++ b/home/.config/hypr/hyprland.d/exec.conf @@ -1,4 +1,4 @@ exec-once = uwsm finalize -exec-once = uwsm app vesktop +exec-once = sleep 3 && uwsm app vesktop # vi: ft=hyprlang From d7a398ca087728d49e48b569e507094e3818ef6b Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 21 Jul 2025 01:19:52 +0200 Subject: [PATCH 4/5] Update monitor setup --- home/.config/hypr/hyprland.d/input.conf | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/home/.config/hypr/hyprland.d/input.conf b/home/.config/hypr/hyprland.d/input.conf index a12e57f..6a1fddc 100644 --- a/home/.config/hypr/hyprland.d/input.conf +++ b/home/.config/hypr/hyprland.d/input.conf @@ -3,13 +3,15 @@ # ################ # Should be configured per-profile -#monitor = HDMI-A-1, 1920x1080@60, 0x0, 1 # above -monitor = HDMI-A-1, 1920x1080@60, 1920x1080, 1 # left -monitor = eDP-1, 1920x1200@60, 0x1080, 1 -monitor = , preferred, auto, 1 +monitor = desc:Microstep MSI MAG 256F BC1H174600235, 1920x1080@120, 1920x0, 1 # left +monitor = desc:AOC 2260WG5 KBEH81A000795, 1920x1080@60, 1920x0, 1, # left + +monitor = eDP-1, 1920x1200@60, 0x0, 1 # Mirror the primary (laptop) monitor on externals -# monitor= , preferred, auto, 1, mirror, eDP-1 +#monitor= , preferred, auto, 1, mirror, eDP-1 +# Extend on externals +monitor = , preferred, auto, 1, # ##################### # ### GENERAL INPUT ### From ef50ca9065db394b8c54f5eb6324b45395bb956a Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 21 Jul 2025 01:20:41 +0200 Subject: [PATCH 5/5] Use PRINTSCR_KEY const for simple dynamic change --- home/.config/hypr/hyprland.d/keybinds.conf | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/home/.config/hypr/hyprland.d/keybinds.conf b/home/.config/hypr/hyprland.d/keybinds.conf index 941e987..cad7aeb 100644 --- a/home/.config/hypr/hyprland.d/keybinds.conf +++ b/home/.config/hypr/hyprland.d/keybinds.conf @@ -48,17 +48,18 @@ bind = SUPER_SHIFT, T, exec, toggle-idle # Screenshots (with custom screenshot script) $SCREENSHOT_FORMAT = "${XDG_SCREENSHOTS_DIR:-$HOME/Media/Pictures/Screenshots}/Screenshot_$(date +%Y-%m-%d_%H-%M-%S).png" $SCREENSHOT_DELAY = 2000 +$PRINTSCR_KEY = Print #Menu # Print -bind = ALT, Print, exec, wl-copy --type image/png "$(hyprpicker)" && notify-send 'Picked color' "$(wl-paste) (saved to clipboard)" -bind = , Print, exec, hyprland-screenshot --notify --copy --target area -#bindl = , Print, exec, hyprland-screenshot --notify --copy --target all # lockscreen screenshot (only enable when needed) -bind = SUPER, Print, exec, hyprland-screenshot --notify --copy --target area --edit -bind = SHIFT, Print, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area -bind = CTRL, Print, exec, hyprland-screenshot --notify --copy --target area --delay $SCREENSHOT_DELAY -bind = SUPER_SHIFT, Print, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area --edit -bind = SUPER_CTRL, Print, exec, hyprland-screenshot --notify --copy --target area --delay $SCREENSHOT_DELAY --edit -bind = SUPER_SHIFT_CTRL, Print, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area --delay $SCREENSHOT_DELAY --edit -bind = SUPER_ALT, Print, exec, ocr && notify-send "OCR" "Text copied to clipboard" +#bind = ALT, $PRINTSCR_KEY, exec, wl-copy --type image/png "$(hyprpicker)" && notify-send 'Picked color' "$(wl-paste) (saved to clipboard)" +bind = , $PRINTSCR_KEY, exec, hyprland-screenshot --notify --copy --target area +#bindl = , $PRINTSCR_KEY, exec, hyprland-screenshot --notify --copy --target all # lockscreen screenshot (only enable when needed) +bind = SUPER, $PRINTSCR_KEY, exec, hyprland-screenshot --notify --copy --target area --edit +bind = SHIFT, $PRINTSCR_KEY, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area +bind = CTRL, $PRINTSCR_KEY, exec, hyprland-screenshot --notify --copy --target area --delay $SCREENSHOT_DELAY +bind = SUPER_SHIFT, $PRINTSCR_KEY, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area --edit +bind = SUPER_CTRL, $PRINTSCR_KEY, exec, hyprland-screenshot --notify --copy --target area --delay $SCREENSHOT_DELAY --edit +bind = SUPER_SHIFT_CTRL, $PRINTSCR_KEY, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area --delay $SCREENSHOT_DELAY --edit +bind = SUPER_ALT, $PRINTSCR_KEY, exec, ocr && notify-send "OCR" "Text copied to clipboard" # XF86Favorites key for recording # (don't question me, I had it free)