default_command = calendar
default_calendar = mart
show_all_days = True
+editor = system
export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass
export NOTMUCH_CONFIG=/home/mart/.mutt/notmuch-config
-export CLEAN_HOME=~/projects/clean
+export CLEAN_HOME=~/projects/clean-itasks
export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin:~/.local/bin
alias ls='ls --color=auto'
# put a password in the clipboard
bindsym $mod+y exec passmenu
bindsym $mod+b exec ~/.local/bin/network
+bindsym $mod+Shift+b exec ~/.local/bin/wifi
# font for window titles.
font pango:$font 8
#!/bin/bash
-network="$(netctl list | cut -b 3- | dmenu)"
-[[ $network != "" ]] && sudo -A netctl switch-to "$network" || true
+netctl list | cut -b 3- | dmenu | ifne xargs sudo -A netctl switch-to
--- /dev/null
+#!/bin/bash
+{
+ sudo -A iw dev wlp2s0 scan | grep -Po "(?<=SSID: ).*" | sort -u;
+ netctl list | cut -b 3-;
+} | sort | uniq -d | head -1 | ifne xargs sudo -A netctl switch-to