From 0987a3ab07e05c842febbdf88724e883adde6cdd Mon Sep 17 00:00:00 2001 From: Marvin Johanning Date: Wed, 1 Apr 2020 08:55:47 +0200 Subject: [PATCH] Update i3 config for st, update rc.conf for st image preview --- .config/ranger/rc.conf | 1 + .i3/config | 24 ++++++++++++------------ README.md | 2 +- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 3db9807..95e0221 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -183,6 +183,7 @@ set show_selection_in_titlebar true # resolution of 100ms. Lower delay reduces lag between directory updates but # increases CPU load. set idle_delay 2000 +w3m_delay 0.2 # When the metadata manager module looks for metadata, should it only look for # a ".metadata.json" file in the current directory, or do a deep search and diff --git a/.i3/config b/.i3/config index 864a874..f6fc029 100644 --- a/.i3/config +++ b/.i3/config @@ -26,8 +26,8 @@ font xft:Noto Sans 10 # Use Mouse+$mod to drag floating windows floating_modifier $mod -# start a termite -bindsym $mod+Return exec termite +# start a st +bindsym $mod+Return exec st # kill focused window bindsym $mod+Shift+q kill @@ -43,7 +43,7 @@ bindsym $mod+z exec --no-startup-id morc_menu ################################################################################################ exec --no-startup-id volumeicon -#bindsym $mod+Ctrl+m exec termite -e 'alsamixer' +#bindsym $mod+Ctrl+m exec st -e 'alsamixer' #exec --no-startup-id pulseaudio #exec --no-startup-id pa-applet #bindsym $mod+Ctrl+m exec pavucontrol @@ -55,11 +55,11 @@ exec --no-startup-id volumeicon # bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'" # Start Applications -bindsym $mod+Ctrl+b exec termite -e 'bmenu' +bindsym $mod+Ctrl+b exec st -e 'bmenu' bindsym $mod+F2 exec qutebrowser -bindsym $mod+F3 exec termite -e ranger +bindsym $mod+F3 exec st -e ranger bindsym $mod+Shift+F3 exec gksu pcmanfm -bindsym $mod+F5 exec termite -e 'mocp' +bindsym $mod+F5 exec st -e 'mocp' bindsym $mod+t exec --no-startup-id pkill compton bindsym $mod+Ctrl+t exec --no-startup-id compton -b bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'" @@ -74,12 +74,12 @@ set $mode_launcher Launch: [m]utt, [h]top, [w]hatsapp, [n]emo, [c]alibre, [d]isc bindsym $mod+Ctrl+e mode "$mode_launcher" mode "$mode_launcher" { - bindsym m exec termite -e "neomutt" - bindsym h exec termite -e "htop" + bindsym m exec st -e "neomutt" + bindsym h exec st -e "htop" bindsym n exec nemo bindsym c exec calibre bindsym d exec discord - bindsym r exec termite -e "tuir" + bindsym r exec st -e "tuir" bindsym w exec whatsapp-nativefier bindsym t exec telegram-desktop @@ -321,14 +321,14 @@ exec --no-startup-id ibus-daemon exec --no-startup-id wal -R exec_always wal -R -# Color palette used for the termite ( ~/.extend.Xresources file ) +# Color palette used for the st ( ~/.extend.Xresources file ) # Colors are gathered based on the documentation: # https://i3wm.org/docs/userguide.html#xresources # Change the variable name at the place you want to match the color -# of your termite like this: +# of your st like this: # [example] # If you want your bar to have the same background color as your -# termite background change the line 362 from: +# st background change the line 362 from: # background $i3_background # to: # background $term_background diff --git a/README.md b/README.md index ebce417..4979dd4 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Afterwards, you simply clone this repository and copy the content of the resulti 5. The mdv program 6. I use `neomutt` for my emails, so you'll need that as well 7. I use `rofi` as a program launcher ($mod+d) -8. I prefer to use `termite`, as it seems to have much better UTF8 support +8. I prefer to use `st` as my terminal emulator. You can find my build here on Github as well 9. If you want to get the most out of `neomutt`, I highly recommend using mutt-wizard 10. I generally use Zsh as my default Shell 11. My preferred PDF reader is `zathura`