From b7c684313512c04fa7199a979764a4a22496ccc9 Mon Sep 17 00:00:00 2001 From: TiynGER Date: Thu, 28 May 2020 01:54:46 +0200 Subject: [PATCH] switching to dwmblocks --- .config/sxhkd/sxhkdrc | 8 ++++---- .config/xorg/xprofile | 2 +- .local/bin/tools/statusbar/dwmbar | 13 ------------- .local/bin/tools/statusbar/refbar | 6 ------ .profile | 1 + 5 files changed, 6 insertions(+), 24 deletions(-) delete mode 100755 .local/bin/tools/statusbar/dwmbar delete mode 100755 .local/bin/tools/statusbar/refbar diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 51ef04d..a19e88f 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -33,13 +33,13 @@ super + F12 XF86Launch1 xset dpms force off XF86AudioMute - lmc m && refbar + lmc m && pkill -RTMIN+4 $STATUSBAR XF86AudioMicMute - pactl set-source-mute 1 toggle && refbar + pactl set-source-mute 1 toggle && pkill -RTMIN+4 $STATUSBAR XF86AudioLowerVolume - lmc down 5 && refbar + lmc down 5 && pkill -RTMIN+4 $STATUSBAR XF86AudioRaiseVolume - lmc up 5 && refbar + lmc up 5 && pkill -RTMIN+4 $STATUSBAR XF86MonBrightnessDown light -U 15 XF86MonBrightnessUp diff --git a/.config/xorg/xprofile b/.config/xorg/xprofile index a0a669c..642ac3c 100644 --- a/.config/xorg/xprofile +++ b/.config/xorg/xprofile @@ -7,6 +7,6 @@ dunst & # dunst for notifications redshift & # redshift for saving your eyes mpd & # starts the mpd server for music toggletouchpad & # deactivates the touchpad +$STATUSBAR & owncloud & -dwmbar & sxhkd & diff --git a/.local/bin/tools/statusbar/dwmbar b/.local/bin/tools/statusbar/dwmbar deleted file mode 100755 index d19262d..0000000 --- a/.local/bin/tools/statusbar/dwmbar +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# inspired by by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice - -status() { \ - echo "$(memory)|$(cpu)|$(disk /)|$(volume)|$(battery BAT0)|$(internet)|$(clock)" -} -while :; do - xsetroot -name "$(status | tr '\n' ' ')" - - sleep 1m -done - diff --git a/.local/bin/tools/statusbar/refbar b/.local/bin/tools/statusbar/refbar deleted file mode 100755 index 4f2cbb2..0000000 --- a/.local/bin/tools/statusbar/refbar +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# Refresh the dwmbar. -# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice - -kill "$(pstree -lp | grep -- -dwmbar\([0-9] | sed "s/.*sleep(\([0-9]\+\)).*/\1/")" diff --git a/.profile b/.profile index 38945fc..46b13d9 100644 --- a/.profile +++ b/.profile @@ -10,6 +10,7 @@ export EDITOR="nvim" export FILE="vifmrun" export IMAGE="sxiv" export READER="zathura" +export STATUSBAR="dwmblocks" export TERMINAL="st" export QT_QPA_PLATFORMTHEME="qt5ct" export WINEPREFIX="$HOME/.wine"