about summary refs log tree commit diff stats
path: root/home-manager/soispha/config/lf
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-26 13:47:55 +0200
committerSoispha <soispha@vhack.eu>2023-08-26 13:50:01 +0200
commita01a3d4f5494855abf52f42c886a75b4500f35d5 (patch)
treea94dc7022ee9be3b53dc3a897209d2086759b260 /home-manager/soispha/config/lf
parentFeat(hm/conf/neovim/plugins/goto-preview): Init (diff)
downloadnixos-config-a01a3d4f5494855abf52f42c886a75b4500f35d5.zip
Docs(treewide): Add a colon after every "TODO"
Diffstat (limited to 'home-manager/soispha/config/lf')
-rw-r--r--home-manager/soispha/config/lf/commands/default.nix4
-rwxr-xr-xhome-manager/soispha/config/lf/commands/scripts/open_config2
-rwxr-xr-xhome-manager/soispha/config/lf/commands/scripts/set_wall_paper2
-rwxr-xr-xhome-manager/soispha/config/lf/commands/scripts/trash2
-rwxr-xr-xhome-manager/soispha/config/lf/commands/scripts/unarchive2
-rw-r--r--home-manager/soispha/config/lf/default.nix8
6 files changed, 10 insertions, 10 deletions
diff --git a/home-manager/soispha/config/lf/commands/default.nix b/home-manager/soispha/config/lf/commands/default.nix
index 80d20ca8..ae7ee068 100644
--- a/home-manager/soispha/config/lf/commands/default.nix
+++ b/home-manager/soispha/config/lf/commands/default.nix
@@ -181,7 +181,7 @@ in {
     dependencies = builtins.attrValues {
       #inherit
       #(pkgs)
-      ## TODO rewrite this:  bookmenu, https://github.com/jarun/buku
+      ## TODO: rewrite this:  bookmenu, https://github.com/jarun/buku
       #
       #buku
       #;
@@ -232,7 +232,7 @@ in {
         (pkgs)
         gnutar
         unzip
-        # TODO this is unfree! unrar
+        # TODO: this is unfree! unrar
         
         p7zip
         ;
diff --git a/home-manager/soispha/config/lf/commands/scripts/open_config b/home-manager/soispha/config/lf/commands/scripts/open_config
index c99422f1..35e5165d 100755
--- a/home-manager/soispha/config/lf/commands/scripts/open_config
+++ b/home-manager/soispha/config/lf/commands/scripts/open_config
@@ -3,5 +3,5 @@
 # shellcheck source=/dev/null
 SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH
 
-"$EDITOR" "$(bookmenu -b ~/.config/bookmenu/configs -f fzf -o)" # TODO implement this
+"$EDITOR" "$(bookmenu -b ~/.config/bookmenu/configs -f fzf -o)" # TODO: implement this
 # vim: ft=sh
diff --git a/home-manager/soispha/config/lf/commands/scripts/set_wall_paper b/home-manager/soispha/config/lf/commands/scripts/set_wall_paper
index 45049283..c493e773 100755
--- a/home-manager/soispha/config/lf/commands/scripts/set_wall_paper
+++ b/home-manager/soispha/config/lf/commands/scripts/set_wall_paper
@@ -3,7 +3,7 @@
 # shellcheck source=/dev/null
 SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH
 
-die "No yet implemented" # TODO do what the 'die' says
+die "No yet implemented" # TODO: do what the 'die' says
 #sed -i "s,export AWMWALLPAPER='.*',export AWMWALLPAPER='${f}'," ${ZDOTDIR}/.zshenv
 #nohub swaybg -i "$f"
 #feh --bg-max --no-fehbg "$f"
diff --git a/home-manager/soispha/config/lf/commands/scripts/trash b/home-manager/soispha/config/lf/commands/scripts/trash
index 7f477550..8dd6033d 100755
--- a/home-manager/soispha/config/lf/commands/scripts/trash
+++ b/home-manager/soispha/config/lf/commands/scripts/trash
@@ -10,7 +10,7 @@ while read -r file; do
     set -- "$@" "$file"
 done < "$(tmp "echo '$fx'")"
 
-# TODO why are we using trashy at all, when trash-cli can do everything?
+# TODO: why are we using trashy at all, when trash-cli can do everything?
 # try trashy first, trough nix because both trashy and trash-cli provide a trash command, which conflicts
 nix run nixpkgs#trashy -- put "$@" 2> "$trash_output";
 
diff --git a/home-manager/soispha/config/lf/commands/scripts/unarchive b/home-manager/soispha/config/lf/commands/scripts/unarchive
index 69cc601c..ee97f3b1 100755
--- a/home-manager/soispha/config/lf/commands/scripts/unarchive
+++ b/home-manager/soispha/config/lf/commands/scripts/unarchive
@@ -6,7 +6,7 @@ SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH
 # extract the current file with the right command
 # (xkcd link: https://xkcd.com/1168/)
 set -f
-# TODO add support for multiple files at once
+# TODO: add support for multiple files at once
 case "$f" in
     *.tar.bz|*.tar.bz2|*.tbz|*.tbz2) tar xjvf "$f";;
     *.tar.gz|*.tgz) tar xzvf "$f";;
diff --git a/home-manager/soispha/config/lf/default.nix b/home-manager/soispha/config/lf/default.nix
index a4f7d7b9..ed037b05 100644
--- a/home-manager/soispha/config/lf/default.nix
+++ b/home-manager/soispha/config/lf/default.nix
@@ -13,7 +13,7 @@ in {
   xdg.configFile."lf/icons".source = ./icons;
   xdg.configFile."lf/colors".source = ./colors;
 
-  # TODO add the systemd tempfile option here
+  # TODO: add the systemd tempfile option here
 
   programs.lf = {
     enable = true;
@@ -25,11 +25,11 @@ in {
       source = "${pkgs.ctpv}/bin/ctpv";
     };
     settings = {
-      # TODO this needs to be added to nixos:
+      # TODO: this needs to be added to nixos:
       #autoquit = true; # quit the server, if no clients are left
       #dirpreviews = true; # preview for directories
 
-      dircounts = true; # count things in directories TODO this has performance impact
+      dircounts = true; # count things in directories TODO: this has performance impact
       drawbox = true;
       # errorfmt = "\\033[1;91m==> ERROR:\\033[0m\\033[1;93m%s\\033[0m";
       errorfmt = "\\033[1;91m%s\\033[0m";
@@ -40,7 +40,7 @@ in {
       shell = "sh";
       shellopts = "-eu"; # e: exit on error; u: error for unset variables
     };
-    # TODO remove auto quit, if it has been added
+    # TODO: remove auto quit, if it has been added
     extraConfig = ''
       &${pkgs.ctpv}/bin/ctpv -s $id
       cmd on-quit %${pkgs.ctpv}/bin/ctpv -e $id