2019-03-05 19:24:36 +01:00
|
|
|
# Keymapping philosophy:
|
|
|
|
# When I feel it's appropriate, I try to borrow existing KBDs from OSX or
|
|
|
|
# Windows. For example, I use Ctrl+Alt+Del to start the screen lock, since this
|
|
|
|
# is a really well-known KBD. One notable difference is that when I'm borrowing
|
|
|
|
# OSX KBDs, I prefer using Alt instead of Super since the keyboard that I'm
|
|
|
|
# using has the Alt key in the same location as the Super key on my mac
|
|
|
|
# keyboard. I could rebind this, and I just may. But for now, that's worth
|
|
|
|
# pointing out.
|
|
|
|
# The reason behind borrowing from Windows and OSX is that some of these
|
|
|
|
# keybindings are hardwired into my muscle memory. I also tend to work between
|
|
|
|
# Linux and OSX quite often. Since OSX is much more difficult to remap KBDs
|
|
|
|
# than it is in Linux, I prefer to support the OSX KBDs to reduce the number of
|
|
|
|
# KBDs my feeble memory needs to store.
|
|
|
|
|
2019-03-23 17:31:59 +01:00
|
|
|
set $mod Mod1
|
|
|
|
set $super Mod4
|
|
|
|
|
2018-10-02 15:46:49 +02:00
|
|
|
# Font for window titles. Will also be used by the bar unless a different font
|
|
|
|
# is used in the bar {} block below.
|
|
|
|
font pango:monospace 8
|
|
|
|
|
|
|
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
|
|
|
floating_modifier $mod
|
|
|
|
|
|
|
|
# gaps
|
2019-03-05 19:24:36 +01:00
|
|
|
# gaps inner 20
|
|
|
|
# gaps outer 0
|
|
|
|
# smart_gaps on
|
|
|
|
|
|
|
|
# KBD Principles:
|
|
|
|
# $mod+Ctrl+<app_char> = starting an application vertically
|
|
|
|
# $mod+Ctrl+Shift+<app_char> = starting an application horizontally
|
|
|
|
# where <app_char> is a reserved character for a commonly used application.
|
|
|
|
#
|
|
|
|
# <app_char> definitions:
|
|
|
|
# terminal = t, Return
|
|
|
|
# emacs = e
|
|
|
|
# chrome = c
|
|
|
|
# spotify = s
|
|
|
|
#
|
|
|
|
# Vertical
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
bindsym $mod+Ctrl+t split v; exec st
|
|
|
|
bindsym $mod+Ctrl+Return split v; exec st
|
2019-03-21 14:57:15 +01:00
|
|
|
bindsym $mod+Ctrl+e split v; exec emacsclient --create-frame ~/programming
|
2019-03-05 19:24:36 +01:00
|
|
|
bindsym $mod+Ctrl+c split v; exec google-chrome
|
|
|
|
bindsym $mod+Ctrl+s split v; exec spotify
|
|
|
|
# Horizontal
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
bindsym $mod+Ctrl+Shift+t split h; exec st
|
|
|
|
bindsym $mod+Ctrl+Shift+Return split h; exec st
|
2019-03-21 14:57:15 +01:00
|
|
|
bindsym $mod+Ctrl+Shift+e split h; exec emacsclient --create-frame ~/programming
|
2019-03-05 19:24:36 +01:00
|
|
|
bindsym $mod+Ctrl+Shift+c split h; exec google-chrome
|
|
|
|
bindsym $mod+Ctrl+Shift+s split h; exec spotify
|
2018-10-02 15:46:49 +02:00
|
|
|
|
2019-04-03 14:12:52 +02:00
|
|
|
# support dmenu-based bookmarks
|
|
|
|
bindsym $mod+Ctrl+b exec dmenu <$DOTFILES/bookmarks.txt | xargs $BROWSER
|
|
|
|
|
2019-03-28 18:30:32 +01:00
|
|
|
bindsym $mod+Return exec st
|
|
|
|
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
# pass integration
|
|
|
|
bindsym $mod+Ctrl+backslash exec ~/.config/i3/passmenu # mirroring the 1password KBD
|
|
|
|
|
2019-03-08 19:15:27 +01:00
|
|
|
# integrate with Emacs's org-mode
|
|
|
|
bindsym $mod+o exec zsh -i -c org_capture
|
|
|
|
for_window [class="GoogleEmacs" instance="org-protocol-capture"] floating enable
|
|
|
|
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
# ensure Spotify windows float
|
|
|
|
for_window [class="Spotify"] floating enable
|
|
|
|
|
2018-10-02 15:46:49 +02:00
|
|
|
# ensure wallpaper
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
exec --no-startup-id feh --bg-scale ~/.local/share/wallpaper/cartoon-outdoors.jpg
|
2019-03-05 19:24:36 +01:00
|
|
|
|
|
|
|
# ensure system service that run through XDG start
|
|
|
|
exec dex -ae i3
|
2018-10-02 15:46:49 +02:00
|
|
|
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
# dmenu configuration
|
|
|
|
bindsym $mod+space exec --no-startup-id dmenu_run
|
|
|
|
bindsym $mod+t exec --no-startup-id ~/.config/i3/dmenu_timer.sh ~/.local/share/sounds/gong.mp3
|
|
|
|
|
|
|
|
# file manager
|
2019-03-25 18:33:21 +01:00
|
|
|
bindsym $mod+n exec st -e lf ~/Downloads
|
2019-03-05 19:24:36 +01:00
|
|
|
|
2019-04-01 19:26:40 +02:00
|
|
|
# clipboard manager
|
|
|
|
# NOTE: Ctrl-c is already covered since `clipmenu` listens for X clipboard
|
|
|
|
# events using `clipnotify`.
|
|
|
|
# NOTE: `clipmenud` is started in `.xsessionrc.shared`
|
2019-04-02 22:27:47 +02:00
|
|
|
# NOTE: This is a bit of a hack intended to support pasting in both the terminal
|
|
|
|
# and in GUI applications. `st` expects `ctrl+Shift+v` while GUIs expect
|
|
|
|
# `ctrl+v`. In the instances where GUIs don't support `ctrl+Shift+v` already, it
|
|
|
|
# acts like `ctrl+v`, so it should "just work".
|
|
|
|
bindsym Ctrl+$mod+v exec clipmenu && xdotool key --clearmodifiers ctrl+Shift+v
|
2019-04-01 19:26:40 +02:00
|
|
|
|
2019-03-05 19:24:36 +01:00
|
|
|
# Screenshot
|
2019-03-24 17:13:09 +01:00
|
|
|
# TODO: find a better KBD for this
|
2019-03-27 19:19:21 +01:00
|
|
|
bindsym $mod+s exec zsh -i -c snipit # note that this eclipses Tmux's M-s KBD for switching b/w session
|
2019-03-23 17:31:59 +01:00
|
|
|
bindsym Ctrl+Print exec scrot ~/Pictures/screenshots/%b-%d-%Y_%T.png # Windows style
|
2019-03-05 19:24:36 +01:00
|
|
|
# TODO: debug
|
2019-03-23 17:31:59 +01:00
|
|
|
# bindsym $mod+Print exec scrot --focused ~/Pictures/screenshots/%b-%d-%Y_%T.png # Windows style
|
2019-03-05 19:24:36 +01:00
|
|
|
|
|
|
|
# online documentation
|
|
|
|
bindsym $mod+Shift+slash exec google-chrome https://i3wm.org/docs/userguide.html
|
2018-10-02 15:46:49 +02:00
|
|
|
|
|
|
|
# no title bars
|
2019-03-05 19:24:36 +01:00
|
|
|
for_window [class="^.*"] border pixel 2
|
2018-10-02 15:46:49 +02:00
|
|
|
|
|
|
|
# disable mouse hover focus
|
|
|
|
focus_follows_mouse no
|
|
|
|
|
|
|
|
# kill focused window
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
bindsym $mod+q kill
|
2018-10-02 15:46:49 +02:00
|
|
|
|
2019-01-13 20:26:14 +01:00
|
|
|
# GTK Themes
|
|
|
|
exec --no-startup-id gnome-settings-daemon
|
|
|
|
|
|
|
|
# wireless selection mechanism
|
|
|
|
exec --no-startup-id nm-applet
|
|
|
|
|
2019-03-27 19:19:21 +01:00
|
|
|
# set the split direction
|
|
|
|
bindsym $mod+v split vertical
|
|
|
|
# cannot bind $mod+h because of movement commands
|
|
|
|
bindsym $mod+Shift+v split horizontal
|
|
|
|
|
2019-03-05 19:24:36 +01:00
|
|
|
# lock the screen (Window's famous Ctrl-Alt-Delete)
|
|
|
|
bindsym $mod+Ctrl+Delete exec "/usr/share/goobuntu-desktop-files/xsecurelock.sh"
|
|
|
|
bindsym $mod+Shift+q exec "/usr/share/goobuntu-desktop-files/xsecurelock.sh"
|
2019-01-13 20:26:14 +01:00
|
|
|
|
|
|
|
# sound applet
|
|
|
|
exec --no-startup-id gnome-sound-applet
|
|
|
|
|
2018-10-02 15:46:49 +02:00
|
|
|
# change focus
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
bindsym $mod+h focus left
|
|
|
|
bindsym $mod+j focus down
|
|
|
|
bindsym $mod+k focus up
|
|
|
|
bindsym $mod+l focus right
|
2018-10-02 15:46:49 +02:00
|
|
|
|
|
|
|
# move focused window
|
2019-03-05 19:24:36 +01:00
|
|
|
bindsym $mod+Shift+h move left 100
|
|
|
|
bindsym $mod+Shift+j move down 100
|
|
|
|
bindsym $mod+Shift+k move up 100
|
|
|
|
bindsym $mod+Shift+l move right 100
|
2018-10-06 23:12:04 +02:00
|
|
|
|
|
|
|
# enable duplicating the current window vertically or horizontally
|
|
|
|
# bindsym $mod+- split v exec terminator
|
|
|
|
# bindsym $mod+\ split h exec terminator
|
2018-10-02 15:46:49 +02:00
|
|
|
|
|
|
|
# enter fullscreen mode for the focused container
|
|
|
|
bindsym $mod+z fullscreen toggle
|
|
|
|
|
|
|
|
# change container layout (stacked, tabbed, toggle split)
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
bindsym $super+e layout toggle split
|
|
|
|
bindsym $super+s layout stacking
|
|
|
|
bindsym $super+t layout tabbed
|
2018-10-02 15:46:49 +02:00
|
|
|
|
|
|
|
# toggle tiling / floating
|
2019-03-05 19:24:36 +01:00
|
|
|
bindsym $mod+Shift+f floating toggle
|
|
|
|
|
|
|
|
# toggle stickiness
|
|
|
|
bindsym $mod+Shift+s sticky toggle
|
2018-10-02 15:46:49 +02:00
|
|
|
|
|
|
|
# change focus between tiling / floating windows
|
2019-03-05 19:24:36 +01:00
|
|
|
bindsym $mod+f focus mode_toggle
|
2018-10-02 15:46:49 +02:00
|
|
|
|
|
|
|
# focus the parent container
|
|
|
|
bindsym $mod+a focus parent
|
2019-03-28 18:29:43 +01:00
|
|
|
bindsym $mod+Shift+a focus child
|
2018-10-02 15:46:49 +02:00
|
|
|
|
|
|
|
# Define names for default workspaces for which we configure key bindings later on.
|
|
|
|
# We use variables to avoid repeating the names in multiple places.
|
2019-03-05 19:24:36 +01:00
|
|
|
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 $ws9 "9"
|
2018-10-02 15:46:49 +02:00
|
|
|
set $ws10 "10"
|
|
|
|
|
2019-03-05 19:24:36 +01:00
|
|
|
# jump to workspace
|
2018-10-02 15:46:49 +02:00
|
|
|
bindsym $mod+1 workspace $ws1
|
|
|
|
bindsym $mod+2 workspace $ws2
|
|
|
|
bindsym $mod+3 workspace $ws3
|
|
|
|
bindsym $mod+4 workspace $ws4
|
|
|
|
bindsym $mod+5 workspace $ws5
|
|
|
|
bindsym $mod+6 workspace $ws6
|
|
|
|
bindsym $mod+7 workspace $ws7
|
|
|
|
bindsym $mod+8 workspace $ws8
|
|
|
|
bindsym $mod+9 workspace $ws9
|
|
|
|
bindsym $mod+0 workspace $ws10
|
|
|
|
|
2019-03-05 19:24:36 +01:00
|
|
|
# move and follow focused container to workspace
|
|
|
|
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
|
|
|
|
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
|
2019-03-24 17:13:09 +01:00
|
|
|
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
|
|
|
|
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
|
2019-03-05 19:24:36 +01:00
|
|
|
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
|
|
|
|
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
|
|
|
|
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
|
|
|
|
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
|
|
|
|
bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
|
|
|
|
bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
|
2018-10-02 15:46:49 +02:00
|
|
|
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
# move focused container to workspace
|
|
|
|
bindsym $mod+Ctrl+1 move container to workspace $ws1
|
|
|
|
bindsym $mod+Ctrl+2 move container to workspace $ws2
|
|
|
|
bindsym $mod+Ctrl+3 move container to workspace $ws3
|
|
|
|
bindsym $mod+Ctrl+4 move container to workspace $ws4
|
|
|
|
bindsym $mod+Ctrl+5 move container to workspace $ws5
|
|
|
|
bindsym $mod+Ctrl+6 move container to workspace $ws6
|
|
|
|
bindsym $mod+Ctrl+7 move container to workspace $ws7
|
|
|
|
bindsym $mod+Ctrl+8 move container to workspace $ws8
|
|
|
|
bindsym $mod+Ctrl+9 move container to workspace $ws9
|
|
|
|
bindsym $mod+Ctrl+0 move container to workspace $ws10
|
|
|
|
|
|
|
|
# reload, restart i3
|
2019-03-23 17:31:59 +01:00
|
|
|
bindsym $super+r exec cat ~/.config/i3/config.shared ~/.config/i3/config.device >~/.config/i3/config; reload
|
|
|
|
bindsym $super+Shift+r exec cat ~/.config/i3/config.shared ~/.config/i3/config.device >~/.config/i3/config; restart
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
|
2018-10-02 15:46:49 +02:00
|
|
|
|
|
|
|
# resize window (you can also use the mouse for that)
|
|
|
|
mode "resize" {
|
2019-03-05 19:24:36 +01:00
|
|
|
bindsym h resize shrink width 10 px or 10 ppt
|
2018-10-02 15:46:49 +02:00
|
|
|
bindsym j resize shrink height 10 px or 10 ppt
|
2019-03-05 19:24:36 +01:00
|
|
|
bindsym k resize grow height 10 px or 10 ppt
|
|
|
|
bindsym l resize grow width 10 px or 10 ppt
|
|
|
|
bindsym Return mode "default"
|
|
|
|
bindsym Caps_Lock mode "default"
|
2019-01-13 20:26:14 +01:00
|
|
|
bindsym $mod+Shift+r mode "default"
|
2018-10-02 15:46:49 +02:00
|
|
|
}
|
2019-01-13 20:26:14 +01:00
|
|
|
bindsym $mod+Shift+r mode "resize"
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
|
|
|
|
# passthrough mode to support Emacs, Tmux, Vim KBDs for window and pane management
|
|
|
|
mode "passthrough" {
|
|
|
|
bindsym $mod+Escape mode "default"
|
|
|
|
}
|
|
|
|
bindsym $mod+Escape mode "passthrough"
|
2018-10-02 15:46:49 +02:00
|
|
|
|
2019-03-21 15:57:32 +01:00
|
|
|
# Atom One Dark colors
|
|
|
|
set $black #1e2127
|
|
|
|
set $red #e06c75
|
|
|
|
set $green #98c379
|
|
|
|
set $yellow #d19a66
|
|
|
|
set $blue #61afef
|
|
|
|
set $magenta #c678dd
|
|
|
|
set $cyan #56b6c2
|
|
|
|
set $white #abb2bf
|
|
|
|
set $bright_black #5c6370
|
|
|
|
set $bright_red #e06c75
|
|
|
|
set $bright_green #98c379
|
|
|
|
set $bright_yellow #d19a66
|
|
|
|
set $bright_white #ffffff
|
|
|
|
set $bright_blue #61afef
|
|
|
|
set $bright_magenta #c678dd
|
|
|
|
set $bright_cyan #56b6c2
|
|
|
|
set $selection #3a3f4b
|
|
|
|
|
|
|
|
# class # border # bg # text #indicator #child_border
|
2019-03-27 19:19:21 +01:00
|
|
|
client.focused $red $red $red $magenta $bright_cyan
|
|
|
|
client.focused_inactive $red $red $red $magenta $black
|
|
|
|
client.unfocused $red $red $red $magenta $black
|
2019-03-05 19:24:36 +01:00
|
|
|
|
|
|
|
bar {
|
|
|
|
status_command i3status
|
|
|
|
position top
|
2019-03-27 19:19:21 +01:00
|
|
|
# disable system tray icons
|
|
|
|
tray_output none
|
2019-03-21 15:57:32 +01:00
|
|
|
colors {
|
|
|
|
background $black
|
|
|
|
statusline $white
|
|
|
|
separator $yellow
|
|
|
|
focused_workspace $black $black $bright_cyan
|
|
|
|
active_workspace $red $bright_blue $blue
|
|
|
|
inactive_workspace $black $black $bright_black
|
2019-03-23 17:31:59 +01:00
|
|
|
urgent_workspace $magenta $black $magenta
|
2019-03-21 15:57:32 +01:00
|
|
|
}
|
2019-03-27 19:19:21 +01:00
|
|
|
}
|