Made status bar transparent
Adjusted workspace icons to compensate. Also made vimrc autoreload itself when saved.
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
<!--- Intro {{{ -->
|
<!--- Intro {{{ -->
|
||||||
# Kevin's Linux Setup
|
# Kevin's Linux Setup
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|

|
||||||
*Screenshots from my desktop config.*
|
*Screenshots from my desktop config.*
|
||||||
|
|
||||||
This repository contains the dotfiles to increase my workflow efficiency. They
|
This repository contains the dotfiles to increase my workflow efficiency. They
|
||||||
|
|||||||
@@ -3,7 +3,8 @@ set $browser "chromium"
|
|||||||
set $def_term "urxvt"
|
set $def_term "urxvt"
|
||||||
# set $runelite "java -jar ~/Downloads/RuneLite.jar"
|
# set $runelite "java -jar ~/Downloads/RuneLite.jar"
|
||||||
set $swex "sudo ~/Downloads/swex.appimage"
|
set $swex "sudo ~/Downloads/swex.appimage"
|
||||||
exec redshift -O 2000
|
# exec redshift -O 2000
|
||||||
|
exec redshift -O 3000
|
||||||
# random bg
|
# random bg
|
||||||
exec compton
|
exec compton
|
||||||
exec wal -i "$HOME/Pictures/Backgrounds/dim"
|
exec wal -i "$HOME/Pictures/Backgrounds/dim"
|
||||||
@@ -44,15 +45,19 @@ bindsym Print exec gscreenshot
|
|||||||
# }}} app shortcuts #
|
# }}} app shortcuts #
|
||||||
|
|
||||||
# redshift {{{ #
|
# redshift {{{ #
|
||||||
bindsym $mod+Mod4+1 exec redshift -x && redshift -O 1000
|
|
||||||
bindsym $mod+Mod4+2 exec redshift -x && redshift -O 1250
|
bindsym $mod+Mod4+1 exec redshift -x && redshift -O 1250
|
||||||
bindsym $mod+Mod4+3 exec redshift -x && redshift -O 1500
|
bindsym $mod+Mod4+2 exec redshift -x && redshift -O 2000
|
||||||
bindsym $mod+Mod4+4 exec redshift -x && redshift -O 2000
|
bindsym $mod+Mod4+3 exec redshift -x && redshift -O 3000
|
||||||
bindsym $mod+Mod4+5 exec redshift -x && redshift -O 2500
|
bindsym $mod+Mod4+4 exec redshift -x && redshift -O 4000
|
||||||
bindsym $mod+Mod4+6 exec redshift -x && redshift -O 3000
|
bindsym $mod+Mod4+5 exec redshift -x && redshift -O 5000
|
||||||
bindsym $mod+Mod4+7 exec redshift -x && redshift -O 4000
|
|
||||||
bindsym $mod+Mod4+8 exec redshift -x && redshift -O 5000
|
|
||||||
bindsym $mod+Mod4+grave exec redshift -x
|
bindsym $mod+Mod4+grave exec redshift -x
|
||||||
|
|
||||||
|
# old
|
||||||
|
# bindsym $mod+Mod4+1 exec redshift -x && redshift -O 1000
|
||||||
|
# bindsym $mod+Mod4+3 exec redshift -x && redshift -O 1500
|
||||||
|
# bindsym $mod+Mod4+3 exec redshift -x && redshift -O 2500
|
||||||
|
|
||||||
# }}} redshift #
|
# }}} redshift #
|
||||||
|
|
||||||
# backlight {{{ #
|
# backlight {{{ #
|
||||||
@@ -219,7 +224,9 @@ bindsym $mod+F9 workspace $ws9; exec $def_term
|
|||||||
set $ws10 "10 "
|
set $ws10 "10 "
|
||||||
assign [class="spotify"] $ws10
|
assign [class="spotify"] $ws10
|
||||||
workspace $ws10 output $samsung
|
workspace $ws10 output $samsung
|
||||||
bindsym $mod+F10 workspace $ws10; exec $def_term
|
set $hp 2
|
||||||
|
bindsym Mod4+v workspace $ws10; exec urxvt -e alsamixer -c 0
|
||||||
|
bindsym Mod4+h workspace $ws10; exec urxvt -e alsamixer -c $hp
|
||||||
bindsym Mod4+s workspace $ws10; exec spotify
|
bindsym Mod4+s workspace $ws10; exec spotify
|
||||||
|
|
||||||
set $ws11 "11 "
|
set $ws11 "11 "
|
||||||
@@ -309,10 +316,11 @@ bindsym $mod+control+l resize shrink width 3 px or 3 ppt
|
|||||||
# remove window titlebars
|
# remove window titlebars
|
||||||
for_window [class="^.*"] border pixel 3
|
for_window [class="^.*"] border pixel 3
|
||||||
set $inner_gaps 35
|
set $inner_gaps 35
|
||||||
set $outer_gaps 5
|
set $outer_gaps -3
|
||||||
|
|
||||||
gaps inner $inner_gaps
|
gaps inner $inner_gaps
|
||||||
gaps outer $outer_gaps
|
gaps outer $outer_gaps
|
||||||
|
gaps bottom 0
|
||||||
# gaps inner 0
|
# gaps inner 0
|
||||||
# gaps outer 0
|
# gaps outer 0
|
||||||
|
|
||||||
@@ -336,25 +344,34 @@ bindsym control+shift+0 gaps inner all set 0;gaps outer all set 0
|
|||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
# finds out, if available)
|
# finds out, if available)
|
||||||
set $sb_font Hack NF Bold
|
set $sb_font Hack NF Bold
|
||||||
set $grey #acc0cd
|
|
||||||
set $black #000000
|
set $black #000000
|
||||||
set $white #ffffff
|
set $white #ffffff
|
||||||
# border color
|
|
||||||
set $dark_grey #444c52
|
set $inactive_ws_bg #444c52
|
||||||
|
# set $inactive_ws_bg $white
|
||||||
|
|
||||||
|
# set $inactive_ws_text #bcccd7
|
||||||
|
set $inactive_ws_text #838e96
|
||||||
|
# set $inactive_ws_trans c8
|
||||||
|
set $inactive_ws_trans 96
|
||||||
|
|
||||||
|
# set $active_ws_text $white
|
||||||
|
set $active_ws_text #ffffff
|
||||||
|
|
||||||
# benq bar {{{ #
|
# benq bar {{{ #
|
||||||
|
|
||||||
set $benq_bar_trans 64
|
# set $bar_trans 64
|
||||||
|
set $bar_trans 00
|
||||||
set $benq_ws_trans aa
|
set $benq_ws_trans aa
|
||||||
bar {
|
bar {
|
||||||
i3bar_command i3bar -t
|
i3bar_command i3bar -t
|
||||||
font pango:$sb_font 20
|
font pango:$sb_font 20
|
||||||
colors {
|
colors {
|
||||||
# 0 (transparent) -> 255 (opaque) in hex
|
# 0 (transparent) -> 255 (opaque) in hex
|
||||||
background $black$benq_bar_trans
|
background $black$bar_trans
|
||||||
# border, bg, text color
|
# border, bg, text color
|
||||||
focused_workspace $dark_grey $bg$benq_bar_trans $white
|
focused_workspace $inactive_ws_bg $bg $active_ws_text
|
||||||
inactive_workspace $dark_grey $black$benq_ws_trans $grey
|
inactive_workspace $inactive_ws_bg $inactive_ws_bg$inactive_ws_trans $inactive_ws_text
|
||||||
}
|
}
|
||||||
tray_output none
|
tray_output none
|
||||||
status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf
|
status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf
|
||||||
@@ -367,17 +384,16 @@ bar {
|
|||||||
|
|
||||||
# sam bar {{{ #
|
# sam bar {{{ #
|
||||||
|
|
||||||
set $sam_bar_trans 99
|
|
||||||
set $sam_ws_trans b4
|
|
||||||
bar {
|
bar {
|
||||||
output $samsung
|
output $samsung
|
||||||
font pango:$sb_font 25
|
font pango:$sb_font 25
|
||||||
# output $benq
|
# output $benq
|
||||||
i3bar_command i3bar -t
|
i3bar_command i3bar -t
|
||||||
colors {
|
colors {
|
||||||
background $black$sam_bar_trans
|
background $black$bar_trans
|
||||||
focused_workspace $dark_grey $bg$sam_bar_trans $white
|
# border, bg, text color
|
||||||
inactive_workspace $dark_grey $black$sam_ws_trans $grey
|
focused_workspace $inactive_ws_bg $bg $active_ws_text
|
||||||
|
inactive_workspace $inactive_ws_bg $inactive_ws_bg$inactive_ws_trans $inactive_ws_text
|
||||||
}
|
}
|
||||||
status_command i3blocks -c ~/.config/sam-i3blocks/sam-i3blocks.conf
|
status_command i3blocks -c ~/.config/sam-i3blocks/sam-i3blocks.conf
|
||||||
tray_output none
|
tray_output none
|
||||||
|
|||||||
@@ -31,13 +31,16 @@ command=~/linux-config/configs/i3blocks-scripts/$BLOCK_NAME
|
|||||||
separator=true
|
separator=true
|
||||||
separator_block_width=25
|
separator_block_width=25
|
||||||
markup=pango
|
markup=pango
|
||||||
|
# color=#d1e7ff
|
||||||
|
# color=#acc0cd
|
||||||
|
color=#cbe4ff
|
||||||
# }}} Global properties #
|
# }}} Global properties #
|
||||||
|
|
||||||
[time]
|
[time]
|
||||||
label=
|
label=
|
||||||
command=date '+%H:%M.%a-%m-%d'
|
command=date '+%H:%M.%a-%m-%d'
|
||||||
interval=30
|
interval=30
|
||||||
color=#acc0cd
|
# color=#acc0cd
|
||||||
|
|
||||||
# [wifi]
|
# [wifi]
|
||||||
# label=
|
# label=
|
||||||
@@ -53,18 +56,18 @@ color=#acc0cd
|
|||||||
# [cpu_usage -w 50 -c 80]
|
# [cpu_usage -w 50 -c 80]
|
||||||
[cpu_usage]
|
[cpu_usage]
|
||||||
label=
|
label=
|
||||||
color=#990000
|
# color=#990000
|
||||||
interval=5
|
interval=5
|
||||||
|
|
||||||
[memory]
|
[memory]
|
||||||
label=
|
label=
|
||||||
color=#3da061
|
# color=#3da061
|
||||||
interval=5
|
interval=5
|
||||||
|
|
||||||
[name]
|
[name]
|
||||||
label=
|
label=
|
||||||
# color=#ba50a9
|
# color=#ba50a9
|
||||||
color=#1e5b99
|
# color=#1e5b99
|
||||||
interval=6000
|
interval=6000
|
||||||
|
|
||||||
# unused blocks {{{ #
|
# unused blocks {{{ #
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ command=/usr/share/i3blocks/$BLOCK_NAME
|
|||||||
separator=true
|
separator=true
|
||||||
separator_block_width=25
|
separator_block_width=25
|
||||||
markup=pango
|
markup=pango
|
||||||
|
color=#cbe4ff
|
||||||
# }}} Global properties #
|
# }}} Global properties #
|
||||||
|
|
||||||
[spotify]
|
[spotify]
|
||||||
@@ -14,10 +15,10 @@ label=
|
|||||||
# green
|
# green
|
||||||
# color=#198c19
|
# color=#198c19
|
||||||
# aqua
|
# aqua
|
||||||
color=#2d7272
|
# color=#2d7272
|
||||||
interval=10
|
interval=10
|
||||||
|
|
||||||
[time]
|
[time]
|
||||||
command=date '+%H:%M'
|
command=date '+%H:%M'
|
||||||
interval=30
|
interval=30
|
||||||
color=#acc0cd
|
# color=#acc0cd
|
||||||
|
|||||||
@@ -38,6 +38,10 @@ autocmd BufNewFile,BufRead *.md set filetype=markdown
|
|||||||
autocmd Filetype markdown set textwidth=0
|
autocmd Filetype markdown set textwidth=0
|
||||||
|
|
||||||
autocmd BufWritePost key_*.txt !bash ~/linux-config/scripts/shortcuts.sh
|
autocmd BufWritePost key_*.txt !bash ~/linux-config/scripts/shortcuts.sh
|
||||||
|
augroup myvimrc
|
||||||
|
au!
|
||||||
|
au BufWritePost .vimrc,_vimrc,vimrc,.gvimrc,_gvimrc,gvimrc so $MYVIMRC | if has('gui_running') | so $MYGVIMRC | endif
|
||||||
|
augroup END
|
||||||
|
|
||||||
" }}} commands for file types "
|
" }}} commands for file types "
|
||||||
|
|
||||||
@@ -157,7 +161,8 @@ nnoremap <F10> :set paste<CR>"+p:set nopaste<CR>
|
|||||||
" }}} function keys "
|
" }}} function keys "
|
||||||
|
|
||||||
map <S-Enter> O<ESC>
|
map <S-Enter> O<ESC>
|
||||||
vnoremap <C-X> <Esc>`.``gvP``P
|
" swap text visually
|
||||||
|
vnoremap <C-P> <Esc>`.``gvP``P
|
||||||
|
|
||||||
" splits {{{ "
|
" splits {{{ "
|
||||||
nnoremap <C-Down> <C-W><C-J>
|
nnoremap <C-Down> <C-W><C-J>
|
||||||
@@ -207,6 +212,8 @@ nnoremap <leader>py :set tw=0<CR>
|
|||||||
nnoremap <leader>r q:i.,.+s///g<ESC>Fsi
|
nnoremap <leader>r q:i.,.+s///g<ESC>Fsi
|
||||||
" replace in line
|
" replace in line
|
||||||
nnoremap <leader>rl q:i.s///g<left><left><left>
|
nnoremap <leader>rl q:i.s///g<left><left><left>
|
||||||
|
" replace in visual selection
|
||||||
|
vnoremap <leader>r q:is///g<ESC>3ha
|
||||||
" reload vim config
|
" reload vim config
|
||||||
nnoremap <leader>rv :source $MYVIMRC<CR>
|
nnoremap <leader>rv :source $MYVIMRC<CR>
|
||||||
" replace in entire file
|
" replace in entire file
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
# ZSH_THEME="miloshadzic"
|
||||||
|
ZSH_THEME="bira"
|
||||||
|
|
||||||
# default {{{ #
|
# default {{{ #
|
||||||
|
|
||||||
# If you come from bash you might have to change your $PATH.
|
# If you come from bash you might have to change your $PATH.
|
||||||
@@ -10,8 +13,6 @@
|
|||||||
# Set name of the theme to load. Optionally, if you set this to "random"
|
# Set name of the theme to load. Optionally, if you set this to "random"
|
||||||
# it'll load a random theme each time that oh-my-zsh is loaded.
|
# it'll load a random theme each time that oh-my-zsh is loaded.
|
||||||
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
||||||
# ZSH_THEME="miloshadzic"
|
|
||||||
ZSH_THEME="bira"
|
|
||||||
|
|
||||||
# Set list of themes to load
|
# Set list of themes to load
|
||||||
# Setting this variable when ZSH_THEME=random
|
# Setting this variable when ZSH_THEME=random
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ o /
|
|||||||
|
|
||||||
cd ~/coding
|
cd ~/coding
|
||||||
jnd ~/Documents/journal
|
jnd ~/Documents/journal
|
||||||
|
ib ~/linux-config/configs/i3blocks-scripts
|
||||||
|
ra ~/linux-config/configs/ranger
|
||||||
snp ~/.vim/plugged/vim-snippets/UltiSnips
|
snp ~/.vim/plugged/vim-snippets/UltiSnips
|
||||||
sv ~/coding/spotify-lib-vis/src
|
sv ~/coding/spotify-lib-vis/src
|
||||||
swa ~/.local/share/nvim/swap
|
swa ~/.local/share/nvim/swap
|
||||||
|
|||||||
Reference in New Issue
Block a user