This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ┌─┐─┐ ┬┬ ┬┬┌─┌┬┐ | |
## └─┐┌┴┬┘├─┤├┴┐ ││ | |
## └─┘┴ └─┴ ┴┴ ┴─┴┘ | |
## -- sxhkd hotkeys -- | |
## terminal | |
alt + Return | |
xterm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Google Material Design | |
*background : #263238 | |
*foreground : #eceff1 | |
! black | |
*color0 : #263238 | |
*color8 : #37474f | |
! red | |
*color1 : #ff9800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global_config] | |
inactive_color_offset = 1.0 | |
tab_position = hidden | |
title_font = 3270Medium Nerd Font Bold 14 | |
title_inactive_bg_color = "#00002c" | |
title_inactive_fg_color = "#ff0000" | |
title_receive_bg_color = "#c90047" | |
title_transmit_bg_color = "#00002c" | |
title_transmit_fg_color = "#02ff00" | |
title_use_system_font = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jruby | |
# coding: utf-8 | |
# $Id: statusbar.rb,v 1.18 2016/10/07 22:27:26 jashank Exp $ | |
require 'cgi' | |
require 'date' | |
require 'dbus' | |
require 'json' | |
require 'pg' | |
require 'pmap' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'fileutils' | |
## Prereqs | |
#sudo apt install cmake libfreetype6-dev libfontconfig1-dev xclip | |
#sudo pacman -S cmake freetype2 fontconfig pkg-config make xclip | |
#dnf install cmake freetype-devel fontconfig-devel xclip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
read -r X Y W H G ID < <(slop -f "%x %y %w %h %g %i" -b 1 -t 0 -q) | |
# Width and Height in px need to be converted to columns/rows | |
# To get these magic values, make a fullscreen st, and divide your screen width by ${tput cols}, height by ${tput lines} | |
let "W = W / 8" | |
let "H = H / 16" | |
g=${W}x${H}+${X}+${Y} | |
echo $g #debugging | |
bspc rule -a st-256color -o state=floating | |
st -g $g |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#alias binds="bind -P | grep 'can be'" | |
stty -a | awk 'BEGIN{RS="[;n]+ ?"}; /= ..$/' | |
intr = ^C | |
quit = ^ | |
erase = ^? | |
kill = ^U | |
eof = ^D | |
swtch = ^Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"editor.wordWrap": "on", | |
"editor.formatOnSave": true, | |
"editor.formatOnPaste": true, | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": "comment, comment.block.html", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
## GEMS ## | |
require 'pathname' | |
require 'fileutils' | |
## VARS ## | |
ATOM_HOME = Pathname.new(File.expand_path("#{Dir.home}/.atom")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby -w | |
require 'pathname' | |
#require 'fileutils' | |
#require 'shell' | |
def install_rvm | |
puts "===> Installing RVM >>" | |
`curl -sSL https://rvm.io/mpapis.asc | gpg2 --import` | |
`curl -L https://get.rvm.io | bash -s stable --ruby` |