Browse Source

Small adjustments

master
SolitudeSF 2 months ago
parent
commit
a75511ecb2
Signed by: SolitudeSF <solitudesf@protonmail.com> GPG Key ID: 789B06817C385387
4 changed files with 6 additions and 2 deletions
  1. 1
    1
      bin/wlp
  2. 1
    1
      elvish/rc.elv
  3. 1
    0
      mpd
  4. 3
    0
      nim.nim

+ 1
- 1
bin/wlp View File

@@ -1,5 +1,5 @@
1 1
 #!/bin/sh
2 2
 wall_path=$HOME/.wallpaper
3
-cmd='hsetroot -full'
3
+cmd='setroot -z'
4 4
 [ -n "$1" ] && printf %s "$1" >"$wall_path"
5 5
 $cmd "$(cat "$wall_path")"

+ 1
- 1
elvish/rc.elv View File

@@ -4,7 +4,7 @@ use config
4 4
 use module
5 5
 
6 6
 
7
-fn alias [@a]{ put [@b]{ (external $a[0]) (explode $a[1:]) $@b } }
7
+fn alias [cmd @a]{ put [@b]{ (external $cmd) (explode $a) $@b } }
8 8
 
9 9
 fn xqt [a]{ e $E:XBPS_DISTDIR/srcpkgs/$a/template }
10 10
 

+ 1
- 0
mpd View File

@@ -3,6 +3,7 @@ db_file                 "~/.local/share/mpd/database"
3 3
 log_file                "~/.local/share/mpd/log"
4 4
 pid_file                "~/.local/share/mpd/pid"
5 5
 state_file              "~/.local/share/mpd/state"
6
+sticker_file            "~/.local/share/mpd/sticker.sql"
6 7
 playlist_directory      "~/.local/share/mpd/playlists"
7 8
 log_level               "default"
8 9
 password                "password@read,add,control,admin"

+ 3
- 0
nim.nim View File

@@ -40,3 +40,6 @@ when defined(release):
40 40
   switch "passL", "-s"
41 41
 else:
42 42
   switch "nimcache", "/tmp/nim/" & projectName() & "_d"
43
+
44
+when defined(hotcodereloading):
45
+  switch "nimcache", "nimcache"

Loading…
Cancel
Save