From a3f5e32c6e983a98668b9ff50c3fd450a771ea49 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Thu, 30 May 2019 16:24:13 +0200 Subject: [PATCH] Use alacritty instead of urxvt --- dotfiles/i3.org | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/dotfiles/i3.org b/dotfiles/i3.org index d4c3071..753f341 100644 --- a/dotfiles/i3.org +++ b/dotfiles/i3.org @@ -103,11 +103,11 @@ Set mod key (Mod1=, Mod4=) # Start Command line Calendar bindsym $mod+c exec termite -e "khal interactive" # File Manager - bindsym $mod+o exec urxvt -e "ranger" + bindsym $mod+o exec alacritty -e "ranger" # Browser bindsym $mod+i exec qutebrowser # Sound Manager - bindsym $mod+trl+m exec pavucontrol + bindsym $mod+ctrl+m exec pavucontrol #+end_src * Set shut down, restart and locking features @@ -126,12 +126,13 @@ Set mod key (Mod1=, Mod4=) bindsym Shift+c exec qutebrowser https://calendar.google.com/; mode "default" # Ranger - bindsym r exec urxvt -e "ranger"; mode "default" + bindsym r exec alacritty -e "ranger"; mode "default" # pcmanfm: GUI file manager bindsym Shift+r exec pcmanfm; mode "default" # Mails with neomutt bindsym m exec termite -e "tmux -L neomutt attach"; mode "default" + bindsym shift+m exec termite -e "neomutt -R"; mode "default" # Weechat bindsym w exec termite -e "tmux -L weechat attach"; mode "default" # News with newsboat @@ -314,6 +315,9 @@ Set mod key (Mod1=, Mod4=) #+end_src ** TODO Custom Cratchpad for Quick Access + :PROPERTIES: + :header-args:conf+: :tangle no + :END: *** Music with ncmpcpp #+begin_src conf for_window [instance="scratch-ncmpcpp"] scratchpad show; @@ -337,7 +341,7 @@ Set mod key (Mod1=, Mod4=) *** Ranger #+begin_src conf 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"] move position 240 px 125 px; for_window [instance="scratch-ranger"] resize set 1200 px 800 px; @@ -355,9 +359,12 @@ Set mod key (Mod1=, Mod4=) #+end_src ** 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 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" { bindsym p [instance="scratch-ncmpcpp"] scratchpad show; mode "default" bindsym s [instance="scratch-termite"] scratchpad show; mode "default"