Skip to content

Instantly share code, notes, and snippets.

@vpassapera
Last active February 20, 2019 07:04
Show Gist options
  • Save vpassapera/840165e4aad565b0a3bfdf8b184853d4 to your computer and use it in GitHub Desktop.
Save vpassapera/840165e4aad565b0a3bfdf8b184853d4 to your computer and use it in GitHub Desktop.
zsh
nvim
oh-my-zsh
zsh-syntax-highlighting
https://github.com/junegunn/fzf
https://github.com/jeffkaufman/icdiff
https://github.com/keepcosmos/terjira
https://github.com/zsh-users/zsh-autosuggestions
curl
htop
tmux
powerline + powerline fonts
https://github.com/gpakosz/.tmux (oh-my-tmux)
tig
nerdfonts (https://github.com/ryanoasis/nerd-fonts)
https://github.com/bhilburn/powerlevel9k
git-flow
gawk
rust
ruby (gems)
golang
googler (cli tool)
ripgrep
hstr (hh)
haxor-news
rtv
fd-find (fd)
bat (cat with wings)
exa (ls on steroids)
httpie
gist
tldr
tmux plugins (tpm, vim-tmux, tmux-yank)
vim plugins (vim-sensible, youcompleteme, vim-gitgutter, syntastic, vim-fugitive, nerdtree, nerdtree-git-plugin, vim-colors-basic, vim-airline, vim-airline-themes, gundo.vim, tabular)
@vpassapera
Copy link
Author

Mac Stuff:

chunkwm
ubersicht
https://github.com/koekeishiya/skhd/blob/master/README.md
jolt
textmate
kitematic

@vpassapera
Copy link
Author

#!/bin/bash

#
# NOTE: any 'chunkc' command that is run from this config file
#       that is NOT 'chunkc core::<..>' or 'chunkc set ..'
#       MUST be put in the background using &
#
#       e.g:
#       chunkc tiling::rule --owner Finder --name Copy --state float &
#

#
# NOTE: specify the absolutepath of the file to use for logging.
#       'stdout' or 'stderr' can be used instead of an actual filepath.
#

chunkc core::log_file stdout

#
# NOTE: specify the desired level of logging.
#
#       - none, debug, profile, warn, error
#

chunkc core::log_level warn

#
# NOTE: specify the absolutepath to the directory to use when loading a plugin.
#

chunkc core::plugin_dir ~/.chunkwm_plugins

#
# NOTE: if enabled, chunkwm will monitor the specified plugin_dir
#       and automatically reload any '.so' file that is changed.
#

chunkc core::hotload 0

#
# NOTE: the following are config variables for the chunkwm-tiling plugin.
#

chunkc set custom_bar_enabled            1
chunkc set custom_bar_all_monitors       1
chunkc set custom_bar_offset_top         25
chunkc set custom_bar_offset_bottom      0
chunkc set custom_bar_offset_left        0
chunkc set custom_bar_offset_right       0

chunkc set global_desktop_mode           bsp
chunkc set global_desktop_offset_top     15
chunkc set global_desktop_offset_bottom  15
chunkc set global_desktop_offset_left    20
chunkc set global_desktop_offset_right   20
chunkc set global_desktop_offset_gap     20

#
# NOTE: syntax for desktop-specific settings
#
# chunkc set 2_desktop_mode                monocle
# chunkc set 5_desktop_mode                float
# chunkc set 3_desktop_offset_top          190
# chunkc set 3_desktop_offset_bottom       190
# chunkc set 3_desktop_offset_left         190
# chunkc set 3_desktop_offset_right        190
# chunkc set 3_desktop_offset_gap          30
#

chunkc set desktop_padding_step_size     10.0
chunkc set desktop_gap_step_size         5.0

chunkc set bsp_spawn_left                1
chunkc set bsp_optimal_ratio             1.618
chunkc set bsp_split_mode                optimal
chunkc set bsp_split_ratio               0.5

chunkc set monitor_focus_cycle           1
chunkc set window_focus_cycle            monitor

chunkc set mouse_follows_focus           intrinsic
chunkc set window_float_next             0
chunkc set window_region_locked          1

chunkc set mouse_move_window             \"fn 1\"
chunkc set mouse_resize_window           \"fn 2\"
chunkc set mouse_motion_interval         35

chunkc set preselect_border_color        0xffd75f5f
chunkc set preselect_border_width        5
chunkc set preselect_border_radius       0
chunkc set preselect_border_outline      0

#
# NOTE: these settings require chwm-sa.
#       (https://github.com/koekeishiya/chwm-sa)
#

chunkc set window_float_topmost          0
chunkc set window_fade_inactive          0
chunkc set window_fade_alpha             0.85
chunkc set window_fade_duration          0.25
chunkc set window_use_cgs_move           0

#
# NOTE: the following are config variables for the chunkwm-border plugin.
#
# NOTE: syntax for `focused_border_outline` setting
#       0 = false, inline border
#       1 = true, outline border
#

chunkc set focused_border_color          0xff0f6288
chunkc set focused_border_width          2
chunkc set focused_border_radius         5
chunkc set focused_border_outline        0
chunkc set focused_border_skip_floating  0
chunkc set focused_border_skip_monocle   0

#
# NOTE: the following are config variables for the chunkwm-ffm plugin.
#

chunkc set ffm_bypass_modifier           fn
chunkc set ffm_standby_on_float          1

#
# NOTE: specify plugins to load when chunkwm starts.
#

chunkc core::load border.so
chunkc core::load tiling.so
chunkc core::load ffm.so

#
# NOTE: sample rules for the tiling plugin
#

chunkc tiling::rule --owner Finder --name Copy --state float &
chunkc tiling::rule --owner \"App Store\" --state float &
chunkc tiling::rule --owner Emacs --except "^$" --state tile &
chunkc tiling::rule --owner \"Smart Switch\" --except "^$" --state tile

@vpassapera
Copy link
Author

cmd + ctrl + alt - m : chunkc core::load ffm.so
cmd + ctrl + alt + shift - m : chunkc core::unload ffm.so

alt - f : chunkc tiling::window --toggle fullscreen
shift + alt - space : chunkc tiling::window --toggle float

shift + alt - q : chunkc tiling::window --close

alt - a : chunkc tiling::window --focus west
alt - s : chunkc tiling::window --focus south
alt - w : chunkc tiling::window --focus north
alt - d : chunkc tiling::window --focus east
alt - p : chunkc tiling::window --focus prev
alt - n : chunkc tiling::window --focus next

shift + alt - a : chunkc tiling::window --warp west
shift + alt - s : chunkc tiling::window --warp south
shift + alt - w : chunkc tiling::window --warp north
shift + alt - d : chunkc tiling::window --warp east

shift + alt - z : chunkc tiling::window --send-to-desktop prev
shift + alt - x : chunkc tiling::window --send-to-desktop next

alt - r : chunkc tiling::desktop --rotate 90

cmd + alt - a : chunkc tiling::window --use-temporary-ratio 0.05 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio -0.05 --adjust-window-edge east
cmd + alt - s : chunkc tiling::window --use-temporary-ratio 0.05 --adjust-window-edge south; chunkc tiling::window --use-temporary-ratio -0.05 --adjust-window-edge north
cmd + alt - w : chunkc tiling::window --use-temporary-ratio 0.05 --adjust-window-edge north; chunkc tiling::window --use-temporary-ratio -0.05 --adjust-window-edge south
cmd + alt - d : chunkc tiling::window --use-temporary-ratio 0.05 --adjust-window-edge east; chunkc tiling::window --use-temporary-ratio -0.05 --adjust-window-edge west

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment