about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-06T17·05+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-07T15·08+0000
commit6a629f17200678cfd5fe9e9cd5bdda4a7a089652 (patch)
treeb0342e9ab32b89071cd969829bde6d07be890d34 /configs
parentf2f8b0d10f3fb4ff1ca4840e2e4b58a148fc4f9a (diff)
Support additional i3 KBDs
Also prefer urxvt to gnome-terminal. This is subject to change.

Also supports additional KBDs for repeated tasks.
Diffstat (limited to 'configs')
-rw-r--r--configs/linux/misc/.config/i3/config27
-rw-r--r--configs/linux/x_server/.xsessionrc3
2 files changed, 13 insertions, 17 deletions
diff --git a/configs/linux/misc/.config/i3/config b/configs/linux/misc/.config/i3/config
index 2f151f8e1de2..c6b7bc2f5253 100644
--- a/configs/linux/misc/.config/i3/config
+++ b/configs/linux/misc/.config/i3/config
@@ -38,25 +38,25 @@ floating_modifier $mod
 # spotify  = s
 #
 # Vertical
-bindsym $mod+Ctrl+t            split v; exec gnome-terminal
-bindsym $mod+Ctrl+Return       split v; exec gnome-terminal
+bindsym $mod+Ctrl+t            split v; exec urxvtc
+bindsym $mod+Ctrl+Return       split v; exec urxvtc
 bindsym $mod+Ctrl+e            split v; exec emacs
 bindsym $mod+Ctrl+c            split v; exec google-chrome
 bindsym $mod+Ctrl+s            split v; exec spotify
 # Horizontal
-bindsym $mod+Ctrl+Shift+t      split h; exec gnome-terminal
-bindsym $mod+Ctrl+Shift+Return split h; exec gnome-terminal
+bindsym $mod+Ctrl+Shift+t      split h; exec urxvtc
+bindsym $mod+Ctrl+Shift+Return split h; exec urxvtc
 bindsym $mod+Ctrl+Shift+e      split h; exec emacs
 bindsym $mod+Ctrl+Shift+c      split h; exec google-chrome
 bindsym $mod+Ctrl+Shift+s      split h; exec spotify
 
 # audio controls
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +10%   # MBP Volume Up
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -10%   # MBP Volume Down
-bindsym XF86AudioMute        exec --no-startup-id pactl set-sink-mute   0 toggle # MBP Mute
-bindsym F12                  exec --no-startup-id pactl set-sink-volume 2 +10%   # same Fn keys as MBP
-bindsym F11                  exec --no-startup-id pactl set-sink-volume 2 -10%   # same Fn keys as MBP
-bindsym F10                  exec --no-startup-id pactl set-sink-mute   2 toggle # same Fn keys as MBP
+bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10%   # MBP Volume Up
+bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10%   # MBP Volume Down
+bindsym XF86AudioMute        exec --no-startup-id pactl set-sink-mute   @DEFAULT_SINK@ toggle # MBP Mute
+bindsym F12                  exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10%   # same Fn keys as MBP
+bindsym F11                  exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10%   # same Fn keys as MBP
+bindsym F10                  exec --no-startup-id pactl set-sink-mute   @DEFAULT_SINK@ toggle # same Fn keys as MBP
 
 # screen brightness controls
 bindsym XF86MonBrightnessUp   exec light -A 10
@@ -112,9 +112,6 @@ bindsym $mod+Shift+q     exec "/usr/share/goobuntu-desktop-files/xsecurelock.sh"
 # sound applet
 exec --no-startup-id gnome-sound-applet
 
-# polybar
-exec_always --no-startup-id $HOME/.config/polybar/launch.sh
-
 # change focus
 bindsym $mod+h exec ~/.config/i3/i3-and-emacs left
 bindsym $mod+j exec ~/.config/i3/i3-and-emacs down
@@ -190,10 +187,6 @@ bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
 
 # reload the configuration file
 bindsym $mod+Shift+c reload
-# exit i3 (logs you out of your X session)
-bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
-# implemented a sleeping KBD
-# sudo pm-suspend
 
 # resize window (you can also use the mouse for that)
 mode "resize" {
diff --git a/configs/linux/x_server/.xsessionrc b/configs/linux/x_server/.xsessionrc
index b79bba539f5d..7252c55224f0 100644
--- a/configs/linux/x_server/.xsessionrc
+++ b/configs/linux/x_server/.xsessionrc
@@ -9,6 +9,9 @@ export GTK_IM_MODULE=xim
 # Desktop background color.
 xsetroot -solid "#333333"
 
+# start the urxvt daemon
+urxvtd -q -f -o
+
 # set kbds
 xmodmap -e 'remove Lock = Caps_Lock'
 xmodmap -e 'keysym Caps_Lock = Escape'