Stuff
This commit is contained in:
parent
f9849dfcfa
commit
84967eac60
27 changed files with 180 additions and 25 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -19,6 +19,6 @@ if [ "$TERM" = "linux" ]; then
|
|||
\e]PFcfd0c2
|
||||
"
|
||||
# get rid of artifacts
|
||||
clear
|
||||
# clear
|
||||
fi
|
||||
|
||||
|
|
1
config/llpp.conf
Normal file
1
config/llpp.conf
Normal file
|
@ -0,0 +1 @@
|
|||
savepath-command='echo %s'
|
|
@ -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
|
||||
|
|
1
config/systemd/user/default.target.wants/psd.service
Symbolic link
1
config/systemd/user/default.target.wants/psd.service
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/user/psd.service
|
10
config/systemd/user/ipfs.service
Normal file
10
config/systemd/user/ipfs.service
Normal 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
|
1
config/systemd/user/sockets.target.wants/urxvtd.socket
Symbolic link
1
config/systemd/user/sockets.target.wants/urxvtd.socket
Symbolic link
|
@ -0,0 +1 @@
|
|||
/home/geoffrey/.config/systemd/user/urxvtd.socket
|
10
config/systemd/user/urxvtd.service
Normal file
10
config/systemd/user/urxvtd.service
Normal 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
|
9
config/systemd/user/urxvtd.socket
Normal file
9
config/systemd/user/urxvtd.socket
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue