Fixes some issues with current hyprland

This commit is contained in:
Michel Fedde 2025-09-25 00:42:15 +02:00
parent 7375e2df58
commit c5b55c5459
10 changed files with 13 additions and 44 deletions

View file

@ -26,8 +26,6 @@ bindl = , xf86AudioNext, exec, $scriptsDir/MediaCtrl.sh --nxt
bindl = , xf86AudioPrev, exec, $scriptsDir/MediaCtrl.sh --prv bindl = , xf86AudioPrev, exec, $scriptsDir/MediaCtrl.sh --prv
bindl = , xf86audiostop, exec, $scriptsDir/MediaCtrl.sh --stop bindl = , xf86audiostop, exec, $scriptsDir/MediaCtrl.sh --stop
bind = $mainMod, O, exec, killall -SIGUSR1 waybar
# Move focus with mainMod + LHKJ # Move focus with mainMod + LHKJ
bind = $mainMod, H, movefocus, l bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r bind = $mainMod, L, movefocus, r
@ -110,7 +108,7 @@ bind = $mainMod, Z, exec, $files
bind = $mainMod, R, focusurgentorlast bind = $mainMod, R, focusurgentorlast
bind = $mainMod SHIFT, P, exec, $scriptsDir/anyrun/Auth.sh bind = $mainMod SHIFT, P, exec, $scriptsDir/anyrun/Auth.sh
bind = $mainMod, O, exec, killall -S USR1 waybar bind = $mainMod, O, exec, killall -USR1 waybar
# Master Layout Keybinds # Master Layout Keybinds
bind = $mainMod, A, layoutmsg,swapwithmaster master bind = $mainMod, A, layoutmsg,swapwithmaster master

View file

@ -5,6 +5,7 @@ $scriptsDir = $HOME/.config/hypr/scripts
# wallpaper stuff / More wallpaper options below # wallpaper stuff / More wallpaper options below
exec-once = swww-daemon --format xrgb exec-once = swww-daemon --format xrgb
exec-once = darkman run &
# Startup # Startup
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
@ -36,6 +37,4 @@ exec-once = wl-paste --type text --watch cliphist store # Stores only text data
exec-once = wl-paste --type image --watch cliphist store # Stores only image data exec-once = wl-paste --type image --watch cliphist store # Stores only image data
exec-once = hyprsunset & exec-once = hyprsunset &
exec-once = hyprshade auto
exec-once = bitwarden-daemon &
exec-once = sleep 1 && hyprctl reload & exec-once = sleep 1 && hyprctl reload &

View file

@ -7,16 +7,12 @@
# windowrule Position # windowrule Position
windowrule = center,class:^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol) windowrule = center,class:^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)
windowrule = center,class:^([Ww]hatsapp-for-linux)$
windowrule = center,class:^([Ff]erdium)$
# WINDOWRULE v2 # WINDOWRULE v2
# windowrule v2 - position # windowrule v2 - position
# windowrule = center,floating:1 # warning, it cause even the menu to float and center. # windowrule = center,floating:1 # warning, it cause even the menu to float and center.
windowrule = center, class:([Tt]hunar), title:(File Operation Progress) windowrule = center, class:([Tt]hunar), title:(File Operation Progress)
windowrule = center, class:([Tt]hunar), title:(Confirm to replace files) windowrule = center, class:([Tt]hunar), title:(Confirm to replace files)
windowrule = center, title:^(ROG Control)$
windowrule = center, title:^(Keybindings)$
windowrule = move 72% 7%,title:^(Picture-in-Picture)$ windowrule = move 72% 7%,title:^(Picture-in-Picture)$
#windowrule = move 72% 7%,title:^(Firefox)$ #windowrule = move 72% 7%,title:^(Firefox)$
windowrule = move cursor -50% -50%, class:blobdrop windowrule = move cursor -50% -50%, class:blobdrop
@ -50,34 +46,20 @@ windowrule = workspace 6, class:^(jetbrains-phpstorm|jetbrains-rider)$
# windowrule v2 - float # windowrule v2 - float
windowrule = float, class:^(org.kde.polkit-kde-authentication-agent-1)$ windowrule = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrule = float, class:([Zz]oom|onedriver|onedriver-launcher)$
windowrule = float, class:([Tt]hunar), title:(File Operation Progress) windowrule = float, class:([Tt]hunar), title:(File Operation Progress)
windowrule = float, class:([Tt]hunar), title:(Confirm to replace files) windowrule = float, class:([Tt]hunar), title:(Confirm to replace files)
windowrule = float, class:(xdg-desktop-portal-gtk) windowrule = float, class:(xdg-desktop-portal-gtk)
windowrule = float, class:(org.gnome.Calculator), title:(Calculator)
windowrule = float, class:(codium|codium-url-handler|VSCodium|code-oss), title:(Add Folder to Workspace)
windowrule = float, class:(electron), title:(Add Folder to Workspace)
windowrule = float, class:^([Rr]ofi)$ windowrule = float, class:^([Rr]ofi)$
windowrule = float, class:^(eog|org.gnome.Loupe)$ # image viewer
windowrule = float, class:^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)$ windowrule = float, class:^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)$
windowrule = float, class:^(nwg-look|qt5ct|qt6ct)$ windowrule = float, class:^(nwg-look|qt5ct|qt6ct)$
windowrule = float, class:^(mpv|com.github.rafostar.Clapper)$ windowrule = float, class:^(mpv|com.github.rafostar.Clapper)$
windowrule = float, class:^(nm-applet|nm-connection-editor|blueman-manager)$ windowrule = float, class:^(nm-applet|nm-connection-editor|blueman-manager)$
windowrule = float, class:^(gnome-system-monitor|org.gnome.SystemMonitor|io.missioncenter.MissionCenter)$ # system monitor windowrule = float, class:^(gnome-system-monitor|org.gnome.SystemMonitor|io.missioncenter.MissionCenter)$ # system monitor
windowrule = float, class:^([Yy]ad)$
windowrule = float, class:^(wihotspot(-gui)?)$ # wifi hotspot
windowrule = float, class:^(evince)$ # document viewer
windowrule = float, class:^(file-roller|org.gnome.FileRoller)$ # archive manager
windowrule = float, class:^([Bb]aobab|org.gnome.[Bb]aobab)$ # Disk usage analyzer
windowrule = float, title:(Kvantum Manager)
windowrule = float, class:^([Ss]team)$,title:^((?![Ss]team).*|[Ss]team [Ss]ettings)$ windowrule = float, class:^([Ss]team)$,title:^((?![Ss]team).*|[Ss]team [Ss]ettings)$
windowrule = float, class:^([Qq]alculate-gtk)$
#windowrule = float, class:^([Ww]hatsapp-for-linux)$
windowrule = float, class:^([Ff]erdium)$ windowrule = float, class:^([Ff]erdium)$
windowrule = float, title:^(Picture-in-Picture)$ windowrule = float, title:^(Picture-in-Picture)$
windowrule = float, title:^(ROG Control)$ windowrule = float, title:^(ROG Control)$
#windowrule = float, title:^(Firefox)$ #windowrule = float, title:^(Firefox)$
windowrule = float, title:^(hyprgui)$
windowrule = float, class:^(io.ente.auth)$ windowrule = float, class:^(io.ente.auth)$
windowrule = float, class:^(org.rncbc.qjackctl)$ windowrule = float, class:^(org.rncbc.qjackctl)$
windowrule = float, class:^(blobdrop)$ windowrule = float, class:^(blobdrop)$
@ -87,20 +69,9 @@ windowrule = float, class:Bitwarden
windowrule = float, class:org.kde.kdeconnect.daemon windowrule = float, class:org.kde.kdeconnect.daemon
windowrule = float, class:org.kde.kdeconnect-settings windowrule = float, class:org.kde.kdeconnect-settings
windowrule = float, class:org.kde.kdeconnect.app windowrule = float, class:org.kde.kdeconnect.app
windowrule = float, class:io.github.alainm23.planify
# windowrule v2 - size # windowrule v2 - size
windowrule = size 70% 70%, class:^(gnome-system-monitor|org.gnome.SystemMonitor|io.missioncenter.MissionCenter)$
windowrule = size 70% 70%, class:^(xdg-desktop-portal-gtk)$ windowrule = size 70% 70%, class:^(xdg-desktop-portal-gtk)$
windowrule = size 60% 70%, title:(Kvantum Manager)
windowrule = size 60% 70%, class:^(qt6ct)$
windowrule = size 70% 70%, class:^(evince|wihotspot(-gui)?)$
windowrule = size 60% 70%, class:^(file-roller|org.gnome.FileRoller)$
windowrule = size 60% 70%, class:^([Ww]hatsapp-for-linux)$
windowrule = size 60% 70%, class:^([Ff]erdium)$
windowrule = size 60% 70%, title:^(ROG Control)$
#windowrule = size 25% 25%, title:^(Picture-in-Picture)$
#windowrule = size 25% 25%, title:^(Firefox)$
windowrule = size 60% 70%, title:^(hyprgui)$ windowrule = size 60% 70%, title:^(hyprgui)$
windowrule = size 240px 450px, class:^(libresplit)$ windowrule = size 240px 450px, class:^(libresplit)$
windowrule = size 500px 1000px, class:^(io.ente.auth)$ windowrule = size 500px 1000px, class:^(io.ente.auth)$

View file

@ -2,6 +2,6 @@
name = "color-filter" name = "color-filter"
default = true default = true
[shaders.config] [shaders.config]
type = "red-green" # "red-green", "green-red", "blue-yellow" type = "DEUTERANOPIA" # "red-green", "green-red", "blue-yellow"
strength = 0.3 # 0.0 - 1.0 strength = 0.1 # 0.0 - 1.0

5
.config/scripts/ghostmirror.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/env sh
sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
sudo ghostmirror -PmuolsS /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist light state,outofdate,morerecent,speed

View file

@ -7,4 +7,4 @@ addApplications neovim \
zoxide fzf \ zoxide fzf \
wifi-qr \ wifi-qr \
brightnessctl \ brightnessctl \
nodejs-lts-jod nodejs

View file

@ -30,9 +30,6 @@ if [ $XDG_SESSION_DESKTOP = "Hyprland" ]; then
hyprsunset \ hyprsunset \
darkman \ darkman \
anyrun-git \ anyrun-git \
hyprshade-git \
posy-improved-cursors \ posy-improved-cursors \
pamixer pamixer
addActions "systemctl --user enable --now darkman"
fi fi

View file

@ -6,6 +6,7 @@ addGitInstall "image-glsl-processing" "https://github.com/Neintonine/image-glsl-
setup_image_glsl_processing() { setup_image_glsl_processing() {
npm install npm install
npm rebuild
npm run build npm run build
sudo npm install -g . sudo npm install -g .
} }

View file

@ -101,10 +101,8 @@ do
arrIN=(${gitInstall//;/ }) arrIN=(${gitInstall//;/ })
targetPath="$HOME/.cache/${arrIN[0]}" targetPath="$HOME/.cache/${arrIN[0]}"
if checkGitInstallExistance "$targetPath"; then echo "Installing... ${arrIN[0]}"
echo "Installing... ${arrIN[0]}" runGitInstall "$targetPath" "${arrIN[1]}" "${arrIN[2]}"
runGitInstall "$targetPath" "${arrIN[1]}" "${arrIN[2]}"
fi
done done
echo "# Executing actions... (${#actions[@]})" echo "# Executing actions... (${#actions[@]})"