1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-22 03:53:43 +00:00

[i3] Added calendar to date

This commit is contained in:
Przemysław Grondek 2019-11-07 09:55:58 +01:00
parent b5bc5eaec7
commit ca8b969484
3 changed files with 12 additions and 2 deletions

View File

@ -7,7 +7,8 @@ REQUIRED_BINS=\
/usr/bin/compton \
/usr/bin/numlockx \
/usr/bin/gedit \
/usr/lib/policykit-1/polkit-gnome-authentication-agent-1
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 \
/usr/bin/gsimplecal
PACKAGES=\
i3 \
@ -18,7 +19,8 @@ PACKAGES=\
numlockx \
gedit \
xautolock \
policykit-1-gnome
policykit-1-gnome \
gsimplecal
I3_CONFIG=config
I3_CONFIG_OUT=$(HOME)/.config/i3/config

View File

@ -242,3 +242,4 @@ for_window [class="Steam" title="Friends List"] floating enable
for_window [class="Steam" title="^Steam - News.+"] floating enable
for_window [class="Steam" title="Steam - Self Updater"] floating enable
for_window [class="org.remmina.Remmina"] border pixel 0
for_window [class="Gsimplecal"] floating enable, move position mouse, move down 25 px

View File

@ -3,3 +3,10 @@
FORMAT=+%Y.%m.%d\ %H:%M
date "$FORMAT"
case $BLOCK_BUTTON in
1) gsimplecal ;; # left click?
3) ;; # right click
4) ;; # scroll up
5) ;; # scroll down
esac