Tweak openbox settings to Void Linux

This commit is contained in:
coolneng 2019-08-27 01:10:43 +02:00
parent b4d939a006
commit af25ee6534
4 changed files with 22 additions and 11 deletions

View File

@ -3,7 +3,7 @@ setxkbmap -layout es &
## Start compositor ## Start compositor
compton -cCb --config ~/.config/compton.conf & compton -cCb --config ~/.config/compton.conf &
#
## Set background image ## Set background image
nitrogen --restore & nitrogen --restore &
@ -33,15 +33,21 @@ urxvtd -q -f -o &
(sleep 2; bash -c "secret-tool lookup 'keepass' 'login' | keepassxc --pw-stdin ~/Nextcloud/Documents/IT/MDP.kbdx") & (sleep 2; bash -c "secret-tool lookup 'keepass' 'login' | keepassxc --pw-stdin ~/Nextcloud/Documents/IT/MDP.kbdx") &
## GPG ## GPG
(sleep 3; bash -c "secret-tool lookup 'gpg' 'login' | gpg --no-tty --pinentry-mode loopback --passphrase-fd 0 -d ~/.password-store/mail/uni.gpg") & #(sleep 3; bash -c "secret-tool lookup 'gpg' 'login' | gpg2 --no-tty --pinentry-mode loopback --passphrase-fd 0 -d ~/.password-store/mail/uni.gpg") &
## Spacemacs daemon ## Spacemacs daemon
(sleep 4; cd ~/.emacs.d; git pull --rebase) & (sleep 4; cd ~/.emacs.d; git pull --rebase) &
(sleep 8; emacs --daemon=instance1) & (sleep 8; emacs --daemon=instance1) &
## Display daemon
(sleep 7; mons -a &)
## Tmux plugins ## Tmux plugins
(sleep 9; ~/.tmux/plugins/tpm/bin/update_plugins all) (sleep 9; ~/.tmux/plugins/tpm/bin/update_plugins all)
## Owncloud
(sleep 10; owncloud)
## Imap IDLE ## Imap IDLE
#(sleep 10; imapnotify -c ~/.config/imapnotify/gmail.js) & #(sleep 10; imapnotify -c ~/.config/imapnotify/gmail.js) &
(sleep 10; imapnotify -c ~/.config/imapnotify/uni.js) & (sleep 10; imapnotify -c ~/.config/imapnotify/uni.js) &

View File

@ -1,2 +1,2 @@
## GNOME Keyring ## GNOME Keyring
eval $(/usr/local/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)

View File

@ -81,7 +81,7 @@
</item> </item>
<item label="Reboot"> <item label="Reboot">
<action name="Execute"> <action name="Execute">
<execute>shutdown -r now</execute> <execute>sudo shutdown -r now</execute>
</action> </action>
</item> </item>
<item label="Lock"> <item label="Lock">
@ -91,12 +91,12 @@
</item> </item>
<item label="Logout"> <item label="Logout">
<action name="Exit"> <action name="Exit">
<execute>kill -9 -1</execute> <execute>openbox --exit</execute>
</action> </action>
</item> </item>
<item label="Shutdown"> <item label="Shutdown">
<action name="Execute"> <action name="Execute">
<execute>shutdown -p now</execute> <execute>sudo shutdown -h now</execute>
</action> </action>
</item> </item>
</menu> </menu>

View File

@ -250,7 +250,7 @@
</keybind> </keybind>
<keybind key="XF86AudioMute"> <keybind key="XF86AudioMute">
<action name="Execute"> <action name="Execute">
<command>mixer vol mute</command> <command>amixer set Master toggle</command>
</action> </action>
</keybind> </keybind>
<keybind key="Menu"> <keybind key="Menu">
@ -264,22 +264,22 @@
</keybind> </keybind>
<keybind key="XF86AudioStop"> <keybind key="XF86AudioStop">
<action name="Execute"> <action name="Execute">
<command>mpc --host=/home/coolneng/.mpd/socket stop</command> <command>mpc --host=/home/coolneng/.config/mpd/socket stop</command>
</action> </action>
</keybind> </keybind>
<keybind key="XF86AudioPlay"> <keybind key="XF86AudioPlay">
<action name="Execute"> <action name="Execute">
<command>mpc --host=/home/coolneng/.mpd/socket toggle</command> <command>mpc --host=/home/coolneng/.config/mpd/socket toggle</command>
</action> </action>
</keybind> </keybind>
<keybind key="XF86AudioPrev"> <keybind key="XF86AudioPrev">
<action name="Execute"> <action name="Execute">
<command>mpc --host=/home/coolneng/.mpd/socket prev</command> <command>mpc --host=/home/coolneng/.config/mpd/socket prev</command>
</action> </action>
</keybind> </keybind>
<keybind key="XF86AudioNext"> <keybind key="XF86AudioNext">
<action name="Execute"> <action name="Execute">
<command>mpc --host=/home/coolneng/.mpd/socket next</command> <command>mpc --host=/home/coolneng/.config/mpd/socket next</command>
</action> </action>
</keybind> </keybind>
<keybind key="Print"> <keybind key="Print">
@ -330,6 +330,11 @@
<keybind key="W-w"> <keybind key="W-w">
<action name="Close"/> <action name="Close"/>
</keybind> </keybind>
<keybind key="Super_L">
<action name="Execute">
<command>mons -n right</command>
</action>
</keybind>
</keyboard> </keyboard>
<mouse> <mouse>
<dragThreshold>8</dragThreshold> <dragThreshold>8</dragThreshold>