Skip to content

Commit

Permalink
update lots of stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
xero committed Jul 2, 2017
1 parent a268a44 commit b218400
Show file tree
Hide file tree
Showing 21 changed files with 481 additions and 47 deletions.
33 changes: 33 additions & 0 deletions 2bwm/.xinitrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/sh
#
# ██ ██ ██
# ░░ ░░ ░██
# ██ ██ ██ ███████ ██ ██████ ██████ █████
# ░░██ ██ ░██░░██░░░██░██░░░██░ ░░██░░█ ██░░░██
# ░░███ ░██ ░██ ░██░██ ░██ ░██ ░ ░██ ░░
# ██░██ ░██ ░██ ░██░██ ░██ ░██ ░██ ██
# ██ ░░██░██ ███ ░██░██ ░░██ ░███ ░░█████
# ░░ ░░ ░░ ░░░ ░░ ░░ ░░ ░░░ ░░░░░
#
# ▓▓▓▓▓▓▓▓▓▓
# ░▓ author ▓ xero <x@xero.nu>
# ░▓ code ▓ http://code.xero.nu/dotfiles
# ░▓ mirror ▓ http://git.io/.files
# ░▓▓▓▓▓▓▓▓▓▓
# ░░░░░░░░░░

# merge custom x resources
xrdb -merge ~/.Xdefaults &

# terminal emulator
#urxvtd -q -f -o &

# setup fonts
xset +fp ~/.local/share/fonts &
xset fp rehash &

# cursor
xsetroot -cursor_name left_ptr &

# 2bwm
exec ~/bin/wm
2 changes: 2 additions & 0 deletions 2bwm/.zprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[ ! -s ~/.mpd/pid ] && mpd
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx
30 changes: 30 additions & 0 deletions 2bwm/bin/bar
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/sh
# ██
# ░██
# ░██ ██████ ██████
# ░██████ ░░░░░░██ ░░██░░█
# ░██░░░██ ███████ ░██ ░
# ░██ ░██ ██░░░░██ ░██
# ░██████ ░░████████░███
# ░░░░░ ░░░░░░░░ ░░░
#
# ▓▓▓▓▓▓▓▓▓▓
# ░▓ author ▓ xero <x@xero.nu>
# ░▓ code ▓ http://code.xero.nu/dotfiles
# ░▓ mirror ▓ http://git.io/.files
# ░▓▓▓▓▓▓▓▓▓▓
# ░░░░░░░░░░
#
#█▓▒░ lemonbar wgrp display

#f="-Gohu-GohuFont-Medium-R-Normal--11-80-100-100-C-60-ISO10646-1"
f=-*-Symbola-*-*-*-*-11-*-*-*-*-*-iso10646-*
fg='#ffd0d8e0'
bg='#ff111111'

{
while :; do
$@
sleep 1 || break
done
} 2> /dev/null | lemonbar -d -p -g 55x16+160+0 -f $f -B $bg -F $fg
27 changes: 27 additions & 0 deletions 2bwm/bin/clock
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/sh
# ██ ██
# ░██ ░██
# █████ ░██ ██████ █████ ░██ ██
# ██░░░██ ░██ ██░░░░██ ██░░░██░██ ██
# ░██ ░░ ░██░██ ░██░██ ░░ ░████
# ░██ ██ ░██░██ ░██░██ ██░██░██
# ░░█████ ███░░██████ ░░█████ ░██░░██
# ░░░░░ ░░░ ░░░░░░ ░░░░░ ░░ ░░
#
# ▓▓▓▓▓▓▓▓▓▓
# ░▓ author ▓ xero <x@xero.nu>
# ░▓ code ▓ http://code.xero.nu/dotfiles
# ░▓ mirror ▓ http://git.io/.files
# ░▓▓▓▓▓▓▓▓▓▓
# ░░░░░░░░░░
#
#█▓▒░ lemonbar clock

f="-Gohu-GohuFont-Medium-R-Normal--11-80-100-100-C-60-ISO10646-1"
fg='#ffd0d8e0'
bg='#ff111111'

while :; do
echo "%{c} $(date "+%H:%M %Y-%m-%d")%{c}"
sleep 1 || break
done | lemonbar -d -p -g 111x16+0+0 -f $f -B $bg -F $fg
24 changes: 24 additions & 0 deletions 2bwm/bin/display
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/sh
# ██ ██ ██ ██ ██
# ░██ ░██ ░░ ░██ ░██
# ██████████ ██ ██ ░██ ██████ ██░██ █████ ██████ ░██
# ░░██░░██░░██░██ ░██ ░██░░░██░ ░██░██████ ██░░░██ ░░░░░░██ ██████
# ░██ ░██ ░██░██ ░██ ░██ ░██ ░██░██░░░██░███████ ███████ ██░░░██
# ░██ ░██ ░██░██ ░██ ░██ ░██ ░██░██ ░██░██░░░░ ██░░░░██ ░██ ░██
# ███ ░██ ░██░░██████ ███ ░░██ ░██░██ ░██░░██████░░████████░░██████
# ░░░ ░░ ░░ ░░░░░░ ░░░ ░░ ░░ ░░ ░░ ░░░░░░ ░░░░░░░░ ░░░░░░

#file="/tmp/_triplemon"
#if [ ! -f $file ]
#then
# xrandr --setprovideroutputsource 1 0
# xrandr --newmode 1920x1080x 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +Hsync +Vsync
# xrandr --addmode DVI-I-1 1920x1080x
# xrandr --output VIRTUAL1 --off --output eDP1 --mode 1440x900 --pos 0x0 --rotate normal --output DP1 --off --output HDMI2 --off --output HDMI1 --mode 1920x1080 --pos 1440x0 --rotate normal --output DVI-I-1-1 --mode 1920x1080x --pos 3360x0 --rotate normal --output DP2 --off
# xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1440x900 --pos 0x0 --rotate normal --output DP1 --off --output DVI-I-1-1 --mode 1920x1080 --pos 3360x0 --rotate normal --output HDMI2 --off --output HDMI1 --mode 1920x1080 --pos 1440x0 --rotate normal --output DP2 --off
# echo "setup" > $file
#fi
compton --config ~/.config/compton.conf &
sleep 2 &
#nitrogen --restore &
hsetroot -fill ~/images/wallpaper/miasma.png &
24 changes: 24 additions & 0 deletions 2bwm/bin/tray
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/sh
# ██
# ░██
# ██████ ██████ ██████ ██ ██
# ░░░██░ ░░██░░█ ░░░░░░██ ░░██ ██
# ░██ ░██ ░ ███████ ░░███
# ░██ ░██ ██░░░░██ ░██
# ░░██ ░███ ░░████████ ██
# ░░ ░░░ ░░░░░░░░ ██
# ░░

stalonetray --kludges fix_window_pos --dockapp-mode simple --geometry 1x1+111 &

# keyring
gnome-keyring-daemon &

# wifi
#/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &

# sound mixer
pnmixer &

# clipboard manager
clipit &
17 changes: 17 additions & 0 deletions 2bwm/bin/wm
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/sh
#
# ████ ██
# █░░░ █░██
# ░ ░█░██ ███ ██ ██████████
# ███ ░██████ ░░██ █ ░██░░██░░██░░██
# █░░ ░██░░░██ ░██ ███░██ ░██ ░██ ░██
# █ ░██ ░██ ░████░████ ░██ ░██ ░██
# ░██████░██████ ███░ ░░░██ ███ ░██ ░██
# ░░░░░░ ░░░░░ ░░░ ░░░ ░░░ ░░ ░░

2bwm &

~/bin/display &
~/bin/tray &
~/bin/clock &
~/bin/xwait
15 changes: 15 additions & 0 deletions 2bwm/bin/xwait
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh
# ██ ██
# ░░ ░██
# ██ ██ ███ ██ ██████ ██ ██████
#░░██ ██ ░░██ █ ░██ ░░░░░░██ ░██░░░██░
# ░░███ ░██ ███░██ ███████ ░██ ░██
# ██░██ ░████░████ ██░░░░██ ░██ ░██
# ██ ░░██ ███░ ░░░██░░████████░██ ░░██
#░░ ░░ ░░░ ░░░ ░░░░░░░░ ░░ ░░
#
# yes, this is pointless loop to hold x open :P

while :; do
sleep 10
done
14 changes: 7 additions & 7 deletions bin/bin/sysinfo
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@
#FULL=▓
#EMPTY=░
FULL=━
EMPTY=━
#EMPTY=━
#EMPTY=─
#FULL=┅
#EMPTY=┄
EMPTY=┄

name=$USER
host=`hostname`
battery=/sys/class/power_supply/BAT1
distro="arch linux"
kernel=`uname -r`
pkgs=`pacman -Qqs | wc -l`
colors='sourcerer'
colors='miasma'
font='gohufont 11'
wm='herbstluftwm'
wm='2bwm'

#█▓▒░ progress bar
#█▓▒░ progress bar
draw()
{
perc=$1
Expand All @@ -56,7 +56,7 @@ draw()
printf $out
}

#█▓▒░ colors
#█▓▒░ colors
printf "\n"
i=0
while [ $i -le 6 ]
Expand Down Expand Up @@ -89,7 +89,7 @@ printf " \e[0;36m%-4s \e[1;36m%-5s %-25s \n" " cpu" "$c_lvl%" `draw $c_lvl 15`
ram=`free | awk '/Mem:/ {print int($3/$2 * 100.0)}'`
printf " \e[0;36m%-4s \e[1;36m%-5s %-25s \n" " ram" "$ram%" `draw $ram 15`

#█▓▒░ battery
#█▓▒░ battery
b_full=$battery/charge_full
b_now=$battery/charge_now
bf=`cat $b_full`
Expand Down
54 changes: 54 additions & 0 deletions cmus/.cmus/blaquemagick.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Directory colors
set color_win_dir=66

# Normal text
set color_win_fg=251

# Window background color.
set color_win_bg=234

# Command line color.
set color_cmdline_bg=0
set color_cmdline_fg=102

# Color of error messages displayed on the command line.
set color_error=lightred

# Color of informational messages displayed on the command line.
set color_info=lightgreen

# Color of the separator line between windows in view (1).
set color_separator=101

# Color of window titles (topmost line of the screen).
set color_win_title_bg=0
set color_win_title_fg=66

# Status line color.
set color_statusline_bg=234
set color_statusline_fg=101

# Color of currently playing track.
set color_win_cur=66

# Color of the line displaying currently playing track.
set color_titleline_bg=0
set color_titleline_fg=103

# Color of the selected row which is also the currently playing track in active window.
set color_win_cur_sel_bg=0
set color_win_cur_sel_fg=66

# Color of the selected row which is also the currently playing track in inactive window.
set color_win_inactive_cur_sel_bg=0
set color_win_inactive_cur_sel_fg=66

# Color of selected row in active window.
set color_win_sel_bg=0
set color_win_sel_fg=66

# Color of selected row in inactive window.
set color_win_inactive_sel_bg=0
set color_win_inactive_sel_fg=102


2 changes: 2 additions & 0 deletions cmus/.cmus/command-history
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
colorscheme blaquemagick
add ~/music/
12 changes: 6 additions & 6 deletions compton/.config/compton.conf
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Shadow
shadow = false;
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
#clear-shadow = true;
#shadow-radius = 7;
#shadow-offset-x = -7;
#shadow-offset-y = -7;
shadow-opacity = 0.4;
shadow-radius = 3;
shadow-offset-x = 3;
shadow-offset-y = 3;
shadow-opacity = 0.3;
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
shadow-exclude = [ "n:e:xfce4-notifyd" ];
shadow-exclude = [ "n:e:xfce4-notifyd", "n:e:interrobang" ];
#shadow-ignore-shaped = false;

# Opacity
Expand Down
Loading

0 comments on commit b218400

Please sign in to comment.