[~] Refactor
This commit is contained in:
parent
46e16a5441
commit
64fdde31e4
1
d1/f1.sh
1
d1/f1.sh
@ -3,3 +3,4 @@
|
||||
cp dotfiles/.local/bin/commands ~/.local/bin/commands
|
||||
mkdir -p ~/.sway
|
||||
cp dotfiles/.sway/config ~/.sway/config
|
||||
cp dotfiles/.zshenv ~/.zshenv
|
||||
|
@ -508,6 +508,22 @@ try:
|
||||
ip_addr=sys.argv[2],
|
||||
ethernet_device=sys.argv[3],
|
||||
)
|
||||
elif sys.argv[1] == 'desktop-services':
|
||||
t1 = []
|
||||
try:
|
||||
t1.append(
|
||||
subprocess.Popen(['ibus-daemon'])
|
||||
)
|
||||
for o in t1:
|
||||
t1.wait()
|
||||
finally:
|
||||
for o in t1:
|
||||
try:
|
||||
t1.terminate(timeout=10)
|
||||
except:
|
||||
logging.error('killed %s' % str(t1.__dict__))
|
||||
t1.kill()
|
||||
|
||||
else:
|
||||
raise NotImplementedError
|
||||
except:
|
||||
|
@ -1,2 +1,5 @@
|
||||
export EDITOR=vim
|
||||
export PATH=~/.local/bin:$PATH
|
||||
export GTK_IM_MODULE=ibus
|
||||
export XMODIFIERS=@im=ibus
|
||||
export QT_IM_MODULE=ibus
|
||||
|
Loading…
Reference in New Issue
Block a user