Skip to content

Instantly share code, notes, and snippets.

View jwhett's full-sized avatar
:shipit:
Enhance

Joshua Whetton jwhett

:shipit:
Enhance
View GitHub Profile
@jwhett
jwhett / .vimrc
Created August 28, 2018 13:33
VIM Config
" PEP-8 Additions {{{
" PEP-8 Indentation {{{
" Number of spaces that a pre-existing tab is equal to.
" For the amount of space used for a new tab use shiftwidth.
au BufRead,BufNewFile *py,*pyw,*.c,*.h set tabstop=4
" This will affect Ctrl-T and 'autoindent'.
" Python: 4 spaces
" C: tabs (pre-existing files) or 4 spaces (new files)
@jwhett
jwhett / sxhkdrc
Created August 28, 2018 13:42
SXHKD Config
F1
gdimmer -down
shift + F1
gdimmer -f -set 512
F2
gdimmer -up
shift + F2
@jwhett
jwhett / redshift.conf
Created August 28, 2018 13:43
Redshift Config
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
;temp-day=5700
temp-day=4600
temp-night=3500
; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature.
@jwhett
jwhett / .gitconfig
Created August 28, 2018 13:48
Git Config
[alias]
last = log -1 HEAD
st = status -s
co = checkout
br = branch --color=always --list -v --abbrev=8
#lg = log --decorate=short --pretty=oneline --abbrev-commit --graph --color
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
vis = !gitk
@jwhett
jwhett / kakrc
Last active November 14, 2022 14:59
Kakrc
colorscheme desertex
###########
# Plugins #
###########
source "%val{config}/plugins/plug.kak/rc/plug.kak"
plug "andreyorst/plug.kak" branch "master" noload
plug "andreyorst/fzf.kak"
plug "occivink/kakoune-sudo-write"
@jwhett
jwhett / tmux.conf
Last active September 7, 2021 16:10
TMUX config
unbind C-a
unbind C-b
set -g mouse on
set -g prefix C-a
set -s escape-time 1
set -g base-index 1
set -g default-terminal "screen-256color"
set -g status-left-length 40
set -g status-left "#h - [#S]"
set -g monitor-activity off
@jwhett
jwhett / sway-config
Last active August 26, 2022 12:46
Sway Debugging Logs
# Read `man 5 sway` for a complete reference.
# Also check this out: https://fedoramagazine.org/setting-up-the-sway-window-manager-on-fedora/
#############
# Variables #
#############
# Logo key. Use Mod1 for Alt.
set $mod Mod4
@jwhett
jwhett / swayrc
Last active May 19, 2020 14:21
Sway config
# Read `man 5 sway` for a complete reference.
# Also check this out: https://fedoramagazine.org/setting-up-the-sway-window-manager-on-fedora/
#############
# Variables #
#############
# Logo key. Use Mod1 for Alt.
set $mod Mod4
@jwhett
jwhett / kbd_settings.txt
Created October 2, 2020 13:19
Kinesis Gaming Configs
startup_file=layout1.txt
macro_speed=5
game_mode=OFF
status_play_speed=3
program_key_lock=OFF
v_drive=manual
led_mode=1
@jwhett
jwhett / melvor-qol.js
Last active October 7, 2020 16:18
Melvor QOL Combined
// ==UserScript==
// @name MelvorQOL
// @namespace jwhett
// @version 1.1
// @description MelvorIdle QOL improvements
// @author Josh Whetton
// @match https://*.melvoridle.com/*
// @grant none
// ==/UserScript==