Add super+enter binds to open terminal in all wm's

This commit is contained in:
natemaia 2018-08-11 21:08:38 -07:00
parent 6c38210c10
commit 0d2d6f937a
8 changed files with 19 additions and 12 deletions

View File

@ -10,7 +10,7 @@ nitrogen --restore &
al-compositor --start & al-compositor --start &
# panel # panel
sleep 1; al-polybar-session & al-polybar-session &
# polkit, required for authentication # polkit, required for authentication
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
@ -22,7 +22,6 @@ gnome-keyring-daemon --start --components=pkcs11 &
ksuperkey -e 'Super_L=Alt_L|F1' & ksuperkey -e 'Super_L=Alt_L|F1' &
ksuperkey -e 'Super_R=Alt_L|F1' & ksuperkey -e 'Super_R=Alt_L|F1' &
# Set some bsp specific stuff # Set some bsp specific stuff
bspc monitor -d I II III IV V VI VII VIII IX X bspc monitor -d I II III IV V VI VII VIII IX X
@ -46,5 +45,3 @@ bspc config pointer_action3 resize_corner
bspc rule -a thunar desktop='^1' state=floating follow=on bspc rule -a thunar desktop='^1' state=floating follow=on
bspc rule -a firefox desktop='^2' bspc rule -a firefox desktop='^2'
bspc rule -a Void_Exit_Session state=floating layer=above
bspc rule -a Exit_Session state=floating layer=above

View File

@ -96,6 +96,7 @@ bindsym Mod1+F1 exec --no-startup-id rofr.sh -r
# core # core
bindsym $Mod+e exec --no-startup-id geany bindsym $Mod+e exec --no-startup-id geany
bindsym $Mod+t exec exo-open --launch TerminalEmulator bindsym $Mod+t exec exo-open --launch TerminalEmulator
bindsym $Mod+Return exec exo-open --launch TerminalEmulator
bindsym $Mod+w exec exo-open --launch WebBrowser bindsym $Mod+w exec exo-open --launch WebBrowser
bindsym $Mod+f exec exo-open --launch FileManager bindsym $Mod+f exec exo-open --launch FileManager

View File

@ -387,6 +387,11 @@
<command>exo-open --launch TerminalEmulator</command> <command>exo-open --launch TerminalEmulator</command>
</action> </action>
</keybind> </keybind>
<keybind key="W-Enter">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
</action>
</keybind>
<keybind key="W-w"> <keybind key="W-w">
<action name="Execute"> <action name="Execute">
<command>exo-open --launch WebBrowser</command> <command>exo-open --launch WebBrowser</command>

View File

@ -19,7 +19,7 @@ monitor =
modules-left = jgmenu workspaces modules-left = jgmenu workspaces
modules-center = window_switch clock modules-center = window_switch clock
modules-right = temperature pkg network volume modules-right = ${env:POLYBAR_MODULES:temperature pkg network volume}
;===================================================== ;=====================================================
@ -34,7 +34,7 @@ monitor =
modules-left = jgmenu i3 menu modules-left = jgmenu i3 menu
modules-center = clock modules-center = clock
modules-right = coreuse temperature memory pkg network volume modules-right = ${env:POLYBAR_MODULES:coreuse temperature memory pkg network volume}
;===================================================== ;=====================================================
@ -49,4 +49,4 @@ monitor =
modules-left = bspwm menu modules-left = bspwm menu
modules-center = clock modules-center = clock
modules-right = coreuse temperature memory pkg network volume modules-right = ${env:POLYBAR_MODULES:coreuse temperature memory pkg network volume}

View File

@ -274,9 +274,9 @@ ramp-volume-3-foreground = ${colors.urgent}
[module/battery] [module/battery]
type = internal/battery type = internal/battery
; Use $ ls -1 /sys/class/power_supply/ ; Use $ ls -1 /sys/class/power_supply/
battery = BAT0 battery = ${env:LAPTOP_BATTERY:BAT1}
adapter = AC adapter = ${env:LAPTOP_ADAPTER:ACAD}
full-at = 98 full-at = 99
poll-interval = 5 poll-interval = 5
time-format = %H:%M time-format = %H:%M

View File

@ -4,4 +4,4 @@
# To load session at startup use the following line # To load session at startup use the following line
# sleep 1; al-polybar-session & # sleep 1; al-polybar-session &
/home/liveuser/.config/polybar/config openbox-bar /home/liveuser/.config/polybar/config openbox-bar

View File

@ -6,6 +6,10 @@ super + w
super + t super + t
exo-open --launch TerminalEmulator exo-open --launch TerminalEmulator
# terminal emulator
super + Return
exo-open --launch TerminalEmulator
# file manager # file manager
super + f super + f
exo-open --launch FileManager exo-open --launch FileManager

View File

@ -4,7 +4,7 @@ NAME=$(basename "$0")
VER="0.3" VER="0.3"
usage() { usage() {
cat <<EOF cat <<- EOF
USAGE: $NAME [OPTIONS [ADDITIONAL]] USAGE: $NAME [OPTIONS [ADDITIONAL]]