From 8681c495f25499750d933f337a6e0b5368170f05 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Wed, 10 Apr 2019 16:42:28 +0200 Subject: [PATCH] Remove icons for i3 workspaces. Add cmd+a for focus toggle mode --- dotfiles/i3.org | 47 +++++++++++++++-------------------------------- 1 file changed, 15 insertions(+), 32 deletions(-) diff --git a/dotfiles/i3.org b/dotfiles/i3.org index 3411755..61c8bf9 100644 --- a/dotfiles/i3.org +++ b/dotfiles/i3.org @@ -20,7 +20,7 @@ Set mod key (Mod1=, Mod4=) * Font for window titles #+begin_src conf - font SauceCodePro Nerd Font 11 + font Hack Nerd Font 11 #+end_src * TODO [#C] Multimedia keys @@ -172,7 +172,7 @@ bindsym $mod+f fullscreen toggle ** TODO Change focus between tiling / floating windows #+begin_src conf - # bindsym $mod+space focus mode_toggle + bindsym $mod+a focus mode_toggle #+end_src ** TODO Toggle sticky @@ -182,7 +182,7 @@ bindsym $mod+f fullscreen toggle ** TODO Focus the parent container #+begin_src conf - bindsym $mod+a focus parent + # bindsym $mod+a focus parent #+end_src * Scratchpad @@ -289,14 +289,14 @@ mode "$mode_stratchpad" { To display names or symbols instead of plain workspace numbers you can use something like: =set $ws1 1:mail= and =set $ws2 2:=. #+begin_src conf - set $ws1 1: - set $ws2 2: - set $ws3 3: - set $ws4 4: - set $ws5 5: - set $ws6 6: - set $ws7 7: - set $ws8 8: + set $ws1 1 + set $ws2 2 + set $ws3 3 + set $ws4 4 + set $ws5 5 + set $ws6 6 + set $ws7 7 + set $ws8 8 #+end_src * Switch to workspace @@ -427,6 +427,8 @@ To display names or symbols instead of plain workspace numbers you can use somet bindsym Shift+r exec pcmanfm; mode "default" # Mails with neomutt bindsym m exec termite -e "tmuxinator start neomutt"; mode "default" + # Weechat inside Tmux + bindsym w exec termite -e "tmux -L weechat attach"; mode "default" # Music with ncmpcpp bindsym p exec termite --exec="ncmpcpp"; mode "default" # Browser with qutebrowser @@ -457,7 +459,7 @@ To display names or symbols instead of plain workspace numbers you can use somet # exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # Set custom wallpaper script - # exec --no-startup-id $HOME/scripts/wallpaper.sh + exec --no-startup-id $HOME/scripts/wallpapers.sh # Run Compton exec --no-startup-id compton -b @@ -499,29 +501,10 @@ To display names or symbols instead of plain workspace numbers you can use somet * Start Foreground Applications #+begin_src conf - # Emacs - # exec --no-startup-id i3-msg 'exec emacsclient -create-frame --alternate-editor=""' - # Megasync exec --no-startup-id i3-msg 'exec megasync' #+end_src -* Old autostart Applications -#+begin_src conf - # Used to display shortcuts in the background - # exec --no-startup-id start_conky_live_solarized - # Tray keyboard indicator - # exec_always --no-startup-id sbxkb - # Clipboard Manager - # exec --no-startup-id clipit - # Tray Icon with update notifications - # exec --no-startup-id pamac-tray - # Sound Icon - # exec --no-startup-id volumeicon - # Find what this does - # exec_always --no-startup-id fix_xcursor -#+end_src - * Color palette used for the terminal ( ~/.Xresources file ) Colors are gathered based on the documentation https://i3wm.org/docs/userguide.html#xresources. @@ -638,7 +621,7 @@ Colors are gathered based on the documentation https://i3wm.org/docs/userguide.h * Keyboard Configuration #+begin_src conf # Set repetition keyboard rate - # exec --no-startup-id xset r rate 200 40 + exec --no-startup-id xset r rate 200 40 # Set International US keyboard layout # exec --no-startup-id setxkbmap -layout us -variant intl -option caps:escape # Default numpad on