Browse Source

Small adjustments

master
SolitudeSF 7 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 @@
#!/bin/sh
wall_path=$HOME/.wallpaper
cmd='hsetroot -full'
cmd='setroot -z'
[ -n "$1" ] && printf %s "$1" >"$wall_path"
$cmd "$(cat "$wall_path")"

+ 1
- 1
elvish/rc.elv View File

@@ -4,7 +4,7 @@ use config
use module


fn alias [@a]{ put [@b]{ (external $a[0]) (explode $a[1:]) $@b } }
fn alias [cmd @a]{ put [@b]{ (external $cmd) (explode $a) $@b } }

fn xqt [a]{ e $E:XBPS_DISTDIR/srcpkgs/$a/template }


+ 1
- 0
mpd View File

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

+ 3
- 0
nim.nim View File

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

when defined(hotcodereloading):
switch "nimcache", "nimcache"

Loading…
Cancel
Save