about summary refs log tree commit diff stats
path: root/home-manager/config/lf
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-10 17:01:31 +0100
committerene <ene@sils.li>2023-03-10 17:01:31 +0100
commitaad88ca333a24a452b36bf0e0bf26dd8c394f9f4 (patch)
tree3adf790a5619a013bfe4880f11d72a706aeeab9d /home-manager/config/lf
parentFix(hm/conf/firefox): Make .mozilla persistent (diff)
downloadnixos-config-aad88ca333a24a452b36bf0e0bf26dd8c394f9f4.tar.gz
nixos-config-aad88ca333a24a452b36bf0e0bf26dd8c394f9f4.zip
Fix(hm/conf/lf): Make movement binds user independent
Diffstat (limited to 'home-manager/config/lf')
-rw-r--r--home-manager/config/lf/default.nix69
1 files changed, 34 insertions, 35 deletions
diff --git a/home-manager/config/lf/default.nix b/home-manager/config/lf/default.nix
index 0c7446d7..21fc17e1 100644
--- a/home-manager/config/lf/default.nix
+++ b/home-manager/config/lf/default.nix
@@ -291,44 +291,43 @@ in {
 
       # Movement
       gjr = "cd ~/.local/share/Trash/files";
-      gus = "cd /run/dt";
+      gus = "cd /run/${config.home.username}";
 
-      "gr." = "cd /home/dt/repos";
-      grr = "cd /home/dt/repos/rust";
-      grp = "cd /home/dt/repos/python";
-      grc = "cd /home/dt/repos/c";
-      gra = "cd /home/dt/repos/auto_hot_key";
-      grt = "cd /home/dt/repos/tex";
-      grs = "cd /home/dt/repos/shell";
-
-      grch = "cd /home/dt/repos/chroot";
-      grpe = "cd /home/dt/repos/perl";
-      grja = "cd /home/dt/repos/java";
-      grjs = "cd /home/dt/repos/java_script";
+      "gr." = "cd ~/repos";
+      grr = "cd ~/repos/rust";
+      grp = "cd ~/repos/python";
+      grc = "cd ~/repos/c";
+      gra = "cd ~/repos/auto_hot_key";
+      grt = "cd ~/repos/tex";
+      grs = "cd ~/repos/shell";
+      grch = "cd ~/repos/chroot";
+      grpe = "cd ~/repos/perl";
+      grja = "cd ~/repos/java";
+      grjs = "cd ~/repos/java_script";
       # -------------
-      "gm." = "cd /home/dt/media";
-      gmpi = "cd /home/dt/media/pictures";
-      gmdo = "cd /home/dt/media/downloads";
-      gmpl = "cd /home/dt/media/playlist";
-      gmis = "cd /home/dt/media/isos";
+      "gm." = "cd ~/media";
+      gmpi = "cd ~/media/pictures";
+      gmd = "cd ~/media/downloads";
+      gmpl = "cd ~/media/playlist";
+      gmi = "cd ~/media/isos";
       # -------------
-      "gs." = "cd /home/dt/school";
-      gsgs = "cd /home/dt/school/geschichte";
-      gsch = "cd /home/dt/school/chemie";
-      gsen = "cd /home/dt/school/english";
-      gsgo = "cd /home/dt/school/geographie";
-      gsin = "cd /home/dt/school/infomatik";
-      gsso = "cd /home/dt/school/sozialkunde";
-      gskr = "cd /home/dt/school/katholische_religion";
-      gsmu = "cd /home/dt/school/musik";
-      gsla = "cd /home/dt/school/latein";
-      gsde = "cd /home/dt/school/deutsch";
-      gsma = "cd /home/dt/school/mathematik";
-      gspr = "cd /home/dt/school/praktikum";
-      gsbi = "cd /home/dt/school/biologie";
-      gssp = "cd /home/dt/school/sport";
-      gsphy = "cd /home/dt/school/physik";
-      gsphi = "cd /home/dt/school/philosophie";
+      "gs." = "cd ~/school";
+      gsgs = "cd ~/school/geschichte";
+      gsch = "cd ~/school/chemie";
+      gsen = "cd ~/school/english";
+      gsgo = "cd ~/school/geographie";
+      gsin = "cd ~/school/infomatik";
+      gsso = "cd ~/school/sozialkunde";
+      gskr = "cd ~/school/katholische_religion";
+      gsmu = "cd ~/school/musik";
+      gsla = "cd ~/school/latein";
+      gsde = "cd ~/school/deutsch";
+      gsma = "cd ~/school/mathematik";
+      gspr = "cd ~/school/praktikum";
+      gsbi = "cd ~/school/biologie";
+      gssp = "cd ~/school/sport";
+      gsphy = "cd ~/school/physik";
+      gsphi = "cd ~/school/philosophie";
 
       gc = "cd ~/.config";
       gl = "cd ~/.local";