This commit is contained in:
Geoffrey Frogeye 2018-11-24 13:45:14 +01:00
parent f9849dfcfa
commit 84967eac60
27 changed files with 180 additions and 25 deletions

View file

@ -74,7 +74,7 @@ bindsym Print exec scrot -ue 'mv $f ~/Screenshots/'
bindsym $mod+Print exec scrot -e 'mv $f ~/Screenshots/'
bindsym Ctrl+Print exec sleep 1 && scrot -se 'mv $f ~/Screenshots/'
focus_follows_mouse yes
focus_follows_mouse no
mouse_warping output
# change focus

View file

@ -44,8 +44,8 @@ def randomColor(seed=0):
class TimeProvider(StatefulSection, PeriodicUpdater):
FORMATS = ["%H:%M",
"%d/%m %H:%M:%S",
"%a %d/%m/%y %H:%M:%S"]
"%m-%d %H:%M:%S",
"%a %y-%m-%d %H:%M:%S"]
NUMBER_STATES = len(FORMATS)
DEFAULT_STATE = 1
@ -666,11 +666,20 @@ class I3WorkspacesProviderSection(Section):
self.parent = parent
self.setName(name)
self.setDecorators(clickLeft=self.switchTo)
self.tempText = None
def empty(self):
self.updateTheme(self.parent.themeNormal)
self.updateText(None)
def tempShow(self):
self.updateText(self.tempText)
def tempEmpty(self):
self.tempText = self.dstText[1]
self.updateText(None)
class I3WorkspacesProvider(Section, I3Updater):
# TODO FEAT Multi-screen
@ -735,11 +744,11 @@ class I3WorkspacesProvider(Section, I3Updater):
if e.change == 'default':
self.modeSection.updateText(None)
for section in self.sections.values():
section.show()
section.tempShow()
else:
self.modeSection.updateText(e.change)
for section in self.sections.values():
section.empty()
section.tempEmpty()
def __init__(self, theme=0, themeFocus=3, themeUrgent=1, themeMode=2, customNames=dict()):
I3Updater.__init__(self)

View file

@ -19,6 +19,6 @@ if [ "$TERM" = "linux" ]; then
\e]PFcfd0c2
"
# get rid of artifacts
clear
# clear
fi

1
config/llpp.conf Normal file
View file

@ -0,0 +1 @@
savepath-command='echo %s'

View file

@ -93,7 +93,7 @@ sticker_file "~/.cache/mpd/sticker.sql"
# argument is recommended for troubleshooting, though can quickly stretch
# available resources on limited hardware storage.
#
log_level "verbose"
log_level "default"
#
# If you have a problem with your MP3s ending abruptly it is recommended that
# you set this argument to "no" to attempt to fix the problem. If this solves

View file

@ -0,0 +1 @@
/usr/lib/systemd/user/psd.service

View file

@ -0,0 +1,10 @@
[Unit]
Description=IPFS daemon
After=network.target
[Service]
ExecStart=/usr/bin/ipfs daemon
Restart=on-failure
[Install]
WantedBy=default.target

View file

@ -0,0 +1 @@
/home/geoffrey/.config/systemd/user/urxvtd.socket

View file

@ -0,0 +1,10 @@
[Unit]
Description=Urxvt Terminal Daemon
Requires=urxvtd.socket
[Service]
ExecStart=/usr/bin/urxvtd -o -q
Environment=RXVT_SOCKET=%t/urxvtd-%H
[Install]
WantedBy=default.target

View file

@ -0,0 +1,9 @@
[Unit]
Description=urxvt daemon (socket activation)
Documentation=man:urxvtd(1) man:urxvt(1)
[Socket]
ListenStream=%t/urxvtd-%H
[Install]
WantedBy=sockets.target