diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 95cd3a5..1f62c28 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -48,6 +48,8 @@ $menu = wofi --show drun exec = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" # for GTK3 apps exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps +exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 + # exec-once = waybar exec-once = $terminal @@ -219,14 +221,12 @@ device { $mainMod = SHIFT ALT # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more -bind = $mainMod, Q, exec, $terminal +bind = $mainMod, T, exec, $terminal bind = $mainMod, C, killactive, bind = $mainMod, M, exit, bind = $mainMod, E, exec, $fileManager -bind = $mainMod, V, togglefloating, -bind = $mainMod, R, exec, $menu -bind = $mainMod, P, pseudo, # dwindle -bind = $mainMod, J, togglesplit, # dwindle +bind = $mainMod, F, togglefloating, +bind = $mainMod, D, exec, $menu # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l diff --git a/update.sh b/update.sh index d195912..6cfeac8 100755 --- a/update.sh +++ b/update.sh @@ -57,10 +57,11 @@ elif [ "$OS" == "Arch Linux" ]; then cd ~ if [ -d ~/yay-bin ]; then rm -rf ~/yay-bin; fi fi - sudo pacman --noconfirm --needed -S waybar hyprland hyprlock greetd pipewire git base-devel cmake gawk wget gettext unzip curl tmux btop ncdu ranger qt5ct qt6ct gnome-themes-extra qt5-wayland qt6-wayland lxappearance + sudo pacman --noconfirm --needed -S waybar wofi hyprland hyprlock polkit-gnome xorg-xhost greetd pipewire git base-devel cmake gawk wget gettext unzip curl tmux btop ncdu ranger qt5ct qt6ct gnome-themes-extra qt5-wayland qt6-wayland lxappearance yay --noconfirm -S --needed --aur adwaita-qt5-git yay --noconfirm -S --needed --aur adwaita-qt6-git + fi # Setup locals @@ -456,15 +457,15 @@ if [ "$DESKTOP" == "yes" ]; then elif [ "$OS" == "Arch Linux" ]; then sudo pacman --noconfirm --needed -S timeshift fi - + # Install sunshine printf -- '\033[33m Installing Sunshine\n\033[37m' if [ "$OS" == "Arch Linux" ]; then yay --noconfirm --needed -S sunshine echo 'KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess"' | sudo tee /etc/udev/rules.d/60-sunshine.rules - sudo udevadm control --reload-rules - sudo udevadm trigger - sudo modprobe uinput + sudo udevadm control --reload-rules + sudo udevadm trigger + sudo modprobe uinput sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine)) fi