This commit is contained in:
Marcin Woźniak 2020-03-20 13:28:24 +01:00 committed by Marcin Wozniak
parent f5bd0f992c
commit 891fda9d5f
2 changed files with 14 additions and 17 deletions

View File

@ -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 },

View File

@ -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