diff options
author | Guangxiong Lin <[email protected]> | 2022-02-04 22:41:16 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-02-04 22:41:16 +0800 |
commit | cf443fe7f98b770a4dad2eff80b28964bd598005 (patch) | |
tree | 6c07a37491315eb878f794828bf2976687f447ab | |
parent | 9f008af03f54ae9a3f9aecb83581cd79a84be7a3 (diff) | |
download | dotfiles-cf443fe7f98b770a4dad2eff80b28964bd598005.tar.gz dotfiles-cf443fe7f98b770a4dad2eff80b28964bd598005.tar.bz2 dotfiles-cf443fe7f98b770a4dad2eff80b28964bd598005.zip |
Update default terminal as urxvt
-rw-r--r-- | .config/i3/config | 4 | ||||
-rw-r--r-- | .env | 4 |
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 @@ -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' |