diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/connect_wlan | 4 | ||||
| -rwxr-xr-x | bin/spt | 5 | ||||
| l--------- | bin/xbacklight | 1 |
3 files changed, 8 insertions, 2 deletions
diff --git a/bin/connect_wlan b/bin/connect_wlan index 7d27878..62aabc2 100755 --- a/bin/connect_wlan +++ b/bin/connect_wlan @@ -1,9 +1,11 @@ -#!/bin/env dash +#!/bin/env bash # script to pipe scanned networks to dmenu, using iwd station="$(iwctl device list | grep station | awk ' { print $1 } ')" +iwctl station "$station" disconnect + iwctl station "$station" scan ssid="$(iwctl station "$station" get-networks | dmenu -l 6 -p "Connect to a network:" | sed -e 's/psk.*$//g' -e 's/^\W*//g' -e 's/\W*$//g')" @@ -0,0 +1,5 @@ +#!/bin/sh + +pgrep spotifyd || spotifyd --no-daemon & + +spotify-tui diff --git a/bin/xbacklight b/bin/xbacklight deleted file mode 120000 index fb1aec0..0000000 --- a/bin/xbacklight +++ /dev/null @@ -1 +0,0 @@ -/home/math/.local/repos/acpilight/xbacklight
\ No newline at end of file |
