diff --git a/.gitignore b/.gitignore index 74c12e4..37d2864 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ dotfiles/nvim/spell/*.spl dotfiles/nvim/spell/*.sug dotfiles/nvim/lazy-lock.json +dotfiles/hypr/wallpaper +hosts/*/hardware-configuration.nix diff --git a/README.md b/README.md index e1da617..6f40097 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,20 @@ # How to use +## Raccourcis utiles +``` +Lancer start-hyprland dans le tty au démarrage + +ALT Q : ouvre le terminal +ALT N : ouvre neovim +ALT W : ouvre le sélecteurs de programmes +ALT X : ouvre le sélecteur de fenêtre +ALT C : ouvre le sélecteur de dossier +ALT D : ouvre le gestionnaire de fichiers + +MAJ L ou H : change de workspace à droite ou à gauche +MAJ K ou J : envoie la fenêtre courante dans le workspace à droite ou à gauche + +Pour le reste, se référer aux dotfiles ~/nixos-config/dotfiles/hypr/conf/binding.lua +``` ## Structure : ```shell ~/nixos-config/ diff --git a/dotfiles/dots.zip b/dotfiles/dots.zip new file mode 100644 index 0000000..9e919a1 Binary files /dev/null and b/dotfiles/dots.zip differ diff --git a/dotfiles/nvim/UltiSnips/tex.snippets b/dotfiles/nvim/UltiSnips/tex.snippets index 8e40514..5de4496 100644 --- a/dotfiles/nvim/UltiSnips/tex.snippets +++ b/dotfiles/nvim/UltiSnips/tex.snippets @@ -1,14 +1,24 @@ ############## Figures ############## -snippet fig "Figure" b -\begin{figure} +snippet svgfig "Figures from inkscape PDF+PDF_tex" b +\begin{figure}[htbp] \centering - \includegraphics[width=\figsize]{figures/$1} - \caption{$0} - \label{fig:$1} + \def\svgwidth{0.99\textwidth} + \import{figures/$1.pdf_tex} + \caption{$2} + \label{$1} \end{figure} endsnippet -snippet 2fig "Two Figures" b +snippet sfig "Single figure" b +\begin{figure}[htbp] + \centering + \input{figures/$1} + \caption{$2} + \label{$1} +\end{figure} +endsnippet + +snippet dfig "Double figures" b \begin{figure} \begin{subfigure}{\dfigsize} \centering diff --git a/home/afoucaultc/home-laptop.nix b/home/afoucaultc/home-laptop.nix index 26df0e6..c719826 100644 --- a/home/afoucaultc/home-laptop.nix +++ b/home/afoucaultc/home-laptop.nix @@ -17,6 +17,7 @@ ./packages/other_apps_light.nix ./packages/pass.nix ./packages/protonmail.nix + ./packages/python.nix ./packages/texlive.nix ./packages/thunderbird.nix ./packages/tmux.nix diff --git a/home/afoucaultc/packages/git.nix b/home/afoucaultc/packages/git.nix index 022d1d3..575412f 100644 --- a/home/afoucaultc/packages/git.nix +++ b/home/afoucaultc/packages/git.nix @@ -1,10 +1,8 @@ -{ ... }: +{ pkgs, inputs, ... }: { programs.git = { enable = true; settings.user.name = "afoucaultc"; settings.user.email = "antoine.fo.ca@proton.me"; - #userName = "afoucaultc"; - #userEmail = "antoine.fo.ca@proton.me"; }; }