dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit 4757ea4345ae040d5fae7fb1bb668c1c9f85fa98
parent ad3981c62c890704e2169398b81297ee763713a8
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sun, 29 Jul 2018 14:10:15 -0400

i3 uses $TERMINAL, but adds --no-startup-id

Diffstat:
M.config/i3/config | 43++++++++++++++++++++++---------------------
1 file changed, 22 insertions(+), 21 deletions(-)

diff --git a/.config/i3/config b/.config/i3/config @@ -22,6 +22,7 @@ for_window [class="^.*"] border pixel 1 gaps inner 15 gaps outer 15 +set $term --no-startup-id $TERMINAL set $mod Mod4 set $stoprec --no-startup-id killrecording set $shutdown sudo shutdown -h now @@ -98,7 +99,7 @@ bar { } # #---Basic Bindings---# # -bindsym $mod+Return exec $TERMINAL +bindsym $mod+Return exec $term bindsym $mod+Shift+Return exec --no-startup-id samedir bindsym $mod+Shift+space floating toggle @@ -114,7 +115,7 @@ bindsym $mod+Shift+BackSpace exec --no-startup-id prompt "Are you sure you want ##bindsym $mod+asciitilde #STOP/HIDE EVERYTHING: -bindsym $mod+Shift+Delete exec --no-startup-id lmc truemute ; exec $truepause ; exec --no-startup-id pauseallmpv; workspace 0; exec $TERMINAL -e htop ; exec $TERMINAL -e ranger +bindsym $mod+Shift+Delete exec --no-startup-id lmc truemute ; exec $truepause ; exec --no-startup-id pauseallmpv; workspace 0; exec $term -e htop ; exec $term -e ranger # #---Letter Key Bindings---# # bindsym $mod+q [con_id="__focused__" instance="^(?!math|dropdown).*$"] kill @@ -123,22 +124,22 @@ bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!math|dropdown).*$"] ki bindsym $mod+w exec --no-startup-id $BROWSER bindsym $mod+Shift+w exec --no-startup-id $BROWSER -bindsym $mod+e exec $TERMINAL -e neomutt +bindsym $mod+e exec $term -e neomutt bindsym $mod+Shift+e exec --no-startup-id tutorialvids -bindsym $mod+r exec $TERMINAL -e ranger -bindsym $mod+Shift+r exec $TERMINAL -e sudo ranger / +bindsym $mod+r exec $term -e ranger +bindsym $mod+Shift+r exec $term -e sudo ranger / bindsym $mod+t split toggle bindsym $mod+Shift+t gaps inner current set 15; gaps outer current set 15 -bindsym $mod+y exec $TERMINAL -e calcurse +bindsym $mod+y exec $term -e calcurse bindsym $mod+Shift+y exec --no-startup-id "bash ~/.scripts/i3resize left" bindsym $mod+u [instance="dropdown"] scratchpad show; [instance="dropdown"] move position center bindsym $mod+Shift+u exec --no-startup-id "bash ~/.scripts/i3resize down" -bindsym $mod+i exec $TERMINAL -e htop +bindsym $mod+i exec $term -e htop bindsym $mod+Shift+i exec --no-startup-id "bash ~/.scripts/i3resize up" bindsym $mod+o sticky toggle @@ -148,7 +149,7 @@ bindsym $mod+p exec --no-startup-id lmc toggle #bindsym $mod+Shift+p bindsym $mod+a [instance="math"] scratchpad show; [instance="math"] move position center -bindsym $mod+Shift+a exec $TERMINAL -e pulsemixer +bindsym $mod+Shift+a exec $term -e pulsemixer bindsym $mod+s gaps inner current plus 5 bindsym $mod+Shift+s gaps inner current minus 5 @@ -187,13 +188,13 @@ bindsym $mod+Shift+x exec --no-startup-id prompt "Are you sure you want to shut bindsym $mod+c exec --no-startup-id camtoggle ##bindsym $mod+Shift+c -bindsym $mod+v exec $TERMINAL -e ncmpcpp -s visualizer +bindsym $mod+v exec $term -e ncmpcpp -s visualizer bindsym $mod+Shift+v exec --no-startup-id projectM-pulseaudio bindsym $mod+b bar mode toggle bindsym $mod+Shift+b floating toggle; sticky toggle; exec --no-startup-id bottomleft -bindsym $mod+n exec $TERMINAL -e newsboat +bindsym $mod+n exec $term -e newsboat ##bindsym $mod+Shift+n bindsym $mod+m exec --no-startup-id st -e ncmpcpp @@ -214,8 +215,8 @@ bindsym $mod+XF86Back workspace prev bindsym $mod+XF86Forward workspace next ##bindsym $mod+Shift+XF86Forward bindsym $mod+semicolon workspace next -bindsym $mod+apostrophe split horizontal ;; exec $TERMINAL -bindsym $mod+slash split vertical ;; exec $TERMINAL +bindsym $mod+apostrophe split horizontal ;; exec $term +bindsym $mod+slash split vertical ;; exec $term bindsym $mod+Shift+slash kill bindsym $mod+backslash workspace back_and_forth @@ -271,7 +272,7 @@ for_window [instance="dropdown"] move scratchpad for_window [instance="dropdown"] border pixel 3 # 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 $TERMINAL -n dropdown -e tmuxinit +exec --no-startup-id $term -n dropdown -e tmuxinit # Then I have a window running R I use for basic arithmetic # I'll later bind this to mod+a. @@ -279,7 +280,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 2 -exec --no-startup-id $TERMINAL -n math -f mono:pixelsize=24 -e dropdowncalc +exec --no-startup-id $term -n math -f mono:pixelsize=24 -e dropdowncalc # Bindings to make the webcam float and stick. for_window [title="mpvfloat"] floating enable @@ -293,7 +294,7 @@ bindsym $mod+F2 restart bindsym $mod+F3 exec --no-startup-id displayselect bindsym $mod+F4 exec --no-startup-id $hibernate bindsym $mod+F5 exec --no-startup-id $netrefresh -bindsym $mod+F6 exec --no-startup-id $TERMINAL -e transmission-remote-cli +bindsym $mod+F6 exec --no-startup-id $term -e transmission-remote-cli ##bindsym $mod+F7 bindsym $mod+F8 exec --no-startup-id ~/.config/mutt/etc/mailsync.sh bindsym $mod+F9 exec --no-startup-id dmenumount @@ -348,10 +349,10 @@ bindsym XF86PowerOff exec --no-startup-id prompt "Are you sure you want to shut ##bindsym XF86Paste exec ##bindsym XF86Cut exec ##bindsym XF86MenuKB exec -bindsym XF86Calculator exec $TERMINAL -e R -q +bindsym XF86Calculator exec $term -e R -q ##bindsym XF86Sleep This binding is typically mapped by systemd automatically. ##bindsym XF86WakeUp exec -bindsym XF86Explorer exec $TERMINAL -e ranger +bindsym XF86Explorer exec $term -e ranger ##bindsym XF86Send exec ##bindsym XF86Xfer exec bindsym XF86WWW exec --no-startup-id $BROWSER @@ -360,7 +361,7 @@ bindsym XF86ScreenSaver exec exec --no-startup-id lockscreen ##bindsym XF86RotateWindows exec ##bindsym XF86TaskPane exec ##bindsym XF86Favorites exec -bindsym XF86MyComputer exec $TERMINAL -e ranger +bindsym XF86MyComputer exec $term -e ranger ##bindsym XF86Back exec ##bindsym XF86Forward exec bindsym XF86Eject exec sudo umount -R /mnt @@ -395,8 +396,8 @@ bindsym XF86TouchpadOff exec --no-startup-id synclient TouchpadOff=1 bindsym XF86Suspend exec --no-startup-id lockscreen bindsym XF86Close kill bindsym XF86WebCam exec --no-startup-id camtoggle -bindsym XF86Mail exec $TERMINAL -e neomutt -bindsym XF86Messenger exec $TERMINAL -e weechat +bindsym XF86Mail exec $term -e neomutt +bindsym XF86Messenger exec $term -e weechat bindsym XF86Search exec $BROWSER https://duckduckgo.com ##bindsym XF86Go exec ##bindsym XF86Finance exec @@ -412,7 +413,7 @@ bindsym XF86KbdBrightnessUp exec --no-startup-id python3.6 ~/.scripts/kb-lights. ##bindsym XF86Reply exec ##bindsym XF86MailForward exec ##bindsym XF86Save exec -bindsym XF86Documents exec $TERMINAL -e ranger ~/Documents +bindsym XF86Documents exec $term -e ranger ~/Documents ##bindsym XF86Battery exec ##bindsym XF86Bluetooth exec bindsym XF86WLAN exec $netrefresh