updated i3 and .vimrc

This commit is contained in:
Rawley 2022-03-19 17:40:20 +00:00
parent 325593ed94
commit 7a1b4587c0
2 changed files with 26 additions and 14 deletions

5
.vimrc
View file

@ -42,8 +42,3 @@ nmap <S-w> :NERDTreeToggle<cr>
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
inoremap <expr> <cr> pumvisible() ? "\<Tab>" : "\<cr>" inoremap <expr> <cr> pumvisible() ? "\<Tab>" : "\<cr>"
if filetype?=="clojure"
call RainbowParenthesesToggle
call RainbowParenthesesLoadRound
call RainbowParenthesesLoadSquare
endif

35
config
View file

@ -13,7 +13,7 @@ set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. # is used in the bar {} block below.
font pango:Iosevka 8 font pango:Terminus 8
# This font is widely installed, provides lots of unicode glyphs, right-to-left # This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango). # text rendering and scalability on retina/hidpi displays (thanks to pango).
@ -47,7 +47,7 @@ bindsym $mod+Return exec st
bindsym $mod+q kill bindsym $mod+q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id dmenu_run bindsym $mod+d exec --no-startup-id"dmenu_run -sb '#282a36' -sf '#f8f8f2' -nf '#6272a4' -nb '#282a36' -fn terminus:10 -i"
# A more modern dmenu replacement is rofi: # A more modern dmenu replacement is rofi:
# bindcode $mod+40 exec "rofi -modi drun,run -show drun" # bindcode $mod+40 exec "rofi -modi drun,run -show drun"
# There also is i3-dmenu-desktop which only displays applications shipping a # There also is i3-dmenu-desktop which only displays applications shipping a
@ -175,11 +175,28 @@ mode "resize" {
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status exec feh --bg-fill ~/Pictures/Backgrounds/cosmic-queen.jpg
# finds out, if available)
bar {
status_command i3status
}
exec feh --bg-fill ~/Pictures/Backgrounds/hk-queen.png
exec xrandr --output LVDS-1 --brightness 0.85 exec xrandr --output LVDS-1 --brightness 0.85
# class border bground text indicator child_border
client.focused #bd93f9 #6272a4 #f8f8f2 #ff79c6 #bd93f9
client.focused_inactive #44475a #282a36 #6272a4 #44475a #282a36
client.unfocused #44475a #282a36 #6272a4 #44475a #282a36
client.urgent #ffb86c #ff5555 #f8f8f2 #ffb86c #ff5555
client.placeholder #ff79c6 #bd93f9 #f8f8f2 #ff79c6 #bd93f9
default_border pixel 1
default_floating_border pixel 1
bar {
font pango:terminus 10
status_command i3blocks
colors {
background #282a36
separator #44475a
statusline #f8f8f2
focused_workspace #6272a4 #bd93f9 #f8f8f2
active_workspace #44475a #282a36 #f8f8f2
inactive_workspace #44475a #282a36 #6272a4
urgent_workspace #ffb86c #ff5555 #f8f8f2
binding_mode #ffb86c #ff5555 #f8f8f2
}
}