diff --git a/profiles/work/home.nix b/profiles/work/home.nix index 28a2085..7aae935 100644 --- a/profiles/work/home.nix +++ b/profiles/work/home.nix @@ -178,6 +178,12 @@ ventoy ]) ++ ([ pkgs-kdenlive.kdenlive ]); + home.file.".local/share/pixmaps/nixos-snowflake-stylix.svg".source = + config.lib.stylix.colors { + template = builtins.readFile ../../user/pkgs/nixos-snowflake-stylix.svg.mustache; + extension = "svg"; + }; + services.syncthing.enable = true; xdg.enable = true; diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index 5f6c1f6..56c8faf 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -1519,7 +1519,7 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)." (setq +format-on-save-enabled-modes '(not emacs-lisp-mode sql-mode tex-mode latex-mode org-msg-edit-mode nix-mode)) - +(add-to-list 'tramp-remote-path 'tramp-own-remote-path) ;; I source my rss from my freshrss instance ;; I login with a private elisp file: ~/.emacs.d/freshrss-elfeed.el diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index ada60e2..ef89849 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -1770,6 +1770,7 @@ I don't have this active right now since it's kinda weird with pgtk... #+END_SRC ** Terminal #+BEGIN_SRC emacs-lisp :tangle config.el +(add-to-list 'tramp-remote-path 'tramp-own-remote-path) #+END_SRC ** Elfeed #+BEGIN_SRC emacs-lisp :tangle config.el diff --git a/user/pkgs/hyprland-logo-stylix.svg.mustache b/user/pkgs/hyprland-logo-stylix.svg.mustache new file mode 100644 index 0000000..93ada5a --- /dev/null +++ b/user/pkgs/hyprland-logo-stylix.svg.mustache @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/user/pkgs/nixos-snowflake-stylix.svg.mustache b/user/pkgs/nixos-snowflake-stylix.svg.mustache new file mode 100644 index 0000000..d014f6e --- /dev/null +++ b/user/pkgs/nixos-snowflake-stylix.svg.mustache @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index b016e6a..0192c88 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -66,14 +66,32 @@ in exec-once = hyprpaper + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = winIn, 0.1, 1.1, 0.1, 1.0 + bezier = winOut, 0.3, -0.3, 0, 1 + bezier = liner, 1, 1, 1, 1 + bezier = linear, 0.0, 0.0, 1.0, 1.0 + + animations { + enabled = yes + animation = windowsIn, 1, 6, winIn, popin + animation = windowsOut, 1, 5, winOut, popin + animation = windowsMove, 1, 5, wind, slide + animation = border, 1, 10, default + animation = borderangle, 1, 100, linear, loop + animation = fade, 1, 10, default + animation = workspaces, 1, 5, wind + animation = windows, 1, 6, wind, slide + } + general { layout = master cursor_inactive_timeout = 30 - border_size = 4 + border_size = 5 no_cursor_warps = false - col.active_border = 0xff'' + config.lib.stylix.colors.base08 + '' + col.active_border = 0xff'' + config.lib.stylix.colors.base08 + " " + ''0xff'' + config.lib.stylix.colors.base09 + " " + ''0xff'' + config.lib.stylix.colors.base0A + " " + ''0xff'' + config.lib.stylix.colors.base0B + " " + ''0xff'' + config.lib.stylix.colors.base0C + " " + ''0xff'' + config.lib.stylix.colors.base0D + " " + ''0xff'' + config.lib.stylix.colors.base0E + " " + ''0xff'' + config.lib.stylix.colors.base0F + " " + ''270deg - col.inactive_border = 0x33'' + config.lib.stylix.colors.base00 + '' + col.inactive_border = 0xaa'' + config.lib.stylix.colors.base02 + '' resize_on_border = true gaps_in = 7 @@ -393,7 +411,7 @@ in terminal = false; type = "Application"; noDisplay = true; - icon = "application-x-executable"; # TODO make custom icon for dock + icon = "/home/"+userSettings.username+"/.local/share/pixmaps/hyprland-logo-stylix.svg"; }) (pyprland.overrideAttrs (oldAttrs: { src = fetchFromGitHub { @@ -519,6 +537,11 @@ in })]) ++ (with pkgs-hyprland; [ hyprlock ]); + home.file.".local/share/pixmaps/hyprland-logo-stylix.svg".source = + config.lib.stylix.colors { + template = builtins.readFile ../../pkgs/hyprland-logo-stylix.svg.mustache; + extension = "svg"; + }; home.file.".config/nwg-dock-hyprland/style.css".text = '' window { background: rgba(''+config.lib.stylix.colors.base00-rgb-r+'',''+config.lib.stylix.colors.base00-rgb-g+'',''+config.lib.stylix.colors.base00-rgb-b+'',0.0);