feat: use greetd again, window swallowing and ff search results
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
nydragon 2025-03-20 19:08:34 +01:00
parent e157bc90cd
commit e02d7db426
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE
3 changed files with 17 additions and 5 deletions

View file

@ -101,11 +101,12 @@ mkIf osConfig.programs.hyprland.enable {
in
[
"float,initialClass:${floatReg}"
"float,initialTitle:^(KeePassXC - Passkey credentials)$"
"bordercolor rgb(e50000) rgb(ff8d00) rgb(ffee00) rgb(028121) rgb(004cff) rgb(770088), fullscreen:1"
"focusonactivate, title:${mkRegexList [ "Firefox" ]}"
"workspace 2,initialClass:${mkRegexList [ "firefox" ]}"
"workspace 3,initialClass:${mkRegexList [ "obsidian" ]}"
"workspace 4,initialClass:${mkRegexList [ "steam" ]}"
"workspace silent 4,initialClass:${mkRegexList [ "steam" ]}"
"workspace 5,initialClass:${mkRegexList [ "lollypop" ]}"
"fullscreen, class:gamescope"
@ -153,6 +154,8 @@ mkIf osConfig.programs.hyprland.enable {
mouse_move_enables_dpms = true;
disable_autoreload = true;
vfr = true;
enable_swallow = true;
swallow_regex = "^foot$";
};
bindm = [ "$mod,mouse:272,movewindow" ];

View file

@ -91,9 +91,18 @@ in
};
media.enableAll = true;
};
security.pam.services.greetd.enableGnomeKeyring = true;
services = {
displayManager.sddm.enable = true;
greetd = {
enable = true;
package = pkgs.greetd.tuigreet;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd Hyprland";
user = "ny";
};
};
};
dbus.enable = true;
pipewire.enable = true;
# Necessary for Nautilus to display trash, DVDs and for gnome-disk-utility to show file systems

View file

@ -27,9 +27,9 @@ lib.mkIf config.programs.firefox.enable {
"browser.urlbar.suggest.trending" = false;
"browser.urlbar.suggest.weather" = false;
"browser.urlbar.suggest.yelp" = false;
"browser.urlbar.suggest.bookmark" = false;
"browser.urlbar.suggest.bookmark" = true;
"browser.urlbar.suggest.engines" = false;
"browser.urlbar.suggest.history" = false;
"browser.urlbar.suggest.history" = true;
"browser.urlbar.suggest.topsites" = false;
"browser.urlbar.suggest.calculator" = true;
"browser.urlbar.trimHttps" = false;