Added various changes to i3, polybar, and more.
This commit is contained in:
parent
198307c2dc
commit
b1447b84b4
@ -153,6 +153,9 @@ mode "resize" {
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Brightness keys setup
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id "xbacklight -dec 5"
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id "xbacklight -inc 5"
|
||||
|
||||
# Window Cosmetic Changes
|
||||
gaps inner 10
|
||||
@ -163,5 +166,9 @@ client.unfocused #333333 #222222 #888888 #292d2e #eeeeee
|
||||
|
||||
# Startup Applications
|
||||
exec --no-startup-id "xmodmap $HOME/.Xmodmap"
|
||||
exec --no-startup-id "compton -b"
|
||||
exec --no-startup-id "polybar"
|
||||
exec --no-startup-id "lxpolkit &"
|
||||
|
||||
# Tweak keyboard and trackpad
|
||||
exec --no-startup-id "synclient VertEdgeScroll=1 VertScrollDelta=-111"
|
||||
exec --no-startup-id "setxkbmap -option caps:escape"
|
||||
|
@ -51,7 +51,7 @@ separator-foreground = ${colors.disabled}
|
||||
font-0 = monospace;2
|
||||
|
||||
modules-left = xworkspaces xwindow
|
||||
modules-right = filesystem pulseaudio memory cpu battery wlan eth date
|
||||
modules-right = filesystem brightness pulseaudio memory cpu battery wlan eth date
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
@ -90,7 +90,7 @@ label = %title:0:60:...%
|
||||
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
interval = 25
|
||||
interval = 10
|
||||
|
||||
mount-0 = /
|
||||
|
||||
@ -111,6 +111,16 @@ label-volume = %percentage%%
|
||||
label-muted = muted
|
||||
label-muted-foreground = ${colors.disabled}
|
||||
|
||||
[module/brightness]
|
||||
type = internal/backlight
|
||||
card = amdgpu_bl0
|
||||
|
||||
format-prefix = "BRI "
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
format = <label>
|
||||
|
||||
label = %percentage%%
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
|
@ -34,6 +34,7 @@ Plug 'junegunn/fzf.vim'
|
||||
|
||||
" Theme and Syntax Highlighting
|
||||
Plug 'morhetz/gruvbox'
|
||||
Plug 's3rvac/vim-syntax-yara'
|
||||
call plug#end()
|
||||
|
||||
" Set colorscheme
|
||||
@ -44,6 +45,9 @@ colorscheme gruvbox
|
||||
set background=dark
|
||||
hi Normal guibg=NONE ctermbg=NONE
|
||||
|
||||
" Yara syntax highlighting
|
||||
autocmd BufNewFile,BufRead *.yar,*.yara setlocal filetype=yara
|
||||
|
||||
" FZF key bindings
|
||||
nnoremap <leader>ff <cmd>Files<cr>
|
||||
nnoremap <leader>fg <cmd>Rg<cr>
|
||||
|
@ -256,3 +256,4 @@ export fasttrack="/usr/share/seclists/Passwords/fasttrack.txt"
|
||||
|
||||
# Ease of use
|
||||
alias tryhackme="sudo openvpn ~/.tryhackme.ovpn"
|
||||
alias vim="nvim"
|
||||
|
Loading…
x
Reference in New Issue
Block a user