about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-10 17:07:20 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-10 17:07:20 +0200
commit4ebee2f0faee1dd18afa08879ebd51c783e0cffd (patch)
treecf9642e2ce067a2f2830c3c504a25f33bd1508de
parentmkHost: pass arguments in a set instead of currying (diff)
downloadnixos-config-4ebee2f0faee1dd18afa08879ebd51c783e0cffd.tar.gz
nixos-config-4ebee2f0faee1dd18afa08879ebd51c783e0cffd.tar.bz2
nixos-config-4ebee2f0faee1dd18afa08879ebd51c783e0cffd.zip
fmt
-rw-r--r--packages/lemacs/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/lemacs/default.nix b/packages/lemacs/default.nix
index bab75ea..b6ad489 100644
--- a/packages/lemacs/default.nix
+++ b/packages/lemacs/default.nix
@@ -1,8 +1,8 @@
 { writeShellScriptBin, ... }:
 writeShellScriptBin "lemacs" ''
-if [ -n "$DISPLAY" ]; then
-    emacsclient -a "" -n -c "$@"
-else
-    emacsclient -a "" -c "$@"
-fi
+  if [ -n "$DISPLAY" ]; then
+      emacsclient -a "" -n -c "$@"
+  else
+      emacsclient -a "" -c "$@"
+  fi
 ''