aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/i3/config4
-rw-r--r--.env4
2 files changed, 3 insertions, 5 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 007cae0..ca6e0a0 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -45,13 +45,13 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU
floating_modifier $mod
# start a terminal
-bindsym $mod+Shift+Return exec st
+bindsym $mod+Shift+Return exec i3-sensible-terminal
# kill focused window
bindsym $mod+q kill
# start dmenu (a program launcher)
-bindsym $mod+space exec --no-startup-id dmenu_run -m 0 -fn monospace:size=12 -nb '#222222' -nf '#bbbbbb' -sb '#005577' -sf '#eeeeee'
+bindsym $mod+space exec --no-startup-id my-dmenu-run -m 0 -fn monospace:size=12 -nb '#222222' -nf '#bbbbbb' -sb '#005577' -sf '#eeeeee'
# A more modern dmenu replacement is rofi:
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
# There also is i3-dmenu-desktop which only displays applications shipping a
diff --git a/.env b/.env
index 4c82ab3..cbdb8dd 100644
--- a/.env
+++ b/.env
@@ -1,9 +1,7 @@
export BROWSER='firefox --new-tab'
TERMINAL=xterm
-if [[ $TERM =~ 'st' ]]; then
- TERMINAL=st
-fi
+[ -e /usr/bin/urxvt ] && TERMINAL=urxvt
export TERMINAL=$TERMINAL
[ -f /usr/bin/qutebrowser ] && export BROWSER='qutebrowser'