diff options
| -rw-r--r-- | .pluggins.vim | 1 | ||||
| -rwxr-xr-x | .xinitrc | 3 | ||||
| -rw-r--r-- | .zsh_aliases | 2 | ||||
| -rw-r--r-- | xmonad.hs | 3 |
4 files changed, 4 insertions, 5 deletions
diff --git a/.pluggins.vim b/.pluggins.vim index 49c501d..f5b2a4b 100644 --- a/.pluggins.vim +++ b/.pluggins.vim @@ -15,6 +15,7 @@ call plug#begin() Plug 'junegunn/goyo.vim' " generate tags in project root " " Plug 'easymotion/vim-easymotion' " TODO very intresting + Plug 'skammer/vim-css-color' " markdown preview in browser @@ -4,8 +4,5 @@ echo 'Starting redshift' redshift -c /home/charles/.config/redshift.conf & echo 'Starting dunst' dunst & - xset r rate 300 40 - -echo 'Starting XMonad' exec xmonad diff --git a/.zsh_aliases b/.zsh_aliases index f9b32d0..0464fdb 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -115,7 +115,7 @@ alias bton='echo power on | bluetoothctl' alias btoff='echo power off | bluetoothctl' # pdf selector -alias openpdf='zathura `ls -1 *.pdf | dmenu` &' +# alias pdf-open="zathura \$(echo $HOME/Documents/*.pdf | tr ' ' '\\n' | dmenu)" alias cagob='RUSTFLAGS="$RUSTFLAGS -A dead_code" cargo build' alias cagor='RUSTFLAGS="$RUSTFLAGS -A dead_code" cargo run' @@ -24,7 +24,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) @@ -50,6 +50,7 @@ myKeys = [ ("<XF86AudioRaiseVolume>", spawn "~/bin/volume-ctl up") , ("M-o", spawn "~/bin/project-open") , ("M-m", spawn "st -e mocp") , ("M-S-d", spawn "notify-send \"$(date +\"%H:%M %A %d/%m/%Y %B\")\"") + , ("M-S-b", spawn "notify-send \"battery: $(cat /sys/class/power_supply/BAT0/capacity)\"") , ("M-q", spawn "notify-send Restart" >> spawn restartCmd) , ("M-S-q", confirm "Are you sure you want to shutdown?" $ io (exitWith ExitSuccess)) ] |
