Update configs, move some init stuff to ~/.xprofile, remove ob-autostart

This commit is contained in:
natemaia
2018-08-26 18:11:10 -07:00
parent e6e8e8fa0a
commit 1c713f1bc5
10 changed files with 41 additions and 161 deletions

View File

@ -76,8 +76,10 @@ exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id gnome-keyring-daemon --start --components=pkcs11
# pressing super key alone simulates pressing Alt-F1
# this is needed for super key to launch rofi
exec --no-startup-id ksuperkey -e 'Super_L=Alt_L|F1'
exec --no-startup-id ksuperkey -e 'Super_R=Alt_L|F1'
bindsym Mod1+F1 exec --no-startup-id rofi_run -r
###########################################################
############# Bindings ##################
@ -88,25 +90,19 @@ bindsym $Mod+Shift+q kill
bindsym Mod1+q kill
# launchers
bindsym Control+space exec --no-startup-id rofr.sh -r
# this is needed for super key to launch rofi
bindsym Mod1+F1 exec --no-startup-id rofr.sh -r
bindsym Control+space exec --no-startup-id rofi_run -r
# core
bindsym $Mod+e exec --no-startup-id geany
bindsym $Mod+t exec --no-startup-id exo-open --launch TerminalEmulator
bindsym $Mod+Return --no-startup-id exec exo-open --launch TerminalEmulator
bindsym $Mod+w exec --no-startup-id exo-open --launch WebBrowser
bindsym $Mod+f exec --no-startup-id exo-open --launch FileManager
# logout script
bindsym $Mod+x exec --no-startup-id rofr.sh -l
bindsym $Mod+x exec --no-startup-id rofi_run -l
# Screenshot
bindsym Print exec --no-startup-id "scrot '%S.png' \
-e 'mv $f $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png \
; gpicview $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'"
bindsym Print exec --no-startup-id "scrot '%S.png' -e 'mv $f $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png ; feh $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'"
# audio
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause