diff options
| author | 2021-07-06 21:23:14 +0000 | |
|---|---|---|
| committer | 2021-07-06 21:23:14 +0000 | |
| commit | 995700a46dfd62c35b983748e2b15c47ffd37c33 (patch) | |
| tree | c000e5352e3c1c6f22ae7f38c4452bc3a8ae90d9 /bin | |
| parent | 6243a18ef6433ae8516c97bd788425ac70fcf60a (diff) | |
Mudanças gerais nas configurações, criação do script spt
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 |
