From a60d6e94164ccd3cb0320839522426ceafd5acfa Mon Sep 17 00:00:00 2001 From: Uyanide Date: Thu, 11 Sep 2025 21:24:36 +0200 Subject: [PATCH] hyprland is updated --- ...gion-conservation-mode => legion-conservation-mode.txt} | 0 .scripts/hypr-sdrbrightness.py | 2 -- .scripts/pacman-reflector.sh | 7 +++++++ hypr/hyprland/general.conf | 6 ++---- hypr/hyprland/monitors.conf | 2 +- waybar/config.jsonc | 2 +- waybar/modules/publicip.sh | 3 +-- 7 files changed, 12 insertions(+), 10 deletions(-) rename .memo/{legion-conservation-mode => legion-conservation-mode.txt} (100%) create mode 100755 .scripts/pacman-reflector.sh diff --git a/.memo/legion-conservation-mode b/.memo/legion-conservation-mode.txt similarity index 100% rename from .memo/legion-conservation-mode rename to .memo/legion-conservation-mode.txt diff --git a/.scripts/hypr-sdrbrightness.py b/.scripts/hypr-sdrbrightness.py index fe9fd0f..c7a69d1 100755 --- a/.scripts/hypr-sdrbrightness.py +++ b/.scripts/hypr-sdrbrightness.py @@ -2,8 +2,6 @@ # new_brightness="$1" # [ -z "$1" ] && new_brightness=1 - - # sed -i "/sdrbrightness/c\ sdrbrightness = $new_brightness" import sys diff --git a/.scripts/pacman-reflector.sh b/.scripts/pacman-reflector.sh new file mode 100755 index 0000000..ac63867 --- /dev/null +++ b/.scripts/pacman-reflector.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +[ -z "$COUNTRY" ] && COUNTRY="Germany" + +sudo cp -f /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak || exit 1 + +sudo reflector --country "$COUNTRY" --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist diff --git a/hypr/hyprland/general.conf b/hypr/hyprland/general.conf index f4a776a..c47a092 100755 --- a/hypr/hyprland/general.conf +++ b/hypr/hyprland/general.conf @@ -23,11 +23,9 @@ binds { scroll_event_delay = 0 } +gesture = 4, horizontal, workspace gestures { - workspace_swipe = true workspace_swipe_distance = 700 - workspace_swipe_fingers = 4 - workspace_swipe_min_fingers = true workspace_swipe_cancel_ratio = 0.2 workspace_swipe_min_speed_to_force = 5 workspace_swipe_direction_lock = true @@ -38,7 +36,7 @@ gestures { general { # Gaps and border gaps_in = 2 - gaps_out = 0, 3, 3, 3 + gaps_out = 0, 4, 4, 4 gaps_workspaces = 50 border_size = 2 diff --git a/hypr/hyprland/monitors.conf b/hypr/hyprland/monitors.conf index 818e11c..36dafa6 100644 --- a/hypr/hyprland/monitors.conf +++ b/hypr/hyprland/monitors.conf @@ -6,7 +6,7 @@ monitor=eDP-2,2560x1600@240,auto,1.25,bitdepth,10 monitorv2 { output = eDP-1 - mode = 2560x1600@240 + mode = 1920x1200@240 scale = 1.25 bitdepth = 10 diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 24150ac..3d9ca1e 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -44,7 +44,7 @@ }, // Time and Date "clock": { - "format": "󰥔 {:%H:%M |  %e %b}", + "format": "{:%H:%M | %e %b}", "tooltip-format": "{:%Y %B}\n{calendar}", "today-format": "{}" }, diff --git a/waybar/modules/publicip.sh b/waybar/modules/publicip.sh index 45e323e..57f5485 100755 --- a/waybar/modules/publicip.sh +++ b/waybar/modules/publicip.sh @@ -3,13 +3,12 @@ # Entries in publicip.conf: # IP_QUERY_URL: URL to query public IP of the system. -# param: none # return: JSON object with "ip" field. # note: This URL will be queried with short intervals (60s for example), # therefore it may not be a good idea to use a public API with # a limited number of calls. # IP_INFO_URL: URL to query IP location. -# param: +# placeholder: # return: JSON object with "country_code" field. # note: This URL will only be quetried when public IP changes or when "force" is given as parameter.