Use alacritty instead of urxvt

This commit is contained in:
Thomas Dehaeze 2019-05-30 16:24:13 +02:00
parent 291cfca552
commit a3f5e32c6e

View File

@ -103,11 +103,11 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
# Start Command line Calendar # Start Command line Calendar
bindsym $mod+c exec termite -e "khal interactive" bindsym $mod+c exec termite -e "khal interactive"
# File Manager # File Manager
bindsym $mod+o exec urxvt -e "ranger" bindsym $mod+o exec alacritty -e "ranger"
# Browser # Browser
bindsym $mod+i exec qutebrowser bindsym $mod+i exec qutebrowser
# Sound Manager # Sound Manager
bindsym $mod+trl+m exec pavucontrol bindsym $mod+ctrl+m exec pavucontrol
#+end_src #+end_src
* Set shut down, restart and locking features * Set shut down, restart and locking features
@ -126,12 +126,13 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
bindsym Shift+c exec qutebrowser https://calendar.google.com/; mode "default" bindsym Shift+c exec qutebrowser https://calendar.google.com/; mode "default"
# Ranger # Ranger
bindsym r exec urxvt -e "ranger"; mode "default" bindsym r exec alacritty -e "ranger"; mode "default"
# pcmanfm: GUI file manager # pcmanfm: GUI file manager
bindsym Shift+r exec pcmanfm; mode "default" bindsym Shift+r exec pcmanfm; mode "default"
# Mails with neomutt # Mails with neomutt
bindsym m exec termite -e "tmux -L neomutt attach"; mode "default" bindsym m exec termite -e "tmux -L neomutt attach"; mode "default"
bindsym shift+m exec termite -e "neomutt -R"; mode "default"
# Weechat # Weechat
bindsym w exec termite -e "tmux -L weechat attach"; mode "default" bindsym w exec termite -e "tmux -L weechat attach"; mode "default"
# News with newsboat # News with newsboat
@ -314,6 +315,9 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
#+end_src #+end_src
** TODO Custom Cratchpad for Quick Access ** TODO Custom Cratchpad for Quick Access
:PROPERTIES:
:header-args:conf+: :tangle no
:END:
*** Music with ncmpcpp *** Music with ncmpcpp
#+begin_src conf #+begin_src conf
for_window [instance="scratch-ncmpcpp"] scratchpad show; for_window [instance="scratch-ncmpcpp"] scratchpad show;
@ -337,7 +341,7 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
*** Ranger *** Ranger
#+begin_src conf #+begin_src conf
for_window [instance="scratch-ranger"] scratchpad show; for_window [instance="scratch-ranger"] scratchpad show;
exec urxvt -name scratch-ranger -e ranger exec alacritty -name scratch-ranger -e ranger
for_window [instance="scratch-ranger"] floating enable; for_window [instance="scratch-ranger"] floating enable;
for_window [instance="scratch-ranger"] move position 240 px 125 px; for_window [instance="scratch-ranger"] move position 240 px 125 px;
for_window [instance="scratch-ranger"] resize set 1200 px 800 px; for_window [instance="scratch-ranger"] resize set 1200 px 800 px;
@ -355,9 +359,12 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
#+end_src #+end_src
** TODO Stratchpad Mode - Add scripts that is there is no windows with that name runs the windows and then displays it ** TODO Stratchpad Mode - Add scripts that is there is no windows with that name runs the windows and then displays it
:PROPERTIES:
:header-args:conf+: :tangle no
:END:
#+begin_src conf #+begin_src conf
bindsym $mod+s mode "$mode_stratchpad" bindsym $mod+s mode "$mode_stratchpad"
set $mode_stratchpad (w)eechat (m)ails (p)layer (c)alc (s)hell (n)ews (r)anger set $mode_stratchpad (c)alc (s)hell (n)ews (r)anger
mode "$mode_stratchpad" { mode "$mode_stratchpad" {
bindsym p [instance="scratch-ncmpcpp"] scratchpad show; mode "default" bindsym p [instance="scratch-ncmpcpp"] scratchpad show; mode "default"
bindsym s [instance="scratch-termite"] scratchpad show; mode "default" bindsym s [instance="scratch-termite"] scratchpad show; mode "default"