Minor changes and added compton config

This commit is contained in:
Carolyn Saunders 2017-02-12 20:15:21 -08:00
parent 206adeaf4c
commit 96915ca023
4 changed files with 41 additions and 37 deletions

View file

@ -29,7 +29,7 @@ reload = 5
path = "$HOME/.scripts/workspaces.sh"
[title]
path = "xtitle -s | roller -t 40"
path = "zscroll -n -u 'xtitle -u'"
[clock]
path = "date '+%m/%d %H:%M' "

View file

@ -17,7 +17,7 @@ XF86MonBrightness{Up,Down}
# terminal emulator
super + Return
st
termite
# program launcher
super + p

View file

@ -1,35 +0,0 @@
#!/bin/bash
## From github user 84adam
# Bitcoin price script using WINKDEX API (https://winkdex.com/)
# WARNING: Run no more than once per minute.
# Create local wink folder "$HOME/bin/wink" if it doesn't exist yet
if [ ! -d /$HOME/bin/wink ];
then
mkdir -p /$HOME/bin/wink
fi
# get current BTC price in cents, log to wink.log
curl -s -H "User-Agent: wink-sh" "https://winkdex.com/api/v0/price" > $HOME/bin/wink.log
# cut and print BTC value in 'cents', log to cents.log
cat $HOME/bin/wink.log | cut -d ":" -f 5 | cut -d "," -f 1 > $HOME/bin/cents.log
# set variable PRICE and calculate dollars and cents using 'bc'
PRICE=$(echo "`cat $HOME/bin/cents.log` * .01" | bc)
# print PRICE along with current time and attribution
echo "BTC: \$$PRICE"
# store DOLLAR value in dollars.log
DOLLARS=$(echo $PRICE | cut -d '.' -f1)
echo "$DOLLARS/btc" > $HOME/bin/wink/dollars.log

39
compton.conf Normal file
View file

@ -0,0 +1,39 @@
# Inspired by (copied from) github.com/kbrgl/dotfiles
# Shadow
shadow = true; # Enabled client-side shadows on windows.
no-dock-shadow = false; # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = false; # Don't draw shadows on DND windows.
clear-shadow = true; # Zero the part of the shadow's mask behind the window (experimental).
shadow-radius = 7; # The blur radius for shadows. (default 12)
shadow-offset-x = -12; # The left offset for shadows. (default -15)
shadow-offset-y = -7; # The top offset for shadows. (default -15)
shadow-opacity = 0.9; # The translucency for shadows. (default .75)
# shadow-red = 0.0; # Red color value of shadow. (0.0 - 1.0, defaults to 0)
# shadow-green = 0.0; # Green color value of shadow. (0.0 - 1.0, defaults to 0)
# shadow-blue = 0.0; # Blue color value of shadow. (0.0 - 1.0, defaults to 0)
# shadow-exclude = '!focused' ; # Exclude conditions for shadows.
shadow-exclude = "g:ei:Notify-osd";
shadow-ignore-shaped = true;
# Opacity
menu-opacity = 1.0; # The opacity for menus. (default 1.0)
inactive-opacity = 1.0; # Opacity of inactive windows. (0.1 - 1.0)
frame-opacity = 1.0; # Opacity of window titlebars and borders. (0.1 - 1.0)
inactive-opacity-override = true; # Inactive opacity set by 'inactive-opacity' overrides value of _NET_WM_OPACITY.
# Fading
fading = true; # Fade windows during opacity changes.
fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
# Other
inactive-dim = 0; # Dim inactive windows. (0.0 - 1.0, defaults to 0).
mark-wmwin-focused = false; # Try to detect WM windows and mark them as active.
mark-ovredir-focused = false;
detect-rounded-corners = false;
# Window type settings
wintypes:
{
tooltip = { fade = true; shadow = false; opacity = 0.75; };
};