aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2022-04-14 22:49:58 +0200
committerclyhtsuriva <aimeric@adjutor.xyz>2022-04-14 22:49:58 +0200
commitc9aeef4ae2f7f4e4a8da93ad26f0d39a6043b199 (patch)
treeea9f7e28d3b90df82bfcfd8799e33cf0dcf7f173
parent35361e56839119180e319bd1c6b94ddcc9d3fab1 (diff)
Update of i3 config, mpv.conf and vimrc
-rw-r--r--dot_config/i3/config4
-rw-r--r--dot_config/mpv/mpv.conf4
-rw-r--r--dot_vimrc9
3 files changed, 14 insertions, 3 deletions
diff --git a/dot_config/i3/config b/dot_config/i3/config
index 0515be4..82655b3 100644
--- a/dot_config/i3/config
+++ b/dot_config/i3/config
@@ -221,7 +221,7 @@ client.placeholder #20202D #20202D #FFFFFF #0C1746 #3C3C54
client.background #D52C70
# suspend and hibernate
-bindsym $mod+Shift+S exec "i3-nagbar -t warning -f fixed -m 'You pressed the suspending shortcut. Do you really want to suspend your computer?' -B 'Yes, suspend it.' 'sudo /bin/zzz'"
+bindsym $mod+Shift+S exec "i3-nagbar -t warning -f fixed -m 'You pressed the suspending shortcut. Do you really want to suspend your computer?' -B 'Yes, suspend it.' 'i3lock --color=040217 && sudo /bin/zzz'"
bindsym $mod+Shift+Delete exec "i3-nagbar -t warning -f fixed -m 'You pressed the hibernating shortcut. Do you really want to put your computer to sleep?' -B 'Yes, do it.' 'sudo /bin/ZZZ'"
# What happens when we hit the power button
@@ -399,7 +399,5 @@ bindsym $mod+Shift+F10 exec i3-msg exit
#Android Studio - F2
bindsym $mod+Shift+F2 exec notify-send -t 5000 -i /home/mas/Pictures/icons/android_studio.png "Lauching" "<span color='#004d00' font='26px'><b>Android Studio</b></span>" && exec studio
-exec_always --no-startup-id /usr/bin/i3wsr
-
#(L)ock
bindsym $mod+Ctrl+l exec i3lock --show-failed-attempts --color=040217
diff --git a/dot_config/mpv/mpv.conf b/dot_config/mpv/mpv.conf
index ff66aed..0310c27 100644
--- a/dot_config/mpv/mpv.conf
+++ b/dot_config/mpv/mpv.conf
@@ -1 +1,5 @@
save-position-on-quit
+
+[pyradio]
+volume=100
+
diff --git a/dot_vimrc b/dot_vimrc
index 9c94711..a3bd846 100644
--- a/dot_vimrc
+++ b/dot_vimrc
@@ -35,6 +35,9 @@ Plug 'ctrlpvim/ctrlp.vim'
" Bottom line
Plug 'itchyny/lightline.vim'
+" color highlighter - needs golang
+Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
+
call plug#end()
"Ctrlp Settings {{{
@@ -135,3 +138,9 @@ set errorformat=%A%f:%l:\ %m,%-Z%p^,%-C.%#
autocmd FileType java setlocal omnifunc=javacomplete#Complete
autocmd FileType java JCEnable
" }}}
+
+" color highliter settings [
+set termguicolors
+let g:Hexokinase_highlighters = ['virtual']
+let g:Hexokinase_optInPatterns = 'full_hex,rgb,rgba,hsl,hsla'
+" ]