Added colorizing to some commands, flashocus conf

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2019-10-30 00:43:03 +02:00
parent 756bb23d61
commit ea9ef65ce1
4 changed files with 64 additions and 7 deletions

View file

@ -154,6 +154,9 @@ dotfiles:
f_nvimpager_init.vim:
src: .config/nvimpager/init.vim
dst: ~/.config/nvimpager/init.vim
f_flashfocus.yml:
src: .config/flashfocus/flashfocus.yml
dst: ~/.config/flashfocus/flashfocus.yml
profiles:
Media:
dotfiles:
@ -192,6 +195,7 @@ profiles:
- f_youtube-viewer.conf
- f_efm-langserver.yaml
- f_fonts.conf
- f_flashfocus.yml
include:
- Terminal
- Media

View file

@ -0,0 +1,8 @@
flash-opacity: 0.8
default-opacity: 1
time: 300
simple: false
ntimepoints: 10
flash-on-focus: true
flash-fullscreen: true
flash-lone-windows: 'always'

View file

@ -63,7 +63,7 @@ clean() {
SPACEBEFORE=$(eval "$DFCMD")
trash-empty 10
sudo journalctl --vacuum-size=500M
yay -Sc --noconfirm
yay -Sc
SPACEAFTER=$(eval "$DFCMD")
echo "Saved $(calc $SPACEAFTER - $SPACEBEFORE)G of space"
}
@ -136,7 +136,56 @@ tether() { adb shell su -c "service call connectivity 33 i32 1 s16 me" > /dev/nu
reflect() { sudo reflector --latest 200 --threads 8 --verbose --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist }
# better ls
ls() { ls_extended $@ }
ls() { lsd $@ }
# default icon for notify-send
notify-send() { /usr/bin/notify-send --icon=alarm $@ }
# colorise output
cvs() { grc cvs $@ }
df() { grc df $@ }
digg() { grc digg $@ }
gcc() { grc gcc $@ }
g++() { grc g++ $@ }
ifconfig() { grc ifconfig $@ }
make() { grc make $@ }
mount() { grc mount $@ }
mtr() { grc mtr $@ }
netstat() { grc mount $@ }
ping() { grc ping $@ }
ps() { grc ps $@ }
tail() { grc ping $@ }
traceroute() { grc traceroute $@ }
wdiff() { grc wdiff $@ }
blkid() { grc blkid $@ }
du() { grc du $@ }
dnf() { grc dnf $@ }
docker() { grc docker $@ }
docke-machine() { grc docker-machine $@ }
env() { grc env $@ }
id() { grc id $@ }
ip() { grc ip $@ }
iostat() { grc iostat $@ }
last() { grc last $@ }
lsattr() { grc lsattr $@ }
lsblk() { grc lsblk $@ }
lspci() { grc lspci $@ }
lsmod() { grc lsmod $@ }
lsof() { grc lsof $@ }
getfacl() { grc getfacl $@ }
getsebool() { grc getsebool $@ }
ulimit() { grc ulimit $@ }
uptime() { grc uptime $@ }
nmap() { grc nmap $@ }
fdisk() { grc fdisk $@ }
findmnt() { grc findmnt $@ }
free() { grc free $@ }
semanage() { grc semanage $@ }
sar() { grc sar $@ }
ss() { grc ss $@ }
sysctl() { grc sysctl $@ }
systemctl() { grc systemctl $@ }
stat() { grc stat $@ }
showmount() { grc showmount $@ }
tune2fs() { grc tune2fs $@ }
tcpdum() { grc tcpdum $@ }

View file

@ -10,11 +10,7 @@ QT_WAYLAND_DISABLE_WINDOWDECORATION=1
# Firefox
MOZ_ENABLE_WAYLAND=1
MOZ_USE_XINPUT2=1
# Webrender disabled temporarily until
# https://bugzilla.mozilla.org/show_bug.cgi?id=1589114
# is fixed
#MOZ_WEBRENDER=1
MOZ_WEBRENDER=1
# Fix redshift on wlroots
WLR_DRM_NO_ATOMIC=1