dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit ac70d6d391649691d71fe860c579b90433619ce2
parent 76994f774814ac6e1d657f04b8f92aed7407ed75
Author: Robbie D <git@robertdherb.com>
Date:   Mon,  3 Jun 2019 22:36:46 -0500

Adding stuff

Diffstat:
simon/.Xdefaults | 50++++++++++++++++++++++++++++++--------------------
simon/.cwmrc | 17+++++++++++++++--
simon/.profile | 1+
simon/.xsession | 6+++---
simon/battstat.sh | 18++++++++++++++++++
5 files changed, 67 insertions(+), 25 deletions(-)

diff --git a/simon/.Xdefaults b/simon/.Xdefaults @@ -1,45 +1,55 @@ ! Geneal X settings +! Force Xterm to use standard clipboard +XTerm*selectToClipboard: true + Xcursor.theme: BMZ -! Xterm and urxvt colors +! Look and feel + +xterm*faceName: spleen:pixelsize=16:antialias=false + +! Scrollbars +XTerm*saveLines: 2048 + +! Colors ! special -*.foreground: #282a2e -*.background: #e9efe7 -*.cursorColor: #282a2e +*.foreground: #d29ee7 +*.background: #170a1c +*.cursorColor: #ff00ee ! black -*.color0: #282a2e -*.color8: #373b41 +*.color0: #140a18 +*.color8: #f85991 ! red -*.color1: #a54242 -*.color9: #cc6666 +*.color1: #211327 +*.color9: #31b0ec ! green -*.color2: #8c9440 -*.color10: #b5bd68 +*.color2: #37223e +*.color10: #d05af1 ! yellow -*.color3: #de935f -*.color11: #f0b645 +*.color3: #54375f +*.color11: #e27b9a ! blue -*.color4: #5f819d -*.color12: #81a2be +*.color4: #7a5288 +*.color12: #5fbaee ! magenta -*.color5: #85678f -*.color13: #b294bb +*.color5: #a574b7 +*.color13: #ce56ef ! cyan -*.color6: #5e8d87 -*.color14: #8abeb7 +*.color6: #c5a7d1 +*.color14: #8ccd57 ! white -*.color7: #707880 -*.color15: #2d2e2d +*.color7: #e9dfee +*.color15: #7bc6f7 ! urxvt specific options diff --git a/simon/.cwmrc b/simon/.cwmrc @@ -5,8 +5,16 @@ command "Claws Mail" /usr/local/bin/claws-mail command KeepassXC /usr/local/bin/keepassxc command GIMP /usr/local/bin/gimp command LibreOffice /usr/local/bin/libreoffice +command OpenTTD /usr/local/bin/openttd command Xterm /usr/X11R6/bin/xterm -command Shutdown exec /usr/home/overseer/wmx/7.\ Shutdown +command Shutdown "/usr/home/overseer/.wmx/7.\ Shutdown" # Need to figure out why this doesn't work. + +# Menu Colors + +color font "#d29ee7" +color menubg "#170a1c" +color menufg "#d29ee7" +color selfont "#170a1c" # Big decisions @@ -15,6 +23,10 @@ sticky yes snapdist 10 gap 26 0 0 0 +fontname "spleen:pixelsize=16:antialias=false" + +color activeborder "#d05af1" +color inactiveborder "#170a1c" # Key bindings unbind-key all # Necessary to use Firefox's new ALT-LEFT for back @@ -26,6 +38,7 @@ bind-key 4-a menu-window bind-key M-Tab window-cycle bind-key MS-Tab window-rcycle bind-key 4-q window-delete +bind-key 4-Tab window-hide bind-key 4-Up window-raise bind-key 4-Down window-lower @@ -36,7 +49,7 @@ bind-key 4S-j window-move-down bind-key 4S-k window-move-up bind-key 4S-l window-move-right -bind-key 4S-r restart +bind-key 4S-Tab restart # Mouse bindings #unbind-mouse all # Might as well, since we're rebinding the keyboard to 4 diff --git a/simon/.profile b/simon/.profile @@ -5,3 +5,4 @@ PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games export PATH HOME TERM alias ls='ls -F' +export poweroff='shutdown -p now' diff --git a/simon/.xsession b/simon/.xsession @@ -5,8 +5,8 @@ xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2 & xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Timeout" 50 & xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Intertia" 3 & -exec tint2 & +exec xterm -fd 'Noto Emoji' -geometry 37x1+1298+0 +sb -cr 170a1c -e ~/battstat.sh & exec dunst -conf /home/overseer/.config/dunstrc/dunstrc & -exec feh --bg-fill /home/overseer/Pictures/Wallpapers/dragon.jpg & +exec feh --bg-fill /home/overseer/Pictures/Wallpapers/RainbowCity.jpg & xrdb ~/.Xresources & -exec wmx +exec cwm diff --git a/simon/battstat.sh b/simon/battstat.sh @@ -0,0 +1,18 @@ +#! /bin/ksh + +while true + do + PER=$(apm -l) + # MIN=$(apm -m) + TIME=$(date +"%a %b %e %Y %H:%M %Z") + if [ $(apm -a) == 1 ]; then + ICON="🔌" + else + ICON="🔋" + fi + #echo -n " " $PER "% | Mins left: " $MIN " | " $TIME + echo "" # Make a new line so the next command doesn't run on + echo -n " "$ICON$PER"% | " $TIME + + sleep 30 +done