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"
# applications
alias code="codium"
alias code="code-oss"
# git
alias gs="git status --short"
@ -24,3 +24,7 @@ complete -F __start_kubectl k
which kubectx kubens &>/dev/null && \
alias kx="kubectx" && \
alias kn="kubens"
# top
alias top="htop"
alias btop="bpytop"

View File

@ -1,6 +1,7 @@
#! /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 redshift > /dev/null || redshift &
@ -14,7 +15,7 @@ xrdb -merge "$HOME/.cache/wal/colors.Xresources"
setxkbmap -model evdev -layout us -variant altgr-intl
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 window_gap 12
@ -23,26 +24,23 @@ bspc config split_ratio 0.5
bspc config borderless_monocle true
bspc config gapless_monocle true
# Default to float
# -------------------------------------------------------- Rules
#
#---------------------------------------------- Default to float
bspc rule -a \* state=floating
#
# Define rules for all other windows
#
# Terminal / Kitty
#---------------------------------------------- Terminal / Kitty
bspc rule -a kitty state=tiled
# Firefox
#------------------------------------------------------- Firefox
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
bspc rule -a discord state=tiled desktop=VII
# --------------------------------------- Discord => Workspace 7
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

View File

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

View File

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

View File

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

View File

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