diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-02-20 12:22:52 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-02-20 12:22:52 +0900 |
| commit | b0b6f0a8b1734e45de46b36a4e806002867db161 (patch) | |
| tree | 8438c676f87b158912ed7f9c355c5f07797b231e /config | |
| parent | 510fc668b4831dc00b6edb03e8f378926c764bba (diff) | |
slight improvement wallpaper select script. update hyprland.conf in integration with nwg-displays
Diffstat (limited to 'config')
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperSelect.sh | 4 | ||||
| -rw-r--r-- | config/hypr/hyprland.conf | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 6ea01673..e1a84001 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -22,8 +22,8 @@ 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 * 18) / ($scale_factor * 100)" | bc) # icon size -margin=$(echo "scale=1; ($scale_factor * 120) / $scale_factor" | bc) # margin +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 rofi_override="element-icon{size:${icon_size}px;margin:-${margin}px;}" diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index fc2b781c..1469db06 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -19,7 +19,8 @@ source= $UserConfigs/Startup_Apps.conf # put your start-up packages on this file source= $UserConfigs/ENVariables.conf # Environment variables to load -source= $UserConfigs/Monitors.conf # Its all about your monitor config +#source= $UserConfigs/Monitors.conf # Its all about your monitor config (old builds) +#source= $UserConfigs/WorkspaceRules.conf # Hyprland workspaces (old dots) source= $UserConfigs/Laptops.conf # For laptop related @@ -35,4 +36,6 @@ source= $UserConfigs/UserKeybinds.conf # Put your own keybinds here source= $UserConfigs/UserSettings.conf # Main Hyprland Settings. -source= $UserConfigs/WorkspaceRules.conf # Hyprland workspaces
\ No newline at end of file +# nwg displays +source= $HOME/.config/hypr/monitors.conf +source= $HOME/.config/hypr/workspaces.conf
\ No newline at end of file |
