diff --git a/.config/newsboat/config b/.config/newsboat/config index 16d7c97..97fd6d7 100644 --- a/.config/newsboat/config +++ b/.config/newsboat/config @@ -1,7 +1,7 @@ auto-reload yes refresh-on-startup yes -reload-time 1 -notify-program "$HOME/.local/bin/notify-program" +reload-time 10 +notify-program "/home/yorune/.local/bin/notify-program" notify-always yes unbind-key o @@ -19,5 +19,5 @@ color listfocus_unread yellow default bold color info red black bold color article white default bold -browser "$HOME/.local/bin/browser-x -new-tab %u" +browser "/home/yorune/.local/bin/browser-x -new-tab %u" player mpv diff --git a/.local/bin/browser-x b/.local/bin/browser-x index 7c0cdc6..ec6f775 100755 --- a/.local/bin/browser-x +++ b/.local/bin/browser-x @@ -1,5 +1,5 @@ #!/bin/bash -#GDK_DPI_SCALE="1.3" firefox KERNEL=$(uname -sr) [[ $KERNEL =~ "Microsoft" ]] && $HOME/.brave.exe "$@" -[[ $KERNEL =~ "gentoo" ]] && brave-bin --force-device-scale-factor=1.2 "$@"& +[[ $KERNEL =~ "gentoo" ]] && GDK_DPI_SCALE="1.2" firefox "$@" + #brave-bin --force-device-scale-factor=1.2 "$@"& diff --git a/.local/bin/cleanertmp b/.local/bin/cleanertmp index 618c2a5..e09dd19 100755 --- a/.local/bin/cleanertmp +++ b/.local/bin/cleanertmp @@ -4,3 +4,4 @@ sudo rm -rf /var/tmp/genkernel/* sudo rm -rf /tmp/* sudo rm -rf /var/cache/genkernel/* sudo eclean-dist -d +sudo eclean-pkg -d diff --git a/.local/bin/notify-program b/.local/bin/notify-program index 84fd7e3..b8e4541 100755 --- a/.local/bin/notify-program +++ b/.local/bin/notify-program @@ -1,4 +1,4 @@ #!/bin/bash KERNEL=$(uname -sr) [[ $KERNEL =~ "Microsoft" ]] && $HOME/.local/bin/wsl-notify "$@" -[[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@" +[[ $KERNEL =~ "gentoo" ]] && echo "cos"> ~/coscso; /usr/bin/notify-send "$@" diff --git a/.local/bin/stream-youtube b/.local/bin/stream similarity index 100% rename from .local/bin/stream-youtube rename to .local/bin/stream diff --git a/.local/bin/stream-twitch b/.local/bin/stream-twitch deleted file mode 100755 index 93ceac6..0000000 --- a/.local/bin/stream-twitch +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -nohup streamlink -p mpv https://www.twitch.tv/$1 best > /dev/null 2>&1 & diff --git a/.xinitrc b/.xinitrc index 9a45828..0f57057 100644 --- a/.xinitrc +++ b/.xinitrc @@ -7,17 +7,19 @@ xset s off& xset -dpms& compton& feh --bg-fill $HOME/.wall.jpg & -redshift -l 53.2327:18.3036 -t 6500:3200& +#redshift -l 53.2327:18.3036 -t 6500:3200& nm-applet --sm-disable& sudo /root/.local/bin/protonvpn c -f& -#DISPLAY=:0 gkrellm& dunst -config& browser-x& password-manager& transmission-daemon& -/usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window 'htop'\; new-window -n MAIL 'neomutt'\; new-window -n IRC 'irssi'\; new-window -n NEWSBOAT 'newsboat'\; new-window -n MUSIC 'cmus'"& +/usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window 'htop'\; new-window -n MAIL 'neomutt'\; new-window -n NEWSBOAT 'newsboat -r '\; new-window -n MUSIC 'cmus'"& +#/usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window 'htop'\; new-window -n MAIL 'neomutt'\; new-window -n IRC 'irssi'\; new-window -n NEWSBOAT 'newsboat'\; new-window -n MUSIC 'cmus'"& (sleep 30 && getforecast)& -sudo /usr/bin/rdate -s -l ntp.task.gda.pl && sudo /sbin/hwclock --systohc +sudo /usr/bin/rdate -s ntp.task.gda.pl && sudo /sbin/hwclock --systohc /opt/MEGAcmd/mega-cmd-server --debug-full > /var/log/megacmd/megacmd.log& dwmstatusbar& exec dbus-launch dwm + + diff --git a/.zshrc b/.zshrc index 9cfaa39..cde8f29 100644 --- a/.zshrc +++ b/.zshrc @@ -22,7 +22,6 @@ source $HOME/Linux/configs/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh &> source $HOME/Linux/configs/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh &>> /dev/null [ ! -d $HOME/.config/fzf ] && git clone https://github.com/junegunn/fzf.git $HOME/.config/fzf [ -f $HOME/.config/fzf/shell/key-bindings.zsh ] && source $HOME/.config/fzf/shell/key-bindings.zsh -[ -f /etc/issue.logo ] && cat /etc/issue.logo [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh FPATH=/usr/local/share/zsh/site-functions:$FPATH xset s off -dpms &>> /dev/null