1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Compare commits

...

5 Commits

Author SHA1 Message Date
0ff266f257
picom: Disable vsync
This improves window resize and move performance and general
responsiveness a considerable amount on the laptop Intel iGPU.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-07-31 00:10:48 +00:00
d6f2800ddd
fontconfig: disable hinting on sans-serif fonts
Hinting apparently makes Chrom{e,ium}/Electron display fonts horribly,
whilst everything else ever is fine with it on.
Re-organise and tidy up fontconfig slightly.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-07-31 00:08:58 +00:00
524e5132ba
environment: add ~/.local/bin to $PATH
Python's pip amongst other things likes to put binaries in here.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-07-31 00:08:02 +00:00
dde4e776f5
aliases: git: add gbrl branch-list with fzf alias
Very useful for previewing each branch in an interactive manner.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-07-31 00:06:05 +00:00
1bd8081663
aliases: git: attempt to elide merge commits in glg
In theory this should give a much cleaner commit log without all of the
noise from merge commits in poorly maintained repos.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-07-31 00:04:30 +00:00
4 changed files with 26 additions and 11 deletions

View File

@ -160,14 +160,15 @@ alias gd="git diff --patch-with-stat"
alias gdni="gd --no-index" alias gdni="gd --no-index"
alias gds="gd --staged" alias gds="gd --staged"
alias gsh="git show --format=fuller --patch-with-stat" alias gsh="git show --format=fuller --patch-with-stat"
alias glg="git log --color --format=fuller --stat" alias glg="git log --color --format=fuller --stat --no-merges --graph"
alias glgp="git log --color --format=fuller --patch-with-stat" alias glgp="git log --color --format=fuller --patch-with-stat --no-merges --graph"
alias glog="git log --color --oneline --decorate --graph" alias glog="git log --color --oneline --decorate --graph"
alias grst="git reset" alias grst="git reset"
alias gundo="git reset --keep @~1" alias gundo="git reset --keep @~1"
alias gclean="git clean" alias gclean="git clean"
alias gbr="git branch" alias gbr="git branch"
alias gbrl="git for-each-ref --sort=committerdate refs/heads/ --format=\"%(refname:short)\" | fzf -x --ansi --multi --preview-window=right:70% --preview=\"git log --format=fuller --stat --color=always {} | head -n\$((\$(tput lines)*10))\""
alias gtg="git tag" alias gtg="git tag"
alias gbl="git blame" alias gbl="git blame"
alias gr="git remote" alias gr="git remote"

View File

@ -9,6 +9,6 @@ XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
EDITOR="vim" EDITOR="vim"
VISUAL="vim" VISUAL="vim"
PATH="${PATH}:/sbin:/usr/sbin:${XDG_CONFIG_HOME}/scripts" PATH="${PATH}:/sbin:/usr/sbin:${HOME}/.local/bin:${XDG_CONFIG_HOME}/scripts"
# vim: ft=sh # vim: ft=sh

View File

@ -8,7 +8,11 @@
<string>Noto Color Emoji</string> <string>Noto Color Emoji</string>
<string>FontAwesome 5 Pro Light</string> <string>FontAwesome 5 Pro Light</string>
</edit> </edit>
<edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
<edit mode="assign" name="hinting"><bool>false</bool></edit>
</match> </match>
<match> <match>
<test qual="any" name="family"><string>serif</string></test> <test qual="any" name="family"><string>serif</string></test>
<edit name="family" mode="prepend" binding="strong"> <edit name="family" mode="prepend" binding="strong">
@ -17,6 +21,7 @@
<string>FontAwesome 5 Pro Light</string> <string>FontAwesome 5 Pro Light</string>
</edit> </edit>
</match> </match>
<match> <match>
<test qual="any" name="family"><string>monospace</string></test> <test qual="any" name="family"><string>monospace</string></test>
<edit name="family" mode="prepend" binding="strong"> <edit name="family" mode="prepend" binding="strong">
@ -25,6 +30,20 @@
<string>FontAwesome 5 Pro Light</string> <string>FontAwesome 5 Pro Light</string>
</edit> </edit>
</match> </match>
<match>
<test qual="all" name="family" compare="eq"><string>Noto Sans</string></test>
<edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
</match>
<match>
<test qual="all" name="family" compare="eq"><string>Source Code Pro</string></test>
<edit name="antialias" mode="assign_replace"><bool>false</bool></edit>
<edit name="hintstyle" mode="assign_replace"><const>hintfull</const></edit>
<edit name="lcdfilter" mode="assign_replace"><const>lcddefault</const></edit>
<edit name="rgba" mode="assign_replace"><const>rgb</const></edit>
</match>
<alias> <alias>
<family>SF Mono</family> <family>SF Mono</family>
<accept> <accept>
@ -32,13 +51,8 @@
</accept> </accept>
</alias> </alias>
<match target="font"> <match>
<test qual="all" name="family" compare="eq"><string>Noto Sans</string></test> <edit name="antialias" mode="assign"><bool>true</bool></edit>
<edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
</match>
<match target="font">
<test qual="all" name="family" compare="eq"><string>Source Code Pro</string></test>
<edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit> <edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
<edit name="rgba" mode="assign"><const>rgb</const></edit> <edit name="rgba" mode="assign"><const>rgb</const></edit>
</match> </match>

View File

@ -72,7 +72,7 @@ use-ewmh-active-win = true;
detect-rounded-corners = true; detect-rounded-corners = true;
detect-client-opacity = true; detect-client-opacity = true;
refresh-rate = 0; refresh-rate = 0;
vsync = true; # vsync = true;
# sw-opti = true; # sw-opti = true;
# unredir-if-possible = true; # unredir-if-possible = true;
# unredir-if-possible-delay = 5000; # unredir-if-possible-delay = 5000;