Update 2022-01-13

This commit is contained in:
fanyx 2022-01-13 14:11:59 +01:00
parent c51169b2ee
commit 12b550638a
6 changed files with 73 additions and 71 deletions

6
.alias
View File

@ -6,7 +6,7 @@ alias ld="ll -d"
alias la="ll -a" alias la="ll -a"
# applications # applications
alias code="codium" alias code="code-oss"
# git # git
alias gs="git status --short" alias gs="git status --short"
@ -24,3 +24,7 @@ complete -F __start_kubectl k
which kubectx kubens &>/dev/null && \ which kubectx kubens &>/dev/null && \
alias kx="kubectx" && \ alias kx="kubectx" && \
alias kn="kubens" alias kn="kubens"
# top
alias top="htop"
alias btop="bpytop"

View File

@ -1,6 +1,7 @@
#! /bin/bash #! /bin/bash
[ -z "$WALLPAPER" ] && export WALLPAPER="/mnt/win/d/Nextcloud/Pictures/Wallpapers/365242.jpg" # [ -z "$WALLPAPER" ] &&
export WALLPAPER="/mnt/win/d/Sync/Pictures/Public/Wallpapers/365242.jpg"
pgrep -x sxhkd > /dev/null || sxhkd & pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x redshift > /dev/null || redshift & pgrep -x redshift > /dev/null || redshift &
@ -14,7 +15,7 @@ xrdb -merge "$HOME/.cache/wal/colors.Xresources"
setxkbmap -model evdev -layout us -variant altgr-intl setxkbmap -model evdev -layout us -variant altgr-intl
bspc monitor DP-4 -d I II III IV V bspc monitor DP-4 -d I II III IV V
bspc monitor HDMI-0 -d VI VII VIII IX X bspc monitor DP-2 -d VI VII VIII IX X
bspc config border_width 2 bspc config border_width 2
bspc config window_gap 12 bspc config window_gap 12
@ -23,26 +24,23 @@ bspc config split_ratio 0.5
bspc config borderless_monocle true bspc config borderless_monocle true
bspc config gapless_monocle true bspc config gapless_monocle true
# Default to float # -------------------------------------------------------- Rules
#
#---------------------------------------------- Default to float
bspc rule -a \* state=floating bspc rule -a \* state=floating
# #---------------------------------------------- Terminal / Kitty
# Define rules for all other windows
#
# Terminal / Kitty
bspc rule -a kitty state=tiled bspc rule -a kitty state=tiled
# Firefox #------------------------------------------------------- Firefox
bspc rule -a Firefox state=tiled bspc rule -a Firefox state=tiled
bspc rule -a "Firefox:Save Image" state=floating bspc rule -a Firefox:*:"Save Image" state=floating
# Discord => Workspace 7 # --------------------------------------- Discord => Workspace 7
bspc rule -a discord state=tiled desktop=VII bspc rule -a discord follow=on state=tiled desktop=VII
# Steam => Workspace 4 # ----------------------------------------- Steam => Workspace 4
bspc rule -a Steam follow=on state=tiled desktop=IV
bspc rule -a Steam state=tiled desktop=IV # ------------------------------------------- sxiv => Fullscreen
# sxiv => Fullscreen
bspc rule -a Sxiv state=fullscreen bspc rule -a Sxiv state=fullscreen

View File

@ -1,53 +1,50 @@
<?xml version="1.0"?> <?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig> <fontconfig>
<dir prefix="xdg">fonts</dir>
<dir prefix="xdg">fonts</dir> <match target="pattern">
<match target="pattern">
<test name="family" qual="any"> <test name="family" qual="any">
<string>monospace</string> <string>monospace</string>
</test> </test>
<edit binding="strong" mode="prepend" name="family"> <edit name="family" mode="prepend" binding="strong">
<string>JetBrains Mono</string> <string>JetBrains Mono</string>
</edit> </edit>
</match> </match>
<match> <match>
<test name="family" qual="any"> <test name="family" qual="any">
<string>regular</string> <string>regular</string>
</test> </test>
<edit binding="strong" mode="prepend" name="family"> <edit name="family" mode="prepend" binding="strong">
<string>FOT-RodinBokutoh Pro</string> <string>FOT-RodinBokutoh Pro</string>
</edit> </edit>
</match> </match>
<match> <match>
<test name="family" qual="any"> <test name="family" qual="any">
<string>sans-serif</string> <string>sans-serif</string>
</test> </test>
<edit binding="strong" mode="prepend" name="family"> <edit name="family" mode="prepend" binding="strong">
<string>FOT-RodinBokutoh Pro</string> <string>FOT-RodinBokutoh Pro</string>
</edit> </edit>
</match> </match>
<match> <match>
<test name="family" qual="any"> <test name="family" qual="any">
<string>serif</string> <string>serif</string>
</test> </test>
<edit binding="strong" mode="prepend" name="family"> <edit name="family" mode="prepend" binding="strong">
<string>FOT-RodinBokutoh Pro</string> <string>FOT-RodinBokutoh Pro</string>
</edit> </edit>
</match> </match>
<alias>
<alias>
<family>Helvetica</family> <family>Helvetica</family>
<prefer> <prefer>
<family>FOT-RodinBokutoh Pro</family> <family>FOT-RodinBokutoh Pro</family>
</prefer> </prefer>
</alias> </alias>
<alias> <alias>
<family>Liberation Mono</family> <family>Liberation Mono</family>
<prefer> <prefer>
<family>JetBrains Mono</family> <family>JetBrains Mono</family>
</prefer> </prefer>
</alias> </alias>
<dir>~/.fonts</dir>
</fontconfig> </fontconfig>

View File

@ -19,7 +19,7 @@ super + alt + {q,r}
bspc {quit,wm -r} bspc {quit,wm -r}
# close and kill # close and kill
super + {_,shift + }w super + shift + {w,q}
bspc node -{c,k} bspc node -{c,k}
# alternate between the tiled and monocle layout # alternate between the tiled and monocle layout

View File

@ -24,7 +24,7 @@ alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump" alias "-jumpthrow" "-jump"
bind "v" "+jumpthrow" bind "v" "+jumpthrow"
// mouse binds - dont ask... im gonna rebind eventualyl // mouse binds - dont ask... im gonna rebind eventually
bind "SCROLLLOCK" "+voicerecord" bind "SCROLLLOCK" "+voicerecord"
bindToggle "INS" voice_enable 0 1 bindToggle "INS" voice_enable 0 1
@ -50,7 +50,7 @@ cl_hud_playercount_showcount "1"
hud_scaling "1" hud_scaling "1"
// volume setings // volume setings
volume 0.4 volume 0.65
snd_menumusic_volume 0 snd_menumusic_volume 0
snd_mvp_volume 0 snd_mvp_volume 0

View File

@ -7,6 +7,8 @@
# If not running interactively, don't do anything # If not running interactively, don't do anything
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
cd
PATH=~/.local/bin:$PATH PATH=~/.local/bin:$PATH
################################# #################################
@ -56,3 +58,4 @@ export XBPS_DISTDIR="/home/hendrik/git/void-packages"
export SVDIR="/home/hendrik/sv" export SVDIR="/home/hendrik/sv"
export HOME="/home/hendrik" export HOME="/home/hendrik"
export EDITOR="vim" export EDITOR="vim"