diff --git a/config-home.yaml b/config-home.yaml index 35cf16f..a65f61a 100644 --- a/config-home.yaml +++ b/config-home.yaml @@ -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 diff --git a/home/.config/flashfocus/flashfocus.yml b/home/.config/flashfocus/flashfocus.yml new file mode 100644 index 0000000..7708f4f --- /dev/null +++ b/home/.config/flashfocus/flashfocus.yml @@ -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' diff --git a/home/.config/zsh/03-functions.zsh b/home/.config/zsh/03-functions.zsh index 0ebd31d..25f9f40 100644 --- a/home/.config/zsh/03-functions.zsh +++ b/home/.config/zsh/03-functions.zsh @@ -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 $@ } diff --git a/root/etc/environment b/root/etc/environment index 61139da..961ca08 100755 --- a/root/etc/environment +++ b/root/etc/environment @@ -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