diff --git a/home.nix b/home.nix index 812ed07..bbbddd2 100644 --- a/home.nix +++ b/home.nix @@ -57,12 +57,20 @@ # === DOTFILES IMPORT === home.file = { - ".config/gtk-3.0/settings.ini".source = ./dotfiles/gtk-3.0/settings.ini; - ".config/gtk-4.0".source = ./dotfiles/gtk-4.0; ".config/mimeapps.list".source = ./dotfiles/mimeapps.list; ".local/bin".source = ./scripts; }; + gtk.enable = true; + dconf = { + enable = true; + settings = { + "org/gnome/desktop/interface" = { + color-scheme = "prefer-dark"; + }; + }; + }; + # === VARS === home.sessionVariables = { diff --git a/modules/hypr/hyprland.nix b/modules/hypr/hyprland.nix index fb80d43..6eea938 100644 --- a/modules/hypr/hyprland.nix +++ b/modules/hypr/hyprland.nix @@ -97,8 +97,8 @@ permission = [ ".*(grim), screencopy, allow" - "/usr/bin/hyprlock, screencopy, allow" - "/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow" + ".*(hyprlock), screencopy, allow" + ".*(xdg-desktop-portal-hyprland), screencopy, allow" ]; input = { diff --git a/modules/hypr/hyprlock.nix b/modules/hypr/hyprlock.nix index b79689a..26abc51 100644 --- a/modules/hypr/hyprlock.nix +++ b/modules/hypr/hyprlock.nix @@ -32,32 +32,11 @@ } ]; - input-field = [ - { - monitor = ""; - size = "20%, 5%"; - outline_thickness = 3; - inner_color = "rgba(0, 0, 0, 0.0)"; - outer_color = "rgba(33ccffee) rgba(00ff99ee) 45deg"; - check_color = "rgba(00ff99ee) rgba(ff6633ee) 120deg"; - fail_color = "rgba(ff6633ee) rgba(ff0066ee) 40deg"; - font_color = "rgb(143, 143, 143)"; - fade_on_empty = false; - rounding = 15; - font_family = "$font"; - placeholder_text = "Input password..."; - fail_text = "$PAMFAIL"; - dots_spacing = 0.3; - position = "0, -20"; - halign = "center"; - valign = "center"; - } - ]; - label = [ { monitor = ""; text = "$TIME"; + color = "$text"; font_size = 90; font_family = "$font"; position = "-30, 0"; @@ -67,21 +46,13 @@ { monitor = ""; text = ''cmd[update:60000] date +"%A, %d %B %Y"''; + color = "$subtext1"; font_size = 25; font_family = "$font"; position = "-30, -150"; halign = "right"; valign = "top"; } - { - monitor = ""; - text = "$LAYOUT[pl]"; - font_size = 24; - onclick = "hyprctl switchxkblayout all next"; - position = "250, -20"; - halign = "center"; - valign = "center"; - } ]; }; };