aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/UserScripts')
-rwxr-xr-xconfig/hypr/UserScripts/QuickEdit.sh16
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperSelect.sh5
2 files changed, 10 insertions, 11 deletions
diff --git a/config/hypr/UserScripts/QuickEdit.sh b/config/hypr/UserScripts/QuickEdit.sh
index 12db89b4..618ed002 100755
--- a/config/hypr/UserScripts/QuickEdit.sh
+++ b/config/hypr/UserScripts/QuickEdit.sh
@@ -24,8 +24,8 @@ menu() {
7. view/edit Animations
8. view/edit Laptop Keybinds
9. view/edit Default Keybinds
-10. view/edit Monitors (via nwg-display)
-11. view/edit Workspace Rules (nwg-display)
+10. view/edit Monitors (via nwg-displays)
+11. view/edit Workspace Rules (nwg-displays)
EOF
}
@@ -38,12 +38,12 @@ main() {
1) file="$UserConfigs/ENVariables.conf" ;;
2) file="$UserConfigs/WindowRules.conf" ;;
3) file="$UserConfigs/UserKeybinds.conf" ;;
- 4) file="$UserConfigs/UserKeybinds.conf" ;;
- 5) file="$UserConfigs/UserSettings.conf" ;;
- 6) file="$UserConfigs/Startup_Apps.conf" ;;
- 7) file="$UserConfigs/UserDecorations.conf" ;;
- 8) file="$UserConfigs/UserAnimations.conf" ;;
- 9) file="$UserConfigs/Laptops.conf" ;;
+ 4) file="$UserConfigs/UserSettings.conf" ;;
+ 5) file="$UserConfigs/Startup_Apps.conf" ;;
+ 6) file="$UserConfigs/UserDecorations.conf" ;;
+ 7) file="$UserConfigs/UserAnimations.conf" ;;
+ 8) file="$UserConfigs/Laptops.conf" ;;
+ 9) file="$configs/Keybinds.conf" ;;
10) nwg-displays ;;
11) nwg-displays ;;
*) return ;; # Do nothing for invalid choices
diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh
index e1a84001..32f9a93b 100755
--- a/config/hypr/UserScripts/WallpaperSelect.sh
+++ b/config/hypr/UserScripts/WallpaperSelect.sh
@@ -22,10 +22,9 @@ focused_monitor=$(hyprctl monitors -j | jq -r '.[] | select(.focused) | .name')
monitor_width=$(hyprctl monitors -j | jq -r --arg mon "$focused_monitor" '.[] | select(.name == $mon) | .width')
scale_factor=$(hyprctl monitors -j | jq -r --arg mon "$focused_monitor" '.[] | select(.name == $mon) | .scale')
-icon_size=$(echo "scale=1; ($monitor_width * 15) / ($scale_factor * 100)" | bc) # icon size
-margin=$(echo "scale=1; ($scale_factor * 100) / $scale_factor" | bc) # margin
+icon_size=$(echo "scale=1; ($monitor_width * 3) / ($scale_factor * 400)" | bc)
-rofi_override="element-icon{size:${icon_size}px;margin:-${margin}px;}"
+rofi_override="element-icon{size:${icon_size}%;}"
# swww transition config
FPS=60
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage