diff options
| -rw-r--r-- | .zsh_aliases | 5 | ||||
| -rw-r--r-- | .zshrc | 2 | ||||
| -rwxr-xr-x | install | 2 | ||||
| -rw-r--r-- | slock/config.def.h | 12 | ||||
| -rw-r--r-- | xmonad.hs | 2 |
5 files changed, 22 insertions, 1 deletions
diff --git a/.zsh_aliases b/.zsh_aliases index b77ab60..42879df 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -111,4 +111,9 @@ alias openpdf='zathura `ls -1 *.pdf | dmenu` &' alias cagob='RUSTFLAGS="$RUSTFLAGS -A dead_code" cargo build' alias cagor='RUSTFLAGS="$RUSTFLAGS -A dead_code" cargo run' +# wifi +wificonnect() { + nmcli device wifi connect $1 password $2 +} + # alias mutt='neomutt' @@ -104,3 +104,5 @@ export LFS=/mnt export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:$HOME/bin" export PATH="$PATH:$HOME/.vim/plugged/vim-superman/bin" + +export GPG_TTY="$(tty)" @@ -39,6 +39,8 @@ create_dotfile_link_same .zprofile [ ! -d $HOME/.config ] && mkdir $HOME/.config create_dotfile_link redshift.conf .config/redshift.conf +create_dotfile_link_same slock/config.def.h + ################ # dependencies # ################ diff --git a/slock/config.def.h b/slock/config.def.h new file mode 100644 index 0000000..a21b349 --- /dev/null +++ b/slock/config.def.h @@ -0,0 +1,12 @@ +/* user and group to drop privileges to */ +static const char *user = "charles"; +static const char *group = "wheel"; + +static const char *colorname[NUMCOLS] = { + [INIT] = "#003355", /* after initialization */ + [INPUT] = "#005577", /* during input */ + [FAILED] = "#CC3333", /* wrong password */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 1; @@ -18,7 +18,7 @@ main = xmonad $ desktopConfig , focusedBorderColor = "#bbc5ff" , terminal = "st" , layoutHook = myLayouts - , manageHook = myManageHook + , manageHook = myManageHook , modMask = mod4Mask -- mod key to super , borderWidth = 1 , focusFollowsMouse = False -- don't change window based on mouse position (need to click) |
