Krolyxon
Commit 4ddf45c

Branches

Refs →

aurora4ddf45c

change the order of installation, install everything with paru at the end

Author
krolxon
Date
2026-01-08 12:25 +0530
Parent
f96621a
Commit
4ddf45c07f14fd0cf9be9d0c543f581267ef374a

+71 −59

4 files changed

  1. M .config/hypr/source/appearance.conf +12 −14
  2. M .config/hypr/source/keybinds.conf +3 −7
  3. M README.md +3 −1
  4. M install.sh +53 −37
M .config/hypr/source/appearance.conf View
@@ -4,7 +4,7 @@ general {
44 border_size = 2
55 resize_on_border = false
66 allow_tearing = false
7− # col.active_border = $color14 $color0 $color0 $color14 45deg
7+ # col.active_border = $color14 $color0 $color0 $color14 45deg # Gradient border
88 col.active_border = $color14 $color14 $color14 $color14 45deg
99 col.inactive_border = $color0 $color0 $color0 $color0 45deg
1010 layout = master
@@ -14,21 +14,21 @@ decoration {
1414 # rounding = 8
1515
1616
17− blur {
18− enabled = false
19− size = 3
20− passes = 1
21− }
22−
23−
2417 # blur {
2518 # enabled = true
2619 # size = 3
27− # passes = 3
28− # new_optimizations = true
29− # vibrancy = 0.1696
30− # ignore_opacity = true
20+ # passes = 1
3121 # }
22+
23+
24+ blur {
25+ enabled = true
26+ size = 3
27+ passes = 3
28+ new_optimizations = true
29+ vibrancy = 0.1696
30+ ignore_opacity = true
31+ }
3232 }
3333
3434 animations {
@@ -70,10 +70,8 @@ misc {
7070 force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
7171 disable_hyprland_logo = true# If true disables the random hyprland logo / anime girl background. :(
7272 disable_splash_rendering = true
73−
7473 mouse_move_enables_dpms = true
7574 key_press_enables_dpms = true
76−
7775 vrr = 0 # Disable adaptive sync
7876 }
7977
M .config/hypr/source/keybinds.conf View
@@ -72,23 +72,20 @@ bind = $mainMod SHIFT, 0, split-movetoworkspacesilent, 10
7272 bind = $mainMod, S, togglespecialworkspace, magic
7373 bind = $mainMod SHIFT, S, movetoworkspace, special:magic
7474
75−# Have scratchpad like DWM
75+# Scratchpad like DWM
7676 workspace = special:h, on-created-empty: $terminal
7777 bind = $mainMod SHIFT, Return, togglespecialworkspace, h
7878
79−# --- Screen Rotate ---
79+# Screen Rotate
8080 bindld = CTRL ALT, R, Rotate Screen Clockwise, exec, hypr_screen_rotate.sh -90
8181 bindld = CTRL ALT SHIFT, R, Rotate Screen Anti-Clockwise, exec, hypr_screen_rotate.sh +90
8282
83−# --- Accessibility: Zoom ---
83+# Accessibility: Zoom
8484 cursor:zoom_disable_aa = true
85−
8685 # Zoom In
8786 binded = SUPER SHIFT, equal, Zoom In, exec, sh -c "hyprctl keyword cursor:zoom_factor \"$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {print $2 * 1.25}')\""
88−
8987 # Zoom Out
9088 binded = SUPER SHIFT, minus, Zoom Out, exec, sh -c "hyprctl keyword cursor:zoom_factor \"$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {val = $2 / 1.25; if (val < 1.0) val = 1.0; print val}')\""
91−
9289 # Reset Zoom
9390 bindld = SUPER SHIFT, BACKSPACE, Reset Zoom, exec, hyprctl keyword cursor:zoom_factor 1.0
9491
@@ -114,4 +111,3 @@ bindl = , XF86AudioNext, exec, playerctl next
114111 bindl = , XF86AudioPause, exec, playerctl play-pause
115112 bindl = , XF86AudioPlay, exec, playerctl play-pause
116113 bindl = , XF86AudioPrev, exec, playerctl previous
117−
M README.md View
@@ -14,6 +14,8 @@ cd $HOME
1414 git clone https://github.com/krolyxon/dotfiles.git ~/.dotfiles
1515 cd ~/.dotfiles
1616 ./install.sh
17−# Installation with no confirmation prompts
17+
18+## OR ##
19+## Use auto-yes (you won't be asked to select any packages, everything will be selected by default)
1820 ./install.sh --yes
1921 ```
M install.sh View
@@ -174,6 +174,19 @@ else
174174 gum_to_array GPU_PKGS < <(choose_packages pkg_gpu)
175175 fi
176176
177+##################
178+## AUR PACKAGES ##
179+##################
180+source "$currentDir/packages/pkg_aur.sh"
181+prompt_style "Select AUR packages"
182+
183+if ((AUTO_YES)); then
184+ AUR_PKGS=("${pkg_aur[@]}")
185+else
186+ gum_to_array AUR_PKGS < <(choose_packages pkg_aur)
187+fi
188+
189+
177190
178191 ##########################
179192 ## Configure Everything ##
@@ -237,44 +250,8 @@ else
237250 exit 1
238251 fi
239252
240−##################
241−## AUR PACKAGES ##
242−##################
243−source "$currentDir/packages/pkg_aur.sh"
244−prompt_style "Select AUR packages"
245−
246−if ((AUTO_YES)); then
247− AUR_PKGS=("${pkg_aur[@]}")
248−else
249− gum_to_array AUR_PKGS < <(choose_packages pkg_aur)
250−fi
251−
252−if ((${#AUR_PKGS[@]})); then
253− if ! command -v paru >/dev/null 2>&1; then
254− log INFO "Installing Paru (AUR package manager)"
255− git clone https://aur.archlinux.org/paru.git
256− (cd paru && makepkg -sri)
257− rm -rf paru
258− fi
259− paru -S --needed "${AUR_PKGS[@]}"
260−else
261− log WARN "No AUR packages selected"
262−fi
263253
264254
265−############################
266−## Setup Keyd ##
267−############################
268−if command -v keyd >/dev/null 2>&1; then
269− if confirm "Configure and enable keyd? "; then
270− log INFO "Copying keyd configuration to /etc/keyd/default.conf"
271− sudo cp "$currentDir/system/etc/keyd/default.conf" /etc/keyd/
272− sudo systemctl enable --now keyd.service \
273− && log SUCCESS "Successfully enabled keyd.service" \
274− || log ERROR "Couldn't enable keyd.service"
275− fi
276−fi
277−
278255 ########################
279256 ## Install Everything ##
280257 ########################
@@ -284,13 +261,23 @@ ALL_PKGS=(
284261 "${OPTIONAL_PKGS[@]}"
285262 "${GPU_PKGS[@]}"
286263 "${UTILITY_PKGS[@]}"
264+ "${AUR_PKGS[@]}"
287265 "${pkg_desktop[@]}"
288266 )
289267
290268 if ((${#ALL_PKGS[@]})); then
291269 if confirm "Install all the selected packages?"; then
292270 log INFO "Installing selected packages..."
293− if sudo pacman -Syu --needed "${ALL_PKGS[@]}"; then
271+
272+ ## Installing paru if not installed already
273+ if ! command -v paru >/dev/null 2>&1; then
274+ log INFO "Installing Paru (AUR package manager)"
275+ git clone https://aur.archlinux.org/paru.git
276+ (cd paru && makepkg -sri)
277+ rm -rf paru
278+ fi
279+
280+ if paru -Syu --needed "${ALL_PKGS[@]}"; then
294281 INSTALL_STATUS="complete"
295282 else
296283 INSTALL_STATUS="failed"
@@ -305,6 +292,35 @@ else
305292 fi
306293
307294
295+##########################
296+## Install AUR Packages ##
297+##########################
298+if ((${#AUR_PKGS[@]})); then
299+ if ! command -v paru >/dev/null 2>&1; then
300+ log INFO "Installing Paru (AUR package manager)"
301+ git clone https://aur.archlinux.org/paru.git
302+ (cd paru && makepkg -sri)
303+ rm -rf paru
304+ fi
305+ paru -S --needed "${AUR_PKGS[@]}"
306+else
307+ log WARN "No AUR packages selected"
308+fi
309+
310+################
311+## Setup Keyd ##
312+################
313+if command -v keyd >/dev/null 2>&1; then
314+ if confirm "Configure and enable keyd? "; then
315+ log INFO "Copying keyd configuration to /etc/keyd/default.conf"
316+ sudo cp "$currentDir/system/etc/keyd/default.conf" /etc/keyd/
317+ sudo systemctl enable --now keyd.service \
318+ && log SUCCESS "Successfully enabled keyd.service" \
319+ || log ERROR "Couldn't enable keyd.service"
320+ fi
321+fi
322+
323+
308324 case "$INSTALL_STATUS" in
309325 complete)
310326 gum style \