update hyprland

This commit is contained in:
Reid 2025-02-01 18:18:39 -08:00
parent cb8e1c43c7
commit 86a7546463
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
2 changed files with 141 additions and 201 deletions

View file

@ -151,14 +151,13 @@ in {
${pkgs.libnotify}/bin/notify-send "OCR Captured" \
--app-name="OCR" \
--urgency="normal" \
--icon="text-x-generic-symbolic" \
"Text copied to clipboard"
'';
in [
"$mod, Q, killactive, "
"$mod, F, togglefloating, "
"$mod, P, pseudo, " # dwindle
"$mod, J, togglesplit, " # dwindle
"$mod, P, pseudo, "
"$mod, J, togglesplit, "
"$mod SHIFT, F, fullscreen, "
# move focus with mod + arrow keys
@ -262,67 +261,60 @@ in {
};
windowrulev2 = [
# TODO: dedupe
# commons
"float, class:^org.gnome.FileRoller$"
"size 1100 650, class:^org.gnome.FileRoller$"
"center, class:^org.gnome.FileRoller$"
"float, class:^org.gnome.Loupe$"
"size 1100 650, class:^org.gnome.Loupe$"
"center class:^org.gnome.Loupe$"
"float, class:^com.gabm.satty$"
"size 1100 650, class:^com.gabm.satty$"
"center 1100 650, class:^com.gabm.satty$"
"float, initialTitle:^Open Folder$"
"size 1100 650, initialTitle:^Open Folder$"
"center, initialTitle:^Open Folder$"
"float, initialTitle:^Open File$"
"size 1100 650, initialTitle:^Open File$"
"center, initialTitle:^Open File$"
"float, initialTitle:^Open Files$"
"size 1100 650, initialTitle:^Open Files$"
"center, initialTitle:^Open Files$"
"float, initialTitle:^Save As$"
"size 1100 650, initialTitle:^Save As$"
"center, initialTitle:^Save As$"
"float, initialTitle:^File Upload$"
"size 1100 650, initialTitle:^File Upload$"
"center, initialTitle:^File Upload$"
"float, initialTitle:^MainPicker$"
"size 1100 650, initialTitle:^MainPicker$"
"center, initialTitle:^MainPicker$"
"float, class:^clipse$"
"size 1100 650, class:^clipse$"
"center, class:^clipse$"
# privacy popups
"stayfocused, class:^clipse$"
"dimaround, class:^clipse$"
"stayfocused, class:^gcr-prompter$"
"dimaround, class:^gcr-prompter$"
"stayfocused, class:^pinentry-"
"dimaround, class:^pinentry-"
"stayfocused, class:^polkit-"
"dimaround, class:^polkit-"
"tag +floater, class:^org.gnome.FileRoller$"
"tag +dimmedFloater, class:^org.gnome.Loupe$"
"tag +dimmedFloater, class:^com.gabm.satty$"
# these don't work fully??
"tag +dimmedFloater, initialTitle:^Open.*$"
"tag +dimmedFloater, initialTitle:^Save As$"
"tag +dimmedFloater, initialTitle:^Select.*$"
"tag +dimmedFloater, initialTitle:^File Upload$"
"float, class:\.exe$"
"rounding 0, class:\.exe$"
# add dimmedFloater too, it's a large window!
"tag +dimmedFloater, class:^clipse$"
"tag +privatePopup, class:^clipse$"
"tag +privatePopup, class:^gcr-prompter$"
"tag +privatePopup, class:^pinentry-.*$"
"tag +privatePopup, class:^polkit-.*$"
"tag +pip, initialTitle:^Picture-in-Picture$"
"tag +pip, initialTitle:^Picture in picture$"
"tag +pip, initialTitle:^Discord Popout$"
"float, tag:floater"
"center, tag:floater"
"size 1100 650, tag:floater"
# why is this not monitor size and instead based on the window size..
# "size exact 60% 80%, tag:floater"
"float, tag:dimmedFloater"
"center, tag:dimmedFloater"
"size 1100 650, tag:dimmedFloater"
# "size exact 60% 80%, tag:dimmedFloater"
"dimaround, tag:dimmedFloater"
"float, tag:privatePopup"
"center, tag:privatePopup"
"stayfocused, tag:privatePopup"
"dimaround, tag:privatePopup"
"float, tag:pip"
"pin, tag:pip"
"keepaspectratio, tag:pip"
"noborder, tag:pip"
"noinitialfocus, tag:pip"
"nodim, tag:pip"
# this makes wine stuff better
"float, class:^.*\.exe$"
"rounding 0, class:^.*\.exe$"
# steam notifs
"rounding 0, title:^notificationtoasts_"
"pin, title:^notificationtoasts_"
"noborder, title:^notificationtoasts_"
"nofocus, title:^notificationtoasts_"
"noshadow, title:^notificationtoasts_"
# firefox pip
"float, title:^Picture-in-Picture$"
"pin, title:^Picture-in-Picture$"
"noborder, title:^Picture-in-Picture$"
"keepaspectratio, title:^Picture-in-Picture$"
# discord pip
"pin, initialTitle:^Discord Popout$"
"float, initialTitle:^Discord Popout$"
"noborder, initialTitle:^Discord Popout$"
"rounding 0, title:^notificationtoasts_.*$"
"pin, title:^notificationtoasts_.*$"
"noborder, title:^notificationtoasts_.*$"
"nofocus, title:^notificationtoasts_.*$"
"noshadow, title:^notificationtoasts_.*$"
# workspace moving
"workspace 1 silent, class:^firefox$"
@ -352,9 +344,10 @@ in {
enabled = true;
size = 6;
passes = 3;
# popups and special workspace have blur disabled by default
# these have blur disabled
popups = true;
special = true;
input_methods = true;
};
shadow = {
@ -407,6 +400,11 @@ in {
vfr = true;
vrr = 2;
};
ecosystem = {
no_update_news = true;
no_donation_nag = true;
};
};
};
};