diff options
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/autostart_dwl | 7 | ||||
| -rw-r--r-- | .local/bin/bar | 4 | ||||
| -rw-r--r-- | .local/bin/es | 6 | ||||
| -rw-r--r-- | .local/bin/manuals | 2 | ||||
| -rwxr-xr-x | .local/bin/start_dwl | 2 |
5 files changed, 16 insertions, 5 deletions
diff --git a/.local/bin/autostart_dwl b/.local/bin/autostart_dwl index 5cc67a8..a3d7f59 100755 --- a/.local/bin/autostart_dwl +++ b/.local/bin/autostart_dwl @@ -1,6 +1,13 @@ #!/bin/sh +systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway + +nextcloud --background & dbar & status -d & +dunst & +/usr/lib/kdeconnectd & +cat ~/.config/bg/dwl.ff | ffbg & exec <&- diff --git a/.local/bin/bar b/.local/bin/bar index 39267a6..c0db944 100644 --- a/.local/bin/bar +++ b/.local/bin/bar @@ -13,7 +13,7 @@ if [ "$usage" -gt "$STEPS" ]; then usage=$STEPS fi -printf "" +printf "" repeat "" "$usage" repeat "" "$(expr $STEPS - $usage)" -printf "\n" +printf "\n" diff --git a/.local/bin/es b/.local/bin/es index e162559..f8a6b2e 100644 --- a/.local/bin/es +++ b/.local/bin/es @@ -1,3 +1,7 @@ #!/bin/sh -nvim $HOME/.local/bin/$(ls $HOME/.local/bin | fzf) +path="$HOME/.local/bin/$(ls $HOME/.local/bin | dmenu)" + +nvim "$path" + +chmod +x $path diff --git a/.local/bin/manuals b/.local/bin/manuals index 8b57b2b..080a817 100644 --- a/.local/bin/manuals +++ b/.local/bin/manuals @@ -1,2 +1,2 @@ #!/bin/sh -st man $(man -k - | dmenu | awk '{print $1}') +$TERM -e man $(man -k - | dmenu | awk '{print $1}') diff --git a/.local/bin/start_dwl b/.local/bin/start_dwl index 7be33bb..818252e 100755 --- a/.local/bin/start_dwl +++ b/.local/bin/start_dwl @@ -1,5 +1,5 @@ #!/bin/sh while (true); do - dwl -s autostart_dwl + dwl -s autostart_dwl 2> ~/.cache/dwl_log done |