From e8f2d08a8e87fe8b079c256c2fb9464221ec6fcc Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 6 Mar 2018 09:54:34 -0700 Subject: [PATCH] neofetch on tmux entry, robust calc --- .config/i3/config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 22d197f..cd433dc 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -399,6 +399,8 @@ for_window [instance="dropdown"] border pixel 5 # Runs the tmuxinit script, which searches for an earlier tmux instance, # otherwise starts a new one (to prevent multiple dropdown sessions). exec --no-startup-id $term -n dropdown -e tmuxinit +# Runs neofetch on first tmux screen if installed. +exec_always --no-startup-id "tmux send-keys -t 0:0 'clear && neofetch 2>/dev/null' Enter" # Then I have a window running R I use for basic arithmetic # I'll later bind this to mod+a. @@ -406,8 +408,7 @@ for_window [instance="math"] floating enable for_window [instance="math"] resize set 800 300 for_window [instance="math"] move scratchpad for_window [instance="math"] border pixel 5 -exec --no-startup-id $term -n math -f mono:pixelsize=24 -e R -q - +exec --no-startup-id $term -n math -f mono:pixelsize=24 -e dropdowncalc # #---Extra XF86 Keys---# # # These are the extra media keys that some keyboards have.