xsession: disable radios through NM too

NetworkManager will sync its state with rfkill now...
This commit is contained in:
Vincent Bernat 2018-07-13 09:06:25 +02:00
parent c46a44d646
commit 4f0a973cba

View file

@ -46,6 +46,7 @@ esac
. ~/.config/awesome/bin/xsettingsd-setup . ~/.config/awesome/bin/xsettingsd-setup
~/.config/awesome/bin/xss-lock start & ~/.config/awesome/bin/xss-lock start &
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
nmcli radio all off
rfkill block all 2> /dev/null rfkill block all 2> /dev/null
redshift -l 6.666:46.533 -t 6500:3900 2> /dev/null & redshift -l 6.666:46.533 -t 6500:3900 2> /dev/null &
systemd-run -q --scope --user tmux start-server systemd-run -q --scope --user tmux start-server