From cdbc5a4a00526b9963b82efb0651f8a5c5515bb9 Mon Sep 17 00:00:00 2001 From: Alec Goncharow Date: Mon, 6 Aug 2018 23:11:01 -0400 Subject: some tweaks to date/time and changin some ycm settings --- .config/i3/config | 2 ++ .config/i3blocks/config | 14 +++++++++++--- .vim/vimrc | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 6717bfd..c67ff77 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -221,6 +221,8 @@ bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && pkill - bindsym --release Caps_Lock exec --no-startup-id pkill -SIGRTMIN+11 i3blocks bindsym --release Num_Lock exec --no-startup-id pkill -SIGRTMIN+11 i3blocks +# home key combinations +#bindsym Mod1 + Left exec --no-startup-id "xdotool key Home" # gaps stuff for_window [class="^.*"] border pixel 0 diff --git a/.config/i3blocks/config b/.config/i3blocks/config index df0f967..884d9e9 100644 --- a/.config/i3blocks/config +++ b/.config/i3blocks/config @@ -30,7 +30,7 @@ markup=none [arch-update] -command=~/.config/i3blocks/arch-update.py #run arch-update.py -h for options +command=~/.config/i3blocks/scripts/arch-update.py #run arch-update.py -h for options interval=3600 markup=pango color=#006DA3 @@ -59,6 +59,13 @@ label=HOME #instance=/mnt/data interval=30 +[disk-io] +label= +command=~/.config/i3blocks/scripts/disk-io -w 2 +#command=$SCRIPT_DIR/disk-io -w 3 -M -P 0 +interval=persist +markup=pango +instance=/mmcblk0/ # Network interface monitoring # # If the instance is not specified, use the interface used for default route. @@ -116,7 +123,7 @@ interval=30 separator=false [brightness] -command=~/.config/i3blocks/brightness.py +command=~/.config/i3blocks/scripts/brightness.py label=BRI #☀️ interval=once @@ -156,7 +163,8 @@ signal=10 # Date Time # [time] -command=date '+%a %Y-%m-%d %H:%M:%S' +label= +command=~/.config/i3blocks/scripts/myCalendar -f '+%a %Y-%m-%d %H:%M:%S' interval=1 # Generic media player support diff --git a/.vim/vimrc b/.vim/vimrc index c692f66..67f48c6 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -139,7 +139,7 @@ syntax on highlight Pmenu ctermfg=cyan ctermbg=black let g:ycm_python_binary_path = 'python' -let g:ycm_server_python_interpreter = '' +let g:ycm_server_python_interpreter = '/usr/bin/python2' let g:ycm_autoclose_preview_window_after_completion=1 let g:ycm_collect_identifiers_from_comments_and_strings=1 -- cgit v1.2.3-70-g09d2