updated all configs

master
Adam Veldhousen 4 years ago
parent e7d7362a59
commit aa4c6f4b01
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B

@ -9,7 +9,7 @@ LABEL net.veldhousen.version=${version}
LABEL net.veldhousen.commit=${commit}
LABEL net.veldhousen.created=${created}
RUN apt-get update && apt-get install -y sudo apt-utils && apt-get clean
RUN apt-get update -qq && apt-get install -qq -y sudo apt-utils && apt-get clean
RUN useradd -G sudo -U -u 1000 -m -s /bin/bash dev \
&& echo 'dev:dev' | chpasswd \
&& mkdir -p /home/dev/Projects \

@ -1,4 +1,4 @@
#!/bin/sh
ALACRITTY_VERSION=0.3.3;
curl -L https://github.com/jwilm/alacritty/releases/download/v${ALACRITTY_VERSION}/Alacritty-v${ALACRITTY_VERSION}-ubuntu_18_04_amd64.deb > /tmp/alacritty.deb;
sudo apt install -y /tmp/alacritty.deb;
sudo apt install -qq -y /tmp/alacritty.deb;

@ -0,0 +1,6 @@
#!/bin/sh
wget -q https://packages.microsoft.com/config/ubuntu/19.04/packages-microsoft-prod.deb -O /tmp/packages-microsoft-prod.deb;
sudo dpkg -i /tmp/packages-microsoft-prod.deb;
sudo apt-get update -qq;
sudo apt-get install -y -qq dotnet-sdk-3.0;

@ -25,6 +25,7 @@ SRC_DIR=${BASE_DIR}/src;
TOOLS_DIR=${BASE_DIR}/tools;
CONFIG_DIR=${SRC_DIR}/.config;
EXT_DIR=${SRC_DIR}/.shell_extensions;
export APP_INSTALLS="${BASE_DIR}/installers/app";
if [ -d ${HOME_DIR} ]; then
echo "installing into ${HOME_DIR}";
@ -88,11 +89,11 @@ fi
#------------------------------------------------------------------
mkdir -p ${HOME_DIR}/.bin;
APP_INSTALLS=${BASE_DIR}/installers/app;
set -x;
source ${APP_INSTALLS}/golang.sh;
source ${APP_INSTALLS}/node.sh;
source ${APP_INSTALLS}/rust.sh;
source ${APP_INSTALLS}/rvm.sh;
set +x;
find ${HOME} ! -path "${HOME}/projects" ! -path "${HOME}" | xargs -I {} chown $@ {};

@ -16,12 +16,9 @@ elif [ -z "$(which sudo)" ]; then
exit 1;
fi
sudo apt-get update;
sudo apt-get install -y ${INSTALL_LIST};
wget -q https://packages.microsoft.com/config/ubuntu/19.04/packages-microsoft-prod.deb -O /tmp/packages-microsoft-prod.deb;
sudo dpkg -i /tmp/packages-microsoft-prod.deb;
sudo apt-get update;
sudo apt-get install -y dotnet-sdk-3.0;
sudo apt-get update -qq;
sudo apt-get install -y -qq ${INSTALL_LIST};
source ${BASE_DIR}/installers/apps/dotnet.sh;
cd $HOME/Projects
@ -33,6 +30,10 @@ else
snap install code docker firefox thunderbird insomnia discord slack spotify;
# install polybar and alacritty
source ${BASE_DIR}/installers/apps/polybar.sh;
source ${BASE_DIR}/installers/apps/alacritty.sh;
fi
source ${BASE_DIR}/installers/apps/vim.sh;
cd ${HOME}

@ -5,6 +5,7 @@
build: ./tools
docker build -t vdhsn/dotfiles:$${VERSION:-latest} \
--no-cache \
--build-arg version=$${VERSION} \
--build-arg commit=$${COMMIT_SHA:-$${CIRCLE_SHA1}} \
--build-arg initiator=$${INITIATOR:-$${CIRCLE_USERNAME}} \

@ -1,26 +1,14 @@
# basic configuration
#backend = "glx";
#vsync = "opengl-swc";
backend = "xrender";
vsync = "opengl";
# GLX backend: GLX buffer swap method we assume.
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
# undefined is the slowest and the safest, and the default value.
# copy is fastest, but may fail on some drivers,
# 2-6 are gradually slower but safer (6 is still faster than 0).
# Usually, double buffer means 2, triple buffer means 3.
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
# Useless with --glx-use-copysubbuffermesa.
# Partially breaks --resize-damage.
# Defaults to undefined.
glx-swap-method = "2";
#glx-swap-method = "3";
#backend = "xrender";
backend = "glx";
vsync = true;
use-damage = true;
glx-no-stencil = true;
glx-copy-from-front = false;
xrender-sync = true;
xrender-sync-fence = true;
paint-on-overlay = true;
detect-rounded-corners = true;
#################################
@ -31,12 +19,6 @@ detect-rounded-corners = true;
# Enabled client-side shadows on windows.
shadow = true;
# Don't draw shadows on DND windows.
no-dnd-shadow = true;
# Avoid drawing shadows on dock/panel windows.
no-dock-shadow = true;
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
clear-shadow = true;
# The blur radius for shadows. (default 12)
shadow-radius = 5;
# The left offset for shadows. (default -15)
@ -44,8 +26,7 @@ shadow-offset-x = -5;
# The top offset for shadows. (default -15)
shadow-offset-y = -5;
# The translucency for shadows. (default .75)
shadow-opacity = 0.5;
shadow-opacity = 0.75;
# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
@ -65,6 +46,7 @@ shadow-exclude = [
"name *= 'Visual'",
"name *= 'Slack'",
"name *= 'Insomnia'",
"name *= 'Zoom'",
"class_g = 'Conky'",
"class_g = 'Kupfer'",
"class_g = 'Synapse'",
@ -82,23 +64,22 @@ shadow-ignore-shaped = false;
#
#################################
menu-opacity = 1;
inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
alpha-step = 0.06;
inactive-opacity-override = true;
# Dim inactive windows. (0.0 - 1.0)
inactive-dim = 0.2;
#inactive-dim = 0.1;
# Do not let dimness adjust based on window opacity.
# inactive-dim-fixed = true;
#inactive-dim-fixed = true;
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
# blur-background = true;
#blur-background = true;
blur-background = false;
# Blur background of opaque windows with transparent frames as well.
# blur-background-frame = true;
# Do not let blur radius adjust based on window opacity.
blur-background-fixed = false;
#blur-background-fixed = true;
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'"

@ -8,37 +8,32 @@
font pango:DejaVu Sans Mono 12
######################################################
#########################################
# STARTUP
#######################################
#########################################
# set dpi settings
exec_always xrandr --dpi 165
# startup gnome
exec --no-startup-id /usr/lib/gnome-settings-daemon/gsd-xsettings
#exec --no-startup-id gnome-power-manager
exec --no-startup-id gnome-flashback
# start compton for window composition
exec --no-startup-id compton --config ~/.config/compton/compton.conf -b
# for 4k
#exec_always xrandr --dpi 165
# start polybar
exec_always --no-startup-id ~/.config/i3/polybar.sh &
# start picom for window composition
exec --no-startup-id picom --config ~/.config/compton/compton.conf -b
# start dunst for custom notification popups
exec --no-startup-id dunst -config ~/.config/dunst/dunstrc &
# set wallpaper
exec_always --no-startup-id nitrogen --head=0 --save --set-scaled ~/Pictures/Wallpapers/retro.jpg &
# startup pulse audio controls
exec pa-applet
# startup gnome
# exec --no-startup-id /usr/lib/gnome-settings-daemon/gsd-xsettings
# exec --no-startup-id gnome-power-manager
# exec --no-startup-id gnome-flashback
# set wallpaper
exec_always --no-startup-id nitrogen --head=0 --save --set-centered ~/Pictures/Wallpapers/landscapes/03886_paintedplains_3840x2160.jpg &
exec_always --no-startup-id nitrogen --head=1 --save --set-centered ~/Pictures/Wallpapers/landscapes/03886_paintedplains_3840x2160.jpg &
exec_always --no-startup-id nitrogen --head=2 --save --set-centered ~/Pictures/Wallpapers/landscapes/03886_paintedplains_3840x2160.jpg &
# start dunst for custom notification popups
# exec --no-startup-id dunst -config ~/.config/dunst/dunstrc &
# save power
exec_always --no-startup-id powertop --auto-tune
# exec_always --no-startup-id powertop --auto-tune
# connect to pritunl
#exec --no-startup-id pritunl-client enable 65adf618f9dc44b9818b558d1b84bdba && pritunl-client start 65adf618f9dc44b9818b558d1b84bdba
@ -47,13 +42,23 @@ exec_always --no-startup-id powertop --auto-tune
# BINDINGS
##############################
# audio controls
bindsym XF86AudioRaiseVolume exec amixer -q set Master 2%+ unmute
bindsym XF86AudioLowerVolume exec amixer -q set Master 2%- unmute
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
# screen shot (area)
# bindsym --release $mod+x exec --no-startup-id import /tmp/latest-screenshot.png
#Pause actually works as a play toggle for MPRIS interfaces.
bindsym XF86AudioPlay exec qdbus org.mpris.clementine /Player Pause
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
# Media player controls
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
# Backlight
bindsym XF86MonBrightnessUp exec light -A 10 # increase screen brightness
bindsym XF86MonBrightnessDown exec light -U 10 # decrease screen brightness
# start a terminal
bindsym Mod1+Return exec terminator
@ -61,7 +66,8 @@ bindsym Mod1+Return exec terminator
bindsym Mod1+Shift+i exec insomnia
# start chrome with correct DPI settings
bindsym Mod1+Shift+Return exec google-chrome-stable --force-device-scale-factor=1.65 %U
# bindsym Mod1+Shift+Return exec google-chrome-stable --force-device-scale-factor=1.65 %U
bindsym Mod1+Shift+Return exec firefox
# Sets up 2 external displays side by side, with the laptop display on the far right
bindsym Mod1+Shift+f exec xrandr --output DVI-I-2-1 --auto --left-of DVI-I-3-2 && sleep 1 && xrandr --output DVI-I-3-2 --auto --left-of DP-0 && sleep 1 && xrandr --output DP-0 --auto --primary --preferred
@ -69,16 +75,11 @@ bindsym Mod1+Shift+g exec xrandr --output DVI-I-2-2 --auto --left-of DVI-I-1-1 &
# disconnects the 2 external monitors
bindsym Mod1+Shift+Ctrl+g exec xrandr --output DVI-I-3-2 --off && xrandr --output DVI-I-2-1 --off
bindsym Mod1+Shift+x move workspace to output right
# turn off laptop monitor
bindsym Mod1+Shift+~ exec xrandr --output DP-0 --off
# start/stop pritunl
bindsym Mod1+Shift+v exec pritunl-client start 65adf618f9dc44b9818b558d1b84bdba
bindsym Mod1+Shift+Ctrl+v exec pritunl-client stop 65adf618f9dc44b9818b558d1b84bdba
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that installed.
bindsym Mod1+d exec --no-startup-id i3-dmenu-desktop
@ -88,7 +89,7 @@ bindsym Mod1+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym Mod1+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym Mod1+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
bindsym Mod1+Shift+e exec "i3-nagbar -t warning -m 'Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# move the currently focused window to the scratchpad
bindsym Mod1+Shift+minus move scratchpad
@ -125,7 +126,6 @@ bindsym Mod1+$down focus down
bindsym Mod1+$up focus up
bindsym Mod1+$right focus right
# alternatively, you can use the cursor keys:
bindsym Mod1+Left focus left
bindsym Mod1+Down focus down

@ -2,6 +2,6 @@
killall -q polybar
while pgrep -x polybar >/dev/null; do sleep 1; done
MONITOR=DP-0 polybar bar1 &
MONITOR=DVI-I-1-1 polybar bar1 &
MONITOR=DVI-I-2-2 polybar bar1 &
# MONITOR=DP-0 polybar 4k-bottom &
MONITOR=eDP-1 polybar 1080p-bottom &
MONITOR=eDP-1 polybar 1080p-top &

@ -1,6 +1,6 @@
[xin_0]
file=~/.config/nitrogen/painted_plains_3840x2160.jpg
mode=2
file=/home/adam/Pictures/Wallpapers/retro.jpg
mode=0
bgcolor=#000000
[xin_1]

@ -8,25 +8,21 @@
;=====================================================
[colors]
;background = ${xrdb:color0:#222}
background = #222
background-alt = #444
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #555
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
success = #55aa55
warning = #ffda17
[bar/bar1]
;remove padding around bar
;override-redirect = true
[bar/1080p-top]
monitor = ${env:MONITOR:DP-0}
width = 100%
height = 50
height =25
;offset-x = 1%
;offset-y = 0% - 10
radius = 0
fixed-center = false
@ -36,7 +32,7 @@ foreground = ${colors.foreground}
line-size = 3
line-color = #f00
border-size = 5
border-size = 0
border-color = #00000000
padding-left = 3
@ -45,34 +41,80 @@ padding-right = 3
module-margin-left = 1
module-margin-right = 1
font-0 = "Ubuntu Mono derivative Powerline:style=Regular:pixelsize=16:1"
font-1 = "Symbola:size=18:antialias=true"
font-2 = "OpenSymbol:style=bold:size=20;antialias=false"
font-3 = "nanumbarungothic:style=bold:size=20;antialias=false"
font-0 = "Ubuntu Mono derivative Powerline:style=Regular:pixelsize=12:1"
font-1 = "Symbola:size=16:antialias=true"
font-2 = "PragmataPro Liga:style=Regular:pixelsize=12:1"
modules-left = i3 xwindow
modules-center = spotify mpd
modules-right = polypomo volume filesystem temperature cpu memory wlan eth battery date powermenu
modules-left = powermenu i3 xwindow
modules-center =
modules-right = polypomo wlan eth battery date
bottom = true
bottom = false
tray-position = right
tray-padding = 4
tray-transparent = false
tray-maxsize = 32
;tray-background = #0063ff
tray-transparent = true
tray-maxsize = 16
cursor-click = pointer
cursor-scroll = ns-resize
dpi-y = 125
dpi-x = 125
dpi-y = 100
dpi-x = 100
[bar/1080p-bottom]
;remove padding around bar
;override-redirect = true
monitor = ${env:MONITOR:DP-0}
width = 100%
height = 30
radius = 0
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
border-size = 0
border-color = #00000000
padding-left = 3
padding-right = 3
module-margin-left = 1
module-margin-right = 1
font-0 = "Ubuntu Mono derivative Powerline:style=Regular:pixelsize=12:1"
font-1 = "Symbola:size=16:antialias=true"
font-2 = "PragmataPro Liga:style=Regular:pixelsize=12:1"
modules-left = spotify
modules-center =
modules-right = volume backlight filesystem temperature cpu memory keyboard
bottom = true
; tray-position = right
; tray-padding = 4
; tray-transparent = true
; tray-maxsize = 16
[bar/bar2]
cursor-click = pointer
cursor-scroll = ns-resize
dpi-y = 100
dpi-x = 100
[bar/4k-bottom]
;remove padding around bar
;override-redirect = true
monitor = ${env:MONITOR:DP-0}
width = 100%
height = 50
; 4k
height = 50
;offset-x = 1%
;offset-y = 1%
;offset-y = 0% - 10
radius = 0
fixed-center = false
@ -91,30 +133,31 @@ padding-right = 3
module-margin-left = 1
module-margin-right = 1
font-0 = "Ubuntu Mono derivative Powerline:style=Regular:pixelsize=20;1"
font-1 = "Symbola:size=25:antialias=true"
font-2 = "OpenSymbol:style=bold:size=26;antialias=false"
font-3 = "nanumbarungothic:style=bold:size=26;antialias=false"
font-0 = "Ubuntu Mono derivative Powerline:style=Regular:pixelsize=16:1"
font-1 = "Symbola:size=18:antialias=true"
font-2 = "PragmataPro Liga:style=Regular:pixelsize=12:1"
modules-left = i3 xwindow
modules-center = mpd
modules-right = xkeyboard volume filesystem temperature cpu memory wlan eth battery date powermenu
modules-center = spotify mpd
modules-right = volume polypomo filesystem temperature cpu memory wlan eth battery date powermenu
bottom = false
top = true
bottom = true
tray-position = right
tray-padding = 4
tray-transparent = false
tray-maxsize = 32
;tray-background = #0063ff
cursor-click = pointer
cursor-scroll = ns-resize
dpi-y = 125
dpi-x = 125
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
label = %title:0:60:...%
[module/xkeyboard]
[module/keyboard]
type = internal/xkeyboard
blacklist-0 = num lock
@ -207,23 +250,37 @@ icon-next = 
label-song-maxlen = 25
label-song-ellipsis = true
; [module/xbacklight]
; type = internal/xbacklight
;
; output = DP-0
[module/backlight]
; Use the following command to list available cards:
; $ ls -1 /sys/class/backlight/
type = internal/backlight
; Default: the monitor defined for the running bar
; output = eDP-1
card = intel_backlight
enable-scroll = true
; output = eDP-1
; format = <label> <bar>
; label = BL: %percentage%
;
; bar-width = 10
; bar-indicator = |
; bar-indicator-foreground = #ff
; bar-indicator-font = 2
; bar-fill = ─
; bar-fill-font = 2
; bar-fill-foreground = #9f78e1
; bar-empty = ─
; bar-empty-font = 2
; bar-empty-foreground = ${colors.foreground-alt}
format = <label> <ramp>
; Available tokens:
; %percentage% (default)
label = BACKLIGHT: %percentage%%
; Only applies if <ramp> is used
ramp-0 = 🌕
ramp-1 = 🌔
ramp-2 = 🌓
ramp-3 = 🌒
ramp-4 = 🌑
; Only applies if <bar> is used
bar-width = 10
bar-indicator = |
bar-fill = ─
bar-empty = ─
[module/memory]
@ -244,7 +301,7 @@ label = %percentage%%
[module/wlan]
type = internal/network
interface = wlp110s0
interface = wlo1
interval = 5.0
format-connected-prefix =
@ -259,10 +316,10 @@ format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% X
label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = ▁
ramp-signal-1 = ▁▂
ramp-signal-2 = ▁▂▃
ramp-signal-3 = ▁▂▃▄
ramp-signal-0 = ▁
ramp-signal-1 = ▁▂
ramp-signal-2 = ▁▂▃
ramp-signal-3 = ▁▂▃▄
ramp-signal-4 = ▁▂▃▅▇
ramp-signal-foreground = ${colors.foreground-alt}
@ -293,31 +350,29 @@ date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
format-prefix = "📅 "
format-prefix = 🗓
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
label = %time% %date%
label = %date% %time%
[module/volume]
type = internal/volume
format-volume = <label-volume> <bar-volume>
label-volume = 🔊
label-volume = 🔊 VOL:
label-volume-foreground = ${root.foreground}
format-volume = <label-volume> <bar-volume>
format-muted-prefix = "🔊 "
format-muted-foreground = ${colors.foreground-alt}
label-muted = muted
label-muted = ---- MUTED ----
bar-volume-width = 5
bar-volume-width = 12
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #f5a70a
bar-volume-foreground-2 = #f5a70a
bar-volume-foreground-3 = #ff5555
bar-volume-foreground-4 = #ff5555
bar-volume-foreground-2 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = |
bar-volume-indicator = ─
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
@ -327,40 +382,42 @@ bar-volume-empty-foreground = ${colors.foreground-alt}
[module/battery]
type = internal/battery
; Use the following command to list batteries and adapters:
; ls -1 /sys/class/power_supply
battery = BAT0
adapter = AC
adapter = AC0
full-at = 97
poll-interval = 5
label-charging = %percentage%% - charging @ %consumption%W
format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a
format-charging-underline = ${colors.success}
label-discharging = %percentage%% - %time% remaining @ %consumption%W
label-discharging = %percentage%% - %time% @ %consumption%W
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
format-discharging-underline = ${colors.warning}
label-full = Full
format-full-prefix = "▇ "
format-full-prefix = "|▇|"
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}
ramp-capacity-0 = ▁
ramp-capacity-1 = ▂
ramp-capacity-2 = ▃
ramp-capacity-3 = ▄
ramp-capacity-4 = ▅
ramp-capacity-5 = ▆
ramp-capacity-6 = ▇
format-full-underline = ${colors.success}
label-full = Battery Full
ramp-capacity-0 = |_|
ramp-capacity-1 = |▁|
ramp-capacity-2 = |▃|
ramp-capacity-3 = |▄|
ramp-capacity-4 = |▅|
ramp-capacity-5 = |▆|
ramp-capacity-6 = |▇|
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = ▁
animation-charging-1 = ▂
animation-charging-2 = ▃
animation-charging-3 = ▄
animation-charging-4 = ▅
animation-charging-5 = ▆
animation-charging-6 = ▇
animation-charging-0 = ||
animation-charging-1 = ||
animation-charging-2 = ||
animation-charging-3 = ||
animation-charging-4 = ||
animation-charging-5 = ||
animation-charging-6 = ||
animation-charging-foreground = ${colors.foreground-alt}
animation-discharging-framerate = 2000
@ -370,8 +427,8 @@ animation-charging-framerate = 500
type = internal/temperature
interval = 2
thermal-zone = 0
base-temperature = 40
warn-temperature = 70
base-temperature = 10
warn-temperature = 65
format = <ramp> <label>
format-underline = #f50a4d
@ -382,9 +439,9 @@ label = %temperature%
label-warn = 🔥%temperature%🔥
label-warn-foreground = ${colors.secondary}
ramp-0 = _
ramp-1 = -
ramp-2 = ^
ramp-0 = |_|
ramp-1 = |-|
ramp-2 = |^|
ramp-foreground = ${colors.foreground-alt}
[module/powermenu]
@ -437,23 +494,23 @@ margin-bottom = 5
[module/polypomo]
type = custom/script
exec = ~/tools/polypomo/polypomo
exec = ~/tools/polybar/polypomo/polypomo
tail = true
label = %output%
click-left = ~/tools/polypomo/polypomo toggle
click-right = ~/tools/polypomo/polypomo end
click-middle = ~/tools/polypomo/polypomo lock
scroll-up = ~/tools/polypomo time +60
scroll-down = ~/tools/polypomo time -60
label = POM:%output%
click-left = ~/tools/polybar/polypomo/polypomo toggle
click-right = ~/tools/polybar/polypomo/polypomo end
click-middle = ~/tools/polybar/polypomo/polypomo lock
scroll-up = ~/tools/polybar/polypomo time +60
scroll-down = ~/tools/polybar/polypomo time -60
format-underline = #1db954
[module/spotify]
type = custom/script
interval = 5
format-prefix = "🎶 "
format = <label>
exec = python ~/tools/polybar-spotify/spotify_status.py -f '{play_pause} {song} - {artist}'
format = 🎶<label> 🎶
exec = python ~/tools/polybar/polybar-spotify/spotify_status.py -p '>,||' -f '{play_pause} {song} -by- {artist} -from al- {album}' --font 3 -t 120
format-underline = #1db954
; vim:ft=dosini

@ -19,14 +19,15 @@
new_tab = <Primary>t
new_window = <Primary>n
next_tab = <Primary>Tab
paste = <Primary><Shift>v
search = <Primary>f
split_horiz = <Primary>i
split_vert = <Primary>s
ungroup_all = <Primary><Shift>g
ungroup_tab = <Primary><Shift>u
zoom_in = <Primary><Alt>equal
zoom_normal = <Primary><Alt>0
zoom_out = <Primary><Alt>minus
zoom_in = <Primary>equal
zoom_normal = <Primary><Shift>plus
zoom_out = <Primary>minus
[layouts]
[[default]]
[[[child0]]]
@ -49,11 +50,12 @@
[plugins]
[profiles]
[[default]]
background_darkness = 0.82
background_color = "#002b36"
background_darkness = 0.89
background_type = transparent
cursor_color = "#aaaaaa"
font = Ubuntu Mono derivative Powerline 16
foreground_color = "#ffffff"
font = PragmataPro Mono Liga 12
foreground_color = "#839496"
login_shell = True
palette = "#282828:#cc241d:#98971a:#d79921:#458588:#b16286:#689d6a:#a89984:#928374:#fb4934:#b8bb26:#fabd2f:#83a598:#d3869b:#8ec07c:#ebdbb2"
scrollback_infinite = True

@ -58,6 +58,9 @@ set-window-option -g mouse
#set -g pane-active-border-fg cyan
#set -g pane-active-border-bg cyan
source-file ~/.config/tmux/tmux-themepack/powerline/block/orange.tmuxtheme
#source ~/projects/laughing-hipster/tools/powerline/powerline/powerline/bindings/tmux/powerline.conf
# Window nav
unbind-key 1 ; bind-key 1 select-window -t 1
unbind-key 2 ; bind-key 2 select-window -t 2
@ -116,3 +119,4 @@ unbind p ; bind p paste-buffer
#unbind-key ^A-i ; bind-key -n ^A-i paste-buffer
#unbind-key ^A-P ; bind-key -n ^A-P paste-buffer

@ -133,7 +133,7 @@ map <leader><Space> :HardTimeToggle<CR>
map <Space> :noh<CR>
"replace with regular newlines
noremap <leader>c :%s/ //g<CR>
noremap <leader>k :%s/ //g<CR>
"list buffers
map <leader>w :buffers<CR>
@ -351,24 +351,23 @@ augroup END
" Automatic commands
if has("autocmd")
" Treat .json files as .js
autocmd BufNewFile,BufRead *.json setfiletype json syntax=javascript
" Treat .md files as Markdown
autocmd BufNewFile,BufRead *.md setlocal filetype=markdown
autocmd BufRead,BufNewFile *.html setfiletype html syntax=htmldjango
autocmd BufRead,BufNewFile *.template setfiletype html template syntax=htmldjango
autocmd BufRead,BufNewFile *.go setfiletype golang syntax=go
autocmd BufRead,BufNewFile *.php setfiletype php syntax=go
autocmd BufRead,BufNewFile Dockerfile* setfiletype Dockerfile syntax=go
" Spell check and line wrap just for git commit messages
autocmd Filetype gitcommit setlocal spell textwidth=72
" Treat .json files as .js
autocmd BufNewFile,BufRead *.json setfiletype json syntax=javascript
" Treat .md files as Markdown
autocmd BufNewFile,BufRead *.md setlocal filetype=markdown
autocmd BufRead,BufNewFile *.html setfiletype html syntax=htmldjango
autocmd BufRead,BufNewFile *.template setfiletype html template syntax=htmldjango
autocmd BufRead,BufNewFile *.go setfiletype golang syntax=go
autocmd BufRead,BufNewFile *.php setfiletype php syntax=go
autocmd BufRead,BufNewFile Dockerfile* setfiletype Dockerfile syntax=go
" Spell check and line wrap just for git commit messages
autocmd Filetype gitcommit setlocal spell textwidth=72
endif
au GUIEnter * set vb t_vb=
if has('gui_running')
set go =mt
set guifont=Literation\ Mono\ for\ Powerline:h12,Literation_Mono_for_Powerline:h12,Inconsolata\ for\ Powerline:h10,Ubuntu\ Mono:h26,Consolas:h12,Courier:h12

@ -130,10 +130,10 @@
summary=true
# URL shorthands
[url "git@github.com:"]
insteadOf = https://github.com/
[url "git@github.com:LIVEauctioneers"]
insteadOf = https://github.com/LIVEauctioneers
pushInsteadOf = "github:"
pushInsteadOf = "git://github.com/"
pushInsteadOf = "git://github.com/LIVEauctioneers"
[url "git://github.com/"]
insteadOf = "github:"
@ -169,3 +169,6 @@
#helper = osxkeychain
# for Linux
helper = store --file ~/.git-credentials
[gpg]
program = gpg

@ -39,4 +39,9 @@ alias ips="ifconfig -a | grep -o 'inet6\? \(addr:\)\?\s\?\(\(\([0-9]\+\.\)\{3\}[
# Kill all the tabs in Chrome to free up memory
# [C] explained: http://www.commandlinefu.com/commands/view/402/exclude-grep-from-your-grepped-output-of-ps-alias-included-in-description
alias chromekill="ps ux | grep '[C]hrome Helper --type=renderer' | grep -v extension-process | tr -s ' ' | cut -d ' ' -f2 | xargs kill"
alias chromekill="ps ux | grep '[C]hrome Helper --type=renderer' | grep -v extension-process | tr -s ' ' | cut -d ' ' -f2 | xargs kill"
# kubernetes
alias k='kubectl'
# extend the kubectl completions to work with the above k alias
complete -F __start_kubectl k

@ -32,6 +32,7 @@ export EDITOR=$GIT_EDITOR
export VISUAL=$EDITOR
export VIMRUNTIME=${HOME}/.config/vim/runtime
export VIM=${HOME}/.config/vim
export GPG_TTY=$(tty)
export WINDOWS=false
@ -83,3 +84,4 @@ esac
# sudo sysctl net.ipv4.tcp_fin_timeout="30"
# sudo sysctl net.ipv4.tcp_tw_recycle=1
# sudo sysctl net.ipv4.tcp_tw_reuse=1
export PATH=${PATH}:/home/linuxbrew/.linuxbrew/bin

Loading…
Cancel
Save