Update Vim, NZXT wifi i3block
This commit is contained in:
@@ -103,6 +103,7 @@ abbr shrm "shred-rm"
|
||||
abbr thes "thesaurus"
|
||||
abbr ut "unix-timestamp"
|
||||
abbr uzr "unzip-rm"
|
||||
abbr vsnp "vim-snippet"
|
||||
abbr fvft "find-vim-filetype"
|
||||
|
||||
# ]]] fxn abbr's #
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
function vsnp
|
||||
function vim-snippet
|
||||
set snips_dir "/home/kevin/.vim/plugged/vim-snippets/UltiSnips"
|
||||
$EDITOR $snips_dir/$argv[1].snippets
|
||||
end
|
||||
@@ -1,15 +1,19 @@
|
||||
# startup [[[ #
|
||||
|
||||
set $term urxvt
|
||||
set $term_alt st
|
||||
# set $term st
|
||||
# set $term_alt urxvt
|
||||
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
||||
exec dunst
|
||||
exec compton
|
||||
exec imwheel
|
||||
exec numlockx on
|
||||
xec numlockx on
|
||||
exec xbacklight -set 10
|
||||
# exec wal -i "$(/home/kevin/scripts/shuffler \"/home/kevin/Pictures/Backgrounds/dim/non-editing\")"
|
||||
exec wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing")
|
||||
{{ end }}
|
||||
exec --no-startup-id i3-msg 'workspace $ws2; exec $term'
|
||||
# exec --no-startup-id i3-msg 'workspace $ws2; exec $term'
|
||||
exec --no-startup-id i3-msg 'workspace $ws3; exec $browser'
|
||||
|
||||
# ]]] startup #
|
||||
@@ -19,10 +23,6 @@ exec --no-startup-id i3-msg 'workspace $ws3; exec $browser'
|
||||
set $mod Mod1
|
||||
set $browser "firefox"
|
||||
# set $browser "chromium"
|
||||
# set $term st
|
||||
# set $term_alt urxvt
|
||||
set $term urxvt
|
||||
set $term_alt st
|
||||
set $scripts_path "/home/kevin/scripts"
|
||||
set $sch_dir "$HOME/Documents/School"
|
||||
|
||||
|
||||
@@ -68,6 +68,11 @@ WIDTH=220
|
||||
# sys.monitoring [[[ #
|
||||
|
||||
{{ if eq .chezmoi.fullHostname "nzxt" }}
|
||||
[wifi]
|
||||
label=
|
||||
instance=wlp4s0
|
||||
interval=10
|
||||
|
||||
[temperature]
|
||||
label=
|
||||
interval=5
|
||||
|
||||
@@ -29,7 +29,7 @@ INTERFACE="${BLOCK_INSTANCE:-wlan0}"
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
QUALITY=$(grep $INTERFACE /proc/net/wireless | awk '{ print int($3 * 100 / 70) }')
|
||||
QUALITY=$(sudo grep $INTERFACE /proc/net/wireless | awk '{ print int($3 * 100 / 70) }')
|
||||
# echo $QUALITY
|
||||
W_inter=$(ip link | grep "[1-9]: wlp" | cut -d " " -f2 | tr -d ':')
|
||||
W_name=$(nmcli d | grep "$W_inter" | awk '{print $4}')
|
||||
|
||||
3
dot_config/mpv/mpv.conf
Normal file
3
dot_config/mpv/mpv.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
sub-auto=fuzzy
|
||||
ytdl-format=best
|
||||
ytdl-raw-options=sub-format=en,write-srt=
|
||||
Reference in New Issue
Block a user