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 borderpx = 0; /* border pixel of windows */
static const unsigned int gappx = 0; /* gaps between windows */ static const unsigned int gappx = 0; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */ static const unsigned int snap = 32; /* snap pixel */
@ -24,6 +23,8 @@ static const char *colors[][3] = {
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static const Rule rules[] = { static const Rule rules[] = {
{ "Gimp", NULL, NULL, 0, True, -1 },
{ "pulsemixer", NULL, NULL, 0, True, -1 },
{ "qutebrowser", NULL, NULL, 1 << 1, False, 0 }, { "qutebrowser", NULL, NULL, 1 << 1, False, 0 },
{ "Firefox", NULL, NULL, 1 << 1, False, 0 }, { "Firefox", NULL, NULL, 1 << 1, False, 0 },
{ "Thunderbird", NULL, NULL, 1 << 2, False, 0 }, { "Thunderbird", NULL, NULL, 1 << 2, False, 0 },

View File

@ -1,22 +1,17 @@
#!/bin/bash #!/bin/bash
#
# Last update: 02-02-2020
#
xset s off -dpms& xset s off -dpms&
xset b off& xset b off&
xset s off& xset s off&
xset -dpms& xset -dpms&
compton& compton&
feh --bg-fill $HOME/.wall.jpg & 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& 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 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'"& /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& firefox&
export QT_SCALE_FACTOR=1; qutebrowser& #export QT_SCALE_FACTOR=1; qutebrowser&
thunderbird-bin& thunderbird&
sudo keepassxc& sudo keepassxc&
#megasync& #megasync&
dunst -config& dunst -config&
@ -24,7 +19,7 @@ dunst -config&
transmission-daemon& transmission-daemon&
#teamviewer& #teamviewer&
#pl& #pl&
(sleep 30 && getforecast)& #(sleep 30 && getforecast)&
sudo /usr/bin/rdate -s -l ntp.task.gda.pl && sudo /sbin/hwclock --systohc 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& /opt/MEGAcmd/mega-cmd-server --debug-full > /var/log/megacmd/megacmd.log&
@ -160,7 +155,8 @@ esac
while true while true
do 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)" #xsetroot -name "$(print_wifi) | $(batLevel) | $(print_volume) | $(print_date)"
sleep 2 sleep 2
done done