Skip to content

Instantly share code, notes, and snippets.

@bdavidhicks
bdavidhicks / gtk.css
Created April 8, 2019 15:14
GTK border fix Linux Mint
.window-frame {
box-shadow: none;
margin: 1px;
}
ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_MODE='awesome-fontconfig'
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
POWERLEVEL9K_SHORTEN_DIR_LENGTH=1
POWERLEVEL9K_SHORTEN_STRATEGY=truncate_folders
POWERLEVEL9K_SHORTEN_DELIMITER=""
POWERLEVEL9K_TIME_FORMAT='%D{%I:%M}'
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=""
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="> "
@bdavidhicks
bdavidhicks / spotify_unmuter.sh
Last active March 2, 2019 05:26
systemd service configuration for user service to run on startup to unmute sound when Spotify notification occurs (i.e. when a song plays)
#!/bin/bash
interface=org.freedesktop.Notifications
member=Notify
dbus-monitor --profile "interface='$interface',member='$member',arg0='Spotify'" |
while read -r line; do
amixer -q -D pulse sset Master unmute;
done;
@bdavidhicks
bdavidhicks / .inputrc
Last active September 20, 2017 14:38
Git Bash configuration file to be placed in your home directory that changes the behavior of the arrow keys to be more like zsh
"\e[A": history-search-backward
"\e[B": history-search-forward
"\e[C": forward-char
"\e[D": backward-char
"\e[1;5C": forward-word
"\e[1;5D": backward-word
@bdavidhicks
bdavidhicks / .bash_profile
Created September 20, 2017 13:50
Git Bash profile to be placed in your home directory to start Docker machine and setup environment variables for Docker when Git Bash starts
docker-machine start default
eval $(docker-machine env)
. ~/.docker-completion.sh