From 891fda9d5fc7e5904cb5e6f43d230b9064dc06c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Fri, 20 Mar 2020 13:28:24 +0100 Subject: [PATCH] Updated --- config.h | 13 +++++++------ dwm_status | 18 +++++++----------- 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/config.h b/config.h index b1df6cf..119483a 100644 --- a/config.h +++ b/config.h @@ -1,4 +1,3 @@ -/* Last Update: 25-01-2020 */ static const unsigned int borderpx = 0; /* border pixel of windows */ static const unsigned int gappx = 0; /* gaps between windows */ static const unsigned int snap = 32; /* snap pixel */ @@ -24,14 +23,16 @@ static const char *colors[][3] = { static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; static const Rule rules[] = { - { "qutebrowser", NULL, NULL, 1 << 1, False, 0 }, + { "Gimp", NULL, NULL, 0, True, -1 }, + { "pulsemixer", NULL, NULL, 0, True, -1 }, + { "qutebrowser", NULL, NULL, 1 << 1, False, 0 }, { "Firefox", NULL, NULL, 1 << 1, False, 0 }, { "Thunderbird", NULL, NULL, 1 << 2, False, 0 }, { "Steam", NULL, NULL, 1 << 3, False, 0 }, - { "Lutris", NULL, NULL, 1 << 3, False, 0 }, - { "League of Legends", NULL, NULL, 1 << 3, True, 0 }, - { "TeamSpeak 3", NULL, NULL, 1 << 3, False, 0 }, - { "discord", NULL, NULL, 1 << 4, False, 0 }, + { "Lutris", NULL, NULL, 1 << 3, False, 0 }, + { "League of Legends", NULL, NULL, 1 << 3, True, 0 }, + { "TeamSpeak 3", NULL, NULL, 1 << 3, False, 0 }, + { "discord", NULL, NULL, 1 << 4, False, 0 }, { "KeePassXC", NULL, NULL, 1 << 7, False, 0 }, { "TeamViewer", NULL, NULL, 1 << 8, False, 0 }, { "obs", NULL, NULL, 1 << 8, False, 0 }, diff --git a/dwm_status b/dwm_status index 9ace4f3..4e4fedd 100755 --- a/dwm_status +++ b/dwm_status @@ -1,22 +1,17 @@ #!/bin/bash - -# -# Last update: 02-02-2020 -# - xset s off -dpms& xset b off& xset s off& xset -dpms& compton& feh --bg-fill $HOME/.wall.jpg & -redshift -l 52.2327:18.3036 -t 6500:3200& +#redshift -l 52.2327:18.3036 -t 6500:3200& nm-applet --sm-disable& #/usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window -h \; split-window 'htop'\; new-window -n IRC 'irssi'\; new-window -n MUSIC 'cmus'"& /usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window -h \; split-window 'htop'\; new-window -n MUSIC 'cmus'"& -#firefox& -export QT_SCALE_FACTOR=1; qutebrowser& -thunderbird-bin& +firefox& +#export QT_SCALE_FACTOR=1; qutebrowser& +thunderbird& sudo keepassxc& #megasync& dunst -config& @@ -24,7 +19,7 @@ dunst -config& transmission-daemon& #teamviewer& #pl& -(sleep 30 && getforecast)& +#(sleep 30 && getforecast)& sudo /usr/bin/rdate -s -l ntp.task.gda.pl && sudo /sbin/hwclock --systohc /opt/MEGAcmd/mega-cmd-server --debug-full > /var/log/megacmd/megacmd.log& @@ -160,7 +155,8 @@ esac while true do - xsetroot -name "$(print_temp) | $(usageData) | $(print_wifi) | $(testweather) | $(batLevel) | $(print_volume) | $(print_date)" + xsetroot -name "$(print_temp) | $(print_wifi) | $(batLevel) | $(print_volume) | $(print_date)" + #xsetroot -name "$(print_temp) | $(usageData) | $(print_wifi) | $(testweather) | $(batLevel) | $(print_volume) | $(print_date)" #xsetroot -name "$(print_wifi) | $(batLevel) | $(print_volume) | $(print_date)" sleep 2 done