diff --git a/dotfiles/hypr/conf/startup.lua b/dotfiles/hypr/conf/startup.lua index 8f2310d..b3a9b74 100644 --- a/dotfiles/hypr/conf/startup.lua +++ b/dotfiles/hypr/conf/startup.lua @@ -9,5 +9,5 @@ hl.on("hyprland.start", function() -- hl.exec_cmd("hyprsunset") -- hl.exec_cmd("xsettingsd") -- hl.exec_cmd("nwg-look -a") - hl.exec_cmd("protonmail-bridge") + hl.exec_cmd("kitty protonmail-bridge") end) diff --git a/dotfiles/inkscape/dialogs-state-ex.ini b/dotfiles/inkscape/dialogs-state-ex.ini index 895e7b0..296e8a7 100644 --- a/dotfiles/inkscape/dialogs-state-ex.ini +++ b/dotfiles/inkscape/dialogs-state-ex.ini @@ -2,10 +2,10 @@ Count=1 [Window0Column0] -Notebook0Dialogs=ObjectProperties;FillStroke;Export;AlignDistribute;Text;Trace; +Notebook0Dialogs=ObjectProperties;FillStroke;Export;AlignDistribute;Text; Notebook0Height=609 Notebook0ActiveTab=2 -ColumnWidth=560 +ColumnWidth=641 NotebookCount=1 BeforeCanvas=false @@ -16,7 +16,7 @@ Floating=false [transient] state1= dialogs1=CloneTiler; -state2=[Windows]\nCount=1\n\n[Window0Column0]\nNotebook0Dialogs=DocumentProperties;\nNotebookCount=1\n\n[Window0]\nColumnCount=1\nPosition=true\nx=0\ny=0\nwidth=831\nheight=673\n +state2=[Windows]\nCount=1\n\n[Window0Column0]\nNotebook0Dialogs=DocumentProperties;\nNotebookCount=1\n\n[Window0]\nColumnCount=1\nPosition=true\nx=0\ny=0\nwidth=836\nheight=673\n dialogs2=DocumentProperties; state3=[Windows]\nCount=1\n\n[Window0Column0]\nNotebook0Dialogs=DocumentResources;\nNotebookCount=1\n\n[Window0]\nColumnCount=1\nPosition=true\nx=0\ny=0\nwidth=613\nheight=678\n dialogs3=DocumentResources; diff --git a/dotfiles/inkscape/fontcollections/recently_used_fonts.log b/dotfiles/inkscape/fontcollections/recently_used_fonts.log index 22c48e7..2ce61b4 100644 --- a/dotfiles/inkscape/fontcollections/recently_used_fonts.log +++ b/dotfiles/inkscape/fontcollections/recently_used_fonts.log @@ -1,5 +1,4 @@ Comic Sans MS -B612 Mono Sans Trebuchet MS sans-serif diff --git a/dotfiles/inkscape/preferences.xml b/dotfiles/inkscape/preferences.xml index b38657f..f17c2be 100644 --- a/dotfiles/inkscape/preferences.xml +++ b/dotfiles/inkscape/preferences.xml @@ -119,8 +119,8 @@ id="rect" style="fill:blue;" usecurrent="1" - width="1920" - height="1080" /> + width="7256.69311019964" + height="4081.88975241699" /> + page="2" /> + objects-align-to="page" /> + path="/home/afoucaultc/Pictures/Wallpapers/" /> + addLayerPosition="0" /> @@ -1057,10 +1057,10 @@ snap-line-tangential="0" snap-line-perpendicular="0" simple-snap-nodes="1" - snap-alignment="1" + snap-alignment="0" snap-alignment-self="0" - snap-distribution="1" - simple-snap-alignment="1" + snap-distribution="0" + simple-snap-alignment="0" snap-others="1" snap-object-midpoint="0" snap-rotation-center="0" @@ -1106,9 +1106,9 @@ org.inkscape.input.svg.scale="auto" /> + style="text-orientation:auto;-inkscape-font-specification:'Sans, Normal';font-family:Sans;stroke-linejoin:bevel;stroke-width:0.62740157;font-size:8px;fill:#6c71c4"> " = "reload"; - }; - }; + programs.zathura = { + enable = true; + options = { + selection-clipboard = "clipboard"; + synctex = true; + synctex-edit-modifier = "ctrl"; + }; + mappings = { + }; + }; - home.packages = with pkgs; [ - zathura - poppler-utils - ]; + home.packages = with pkgs; [ + zathura + poppler-utils + ]; } diff --git a/home/afoucaultc/packages/zen.nix b/home/afoucaultc/packages/zen.nix index dc77c8d..b6d7ea9 100644 --- a/home/afoucaultc/packages/zen.nix +++ b/home/afoucaultc/packages/zen.nix @@ -4,6 +4,8 @@ programs.zen-browser = { enable = true; setAsDefaultBrowser = true; + profiles.default = { }; }; + stylix.targets.zen-browser.profileNames = [ "default" ]; } diff --git a/hosts/nixos-laptop/config/stylix.nix b/hosts/nixos-laptop/config/stylix.nix index 405ae23..7a9a6c7 100644 --- a/hosts/nixos-laptop/config/stylix.nix +++ b/hosts/nixos-laptop/config/stylix.nix @@ -2,7 +2,7 @@ { stylix = { enable = true; - base16Scheme = "${pkgs.base16-schemes}/share/themes/spaceduck.yaml"; + base16Scheme = "${pkgs.base16-schemes}/share/themes/solarized-dark.yaml"; cursor = { package = pkgs.bibata-cursors; @@ -13,7 +13,7 @@ fonts = { monospace = { package = pkgs.nerd-fonts.jetbrains-mono; - name = "JetBrainsMono Nerd Font Mono"; + name = "Noto Sans Mono"; }; sansSerif = { package = pkgs.texlivePackages.luciole; @@ -24,5 +24,6 @@ terminal = 12; }; }; + polarity = "dark"; }; } diff --git a/install.sh b/install.sh index a40b673..bf8191e 100755 --- a/install.sh +++ b/install.sh @@ -60,4 +60,7 @@ nix-shell -p git --run "sudo nixos-rebuild switch \ --option trusted-public-keys \"$PUBKEYS\" \ --option max-jobs 1" +rm -rf ~/.config/nvim # enlève le lien vers le store (ou le dossier résiduel) +ln -s ~/nixos-config/dotfiles/nvim ~/.config/nvim + echo "✓ Terminé pour $HOST. Reboot puis sélectionne la génération dans GRUB." diff --git a/rebuild.sh b/rebuild.sh index af1e06d..b73599d 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash set -euo pipefail HOST="${1:-$(hostname)}" +USER_HOME=$(getent passwd "${SUDO_USER:-$USER}" | cut -d: -f6) echo "→ Rebuild (sans update) : $HOST" -sudo nixos-rebuild switch --flake home/afoucaultc/nixos-config#"$HOST" +sudo nixos-rebuild switch --flake "path:$USER_HOME/nixos-config#$HOST" diff --git a/update.sh b/update.sh index 29d4e56..740d3cf 100755 --- a/update.sh +++ b/update.sh @@ -4,5 +4,6 @@ set -euo pipefail HOST="${1:-$(hostname)}" echo "→ Mise à jour du host : $HOST" +git add . nix flake update sudo nixos-rebuild switch --flake /home/afoucaultc/nixos-config#"$HOST"