From 6884794d8b05bcdeee7b001f9da8cfd55ed207c7 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Sat, 23 Nov 2019 14:46:58 -0500 Subject: [PATCH] first commit --- Xdefaults | 99 ++++++++++++++++++ kshrc | 66 ++++++++++++ openbox/autostart | 11 ++ openbox/environment | 10 ++ openbox/menu.xml | 61 +++++++++++ openbox/rc.xml | 144 +++++++++++++++++++++++++ userChrome.css | 250 ++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 641 insertions(+) create mode 100644 Xdefaults create mode 100644 kshrc create mode 100755 openbox/autostart create mode 100755 openbox/environment create mode 100755 openbox/menu.xml create mode 100755 openbox/rc.xml create mode 100755 userChrome.css diff --git a/Xdefaults b/Xdefaults new file mode 100644 index 0000000..1415507 --- /dev/null +++ b/Xdefaults @@ -0,0 +1,99 @@ + +! Xft settings --------------------------------------------------------- +Xft.dpi: 96 +Xft.autohint: 0 +Xft.lcdfilter: lcddefault +Xft.antialias: 1 +Xft.rgba: rgb +Xft.hinting: 1 +Xft.hintstyle: hintfull + +! xfontsel ------------------------------------------------------------- +xfontsel*Background: black +xfontsel*Foreground: white + +! urxvt settings + +URxvt*cursorColor: #D33682 +URxvt*cursorBlink: true +URxvt*foreground: #93A1A1 +!URxvt*background: #000f19 +URxvt*background: rgba:0000/0f00/1900/c800 +URxvt*scrollBar: true +URxvt*scrollBar_right: true +URxvt*scrollBar_floating: True +URxvt*scrollstyle: plain +URxvt*scrollColor: #797979 +URxvt*thickness: 6 +!URxvt*transparent: True +!URxvt*tintColor: #002b36 +URxvt*saveLines:999999 +URxvt*geometry: 113x45 +URxvt*depth:32 + +!black +*color0: #161616 +*color8: #2B2B2B +!red +*color1: #990910 +*color9: #D0141D +!green +*color2: #099961 +*color10: #14d080 +!yellow +*color3: #996b09 +*color11: #D09414 +!blue +*color4: #096d99 +*color12: #1482D0 +!magenta +*color5: #99094f +*color13: #D33682 +!cyan +*color6: #09998d +*color14: #36D3C6 +!white +*color7: #586E75 +*color15: #A1C5C5 + +XTerm*cursorColor: #D33682 +XTerm*background: #000000 +XTerm*foreground: #93A1A1 + +URxvt.font: xft:LucidaTypewriter:size=9 +URxvt.boldFont: xft:LucidaTypewriter:style=Bold:size=9 + +URxvt.colorUL: #93C0BE + +! xosview + +xosview*captions: False +xosview*font: *-lucidatypewriter-medium-*12-*-75-* +xosview*background: #000000 +xosview*foreground: #797979 +xosview*cpuUserColor: #1f9b92 +xosview*cpuFreeColor: #000f19 +xosview*cpuPriority: 2 +xosview*cpuGraph: False +xosview*cpuFields: USED +xosview:cpuFormat: all +xosview*memUsedColor: #1f9b92 +xosview*memSharedColor: #1f9b92 +xosview*memMapColor: #1f9b92 +xosview*memBufferColor: #c8c8c8 +xosview*memCacheColor: #c8c8c8 +xosview*memFreeColor: #000f19 +xosview*loadProcColor: #1f9b92 +xosview*loadIdleColor: #000f19 +xosview*loadCritColor: #d09149 +xosview*netInColor: #1f9b92 +xosview*netOutColor: #c8c8c8 +xosview*netBackground: #000f19 +xosview*batteryLeftColor: #1f9b92 +xosview*batteryFullColor: #1f9b92 +xosview*batteryLowColor: #c8c8c8 +xosview*batteryUsedColor: #000f19 +xosview*PoorQualityColor: #c8c8c8 +xosview*FairQualityColor: #c8c8c8 +xosview*GoodQualityColor: #1f9b92 +xosview*wirelessUsedColor: #000f19 \ No newline at end of file diff --git a/kshrc b/kshrc new file mode 100644 index 0000000..3da984c --- /dev/null +++ b/kshrc @@ -0,0 +1,66 @@ +dolphin() +{ + /home/nilix/src/myUtils/swarpabuse.sh 360 & + dolphin-emu; + killall swarpabuse.sh +} + +indicator() +{ + if [ $(whoami) != root ]; then + echo "%" + else echo "#" + fi +} + +silence() +{ + "$@" > /dev/null & exit +} + +search() +{ + firefox https://duckduckgo.com/?q="$*" > /dev/null & exit +} + +acmeInit() +{ + tabstop=2 + acme -ab & sleep 0.2; + transset -n acme --no-regex 0.85; + exit +} + +9man() +{ + man -c "$@" | ul +} + +alias web='silence firefox' +alias mail='silence thunderbird' +alias fs='silence thunar' +alias office='silence libreoffice' +alias acme='acmeInit' +alias man='9man' + +alias ls='ls -lh --group-directories-first' + +if [ -d ~/bin ]; then + PATH=~/bin:${PATH} + for x in ~/bin/*; do + if [ -d $x ]; then + PATH=${x}:${PATH} + fi + done +fi + +export GTK_THEME=steppenwolf-dark +export GPG_TTY=$(tty) +VISUAL=nano +EDITOR=nano +if [ "$TERM" = "dumb" ]; then + PS1='$(indicator) ' +else + PS1='\033]0;$(whoami)@$(hostname): ${PWD}\007[ $(hostname): ${PWD} ]\n$(indicator) ' +fi +bind -m '^L'='^C'clear'^J' diff --git a/openbox/autostart b/openbox/autostart new file mode 100755 index 0000000..f168c3b --- /dev/null +++ b/openbox/autostart @@ -0,0 +1,11 @@ +env QT_QPA_PLATFORMTHEME=qt5ct +env GTK_THEME=steppenwolf-dark + +xset -b +pulseaudio --start & +xcompmgr -n & +~/.fehbg & + +udiskie -T & +xosview -load +cpus +mem +battery +net +wireless -page -swap -disk & +wmclock & \ No newline at end of file diff --git a/openbox/environment b/openbox/environment new file mode 100755 index 0000000..3311bd6 --- /dev/null +++ b/openbox/environment @@ -0,0 +1,10 @@ +# +# Set system-wide environment variables here for Openbox +# User-specific variables should be placed in $HOME/.config/openbox/environment +# + +# To set your language for displaying messages and time/date formats, use the following: +#LANG=en_CA.UTF8 + +# To set your keyboard layout, you need to modify your X config: +# http://www.google.com/search?q=how+to+set+keyboard+layout+xorg diff --git a/openbox/menu.xml b/openbox/menu.xml new file mode 100755 index 0000000..df76f2b --- /dev/null +++ b/openbox/menu.xml @@ -0,0 +1,61 @@ + + + + + + ~/bin/riosh/rio.sh new + + + + + ~/bin/riosh/rio.sh resize + + + + + ~/bin/riosh/rio.sh move + + + + + ~/bin/riosh/rio.sh delete + + + + + ~/bin/riosh/rio.sh hide + + + + + + sxiv -t /home/nilix/lib/img/ + + + + + + obmenu + + + + + obconf-qt + + + + + lxappearance + + + + + + + + + sudo oblogout + + + + diff --git a/openbox/rc.xml b/openbox/rc.xml new file mode 100755 index 0000000..5d05feb --- /dev/null +++ b/openbox/rc.xml @@ -0,0 +1,144 @@ + + +1020yesyesyesno200noSmartPrimary199yesyeslucidatypewriter2NormalNormallucidatypewriter2NormalNormallucidatypewriter9NormalNormallucidatypewriter9NormalNormallucidatypewriter9NormalNormallucidatypewriter9NormalNormal41WXYZ05875yesAlwaysCenter-180-120000BottomRight906806yesNormalVerticalno300300MiddleC-gleftnorightnoupnodownnoleftnorightnoupnodownno1234horizontalverticalclient-menunonoyesyesrightleftupdownslock/home/nilix/bin/myUtils/oblogout_wrapper.sh/home/nilix/bin/myUtils/steez.sh/home/nilix/bin/myUtils/qwopTiler.sh -v/home/nilix/bin/myUtils/qwopTiler.sh -h/home/nilix/bin/myUtils/qwopTiler.sh -l/home/nilix/bin/myUtils/qwopTiler.sh -j/home/nilix/bin/myUtils/qwopTiler.sh -k/home/nilix/bin/myUtils/qwopTiler.sh -q/home/nilix/bin/myUtils/qwopTiler.sh -w/home/nilix/bin/myUtils/qwopTiler.sh -o/home/nilix/bin/myUtils/qwopTiler.sh -popenbox --reconfigurekillall -s SIGUSR1 dzen21500400falsepreviousnextpreviousnextpreviousnextnoyesclient-menutopleftrightbottomclient-menuclient-menuclient-menuverticalhorizontalclient-list-combined-menuroot-menupreviousnextpreviousnextmenu.xml200no100400yesyesyesyesallnobelow-4-26yesyesallnobelow-4-126allabovecentercenterallyesyesnono00s> + + diff --git a/userChrome.css b/userChrome.css new file mode 100755 index 0000000..8738ba7 --- /dev/null +++ b/userChrome.css @@ -0,0 +1,250 @@ +@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/** + * Due way style sheets are loaded, some styles in this sheet may not apply. To + * ensure that our styles work as intended, we load additional CSS via XBL and + * JavaScript. + */ + + +/**Next two change new tab transition color from the normal 'white flash'*/ +:root { + --mcolor:#000000; + --tcolor:#ffffff; + --in-content-page-background:#0c0c0d /*tab flash on new tab*/ +} + +/*changes "flash" on tab open color*/ +#browser vbox#appcontent tabbrowser, +#content, +#tabbrowser-tabpanels, +browser[type=content-primary], +browser[type=content] > html + +{ +background: var(--in-content-page-background)!important +} + +/* HIDE DINOSAUR SHIT ---------------------------------------------------------------------------------------- */ +#PanelUI-button, +#home-button,#reload-button,#stop-button,#forward-button,#back-button, +#customizableui-special-spring1,#customizableui-special-spring2,#library-button, +#sidebar-button,.tabs-newtab-button,.tab-close-button,.tab-icon-image, +#identity-box,.urlbar-history-dropmarker,#pageActionButton,#pocket-button,#star-button, +#wrapper-alltabs-button,#wrapper-new-tab-button,#wrapper-customizableui-special-spring1, +#wrapper-customizableui-special-spring2,#wrapper-downloads-button, +#nav-bar-overflow-button,#downloads-button,.titlebar-spacer{ + visibility: collapse !important; +} + +#tracking-protection-icon-box +{ + position: absolute !important; + margin-top: 5px !important; + margin-left: -75px !important; +} + +.urlbar-icon{ + visibility: collapse !important; +} +/* hides a ugly black bottom background under each unfocused tab and urlbar*/ +#navigator-toolbox{ + --tabs-border-color: none !important; + --toolbox-border-bottom-color: none !important; + border: none !important; + margin: none !important; + padding: none !important; +} +/* Modify to change window drag space width */ +:root[tabsintitlebar="true"] #nav-bar{ --window-drag-space-width: 24px } + +.titlebar-buttonbox-container{ + position: fixed; + top:0; + right:0; + height: 40px; +} +/* ----------------------------------------------------------------------------------------------------------- */ +/* ----------------------------------------------------------------------------------------------------------- */ + +/* TABBAR ---------------------------------------------------------------------------------------------------- */ +/* 100% tabs width */ +.tabbrowser-tab[fadein]:not([pinned]) { + max-width: 100% !important; + font-size: 1em !important; +} +/* hides white borders between tabs */ +.tabbrowser-tab::after, .tabbrowser-tab::before { + border:none !important; +} +/* center tab text title */ +.tab-label { + -moz-box-flex: 1 !important; + text-align: center !important; + color : var(--tcolor); +} +.tab-throbber{ + margin: 0!important; + padding: 0!important; +} + +.tab-line{ + visibility: collapse !important; +} + +.tab-background { + border: none !important; + background-attachment: none!important; + background-color: var(--mcolor) !important; + background-image: none!important; +} + +.tabbrowser-tab:not([selected]) .tab-background { + border: none !important; + background-color: #000000 !important; +} + +.tab-label:not([selected]) +{ + color: #797979 !important; +} +/* ----------------------------------------------------------------------------------------------------------- */ +/* ----------------------------------------------------------------------------------------------------------- */ + + +/* URLBAR ---------------------------------------------------------------------------------------------------- */ +#nav-bar, #PersonalToolbar +{ + background-color: #000000 !important; + color: #797979 !important; + background-image: none !important; +} + +#urlbar{ + padding-left: 75px !important; + font-size: 1em !important; + text-align: center !important; + color: var(--tcolor) !important; + background-color: var(--mcolor) !important; + border: none !important; + box-shadow: none !important; + --toolbarbutton-border-radius: 0px !important; + margin: 0!important; +} +/* ----------------------------------------------------------------------------------------------------------- */ +/* ----------------------------------------------------------------------------------------------------------- */ + +/* AUTO HIDE TABBAR -------------------------------------------------------------------------------------------*/ +#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox { + min-height: 0 !important; +} + +#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"] { + visibility: collapse; +} +/* ----------------------------------------------------------------------------------------------------------- */ +/* ----------------------------------------------------------------------------------------------------------- */ + +/* AUTO HIDE URLBAR -------------------------------------------------------------------------------------------*/ +/* keep visible when urlbar is focused navbar is hovered or menubar/customization is open */ +/* +#nav-bar:not([customizing]){ + visibility: hidden; + margin-top: -28px !important;; + transition: visibility 0s linear 0.5s, margin-top 0s linear 0.5s; + transition-duration: 0.20s; +} +#urlbar:focus, +#navigator-toolbox:hover > #nav-bar:not([customizing]), +#toolbar-menubar:not([inactive="true"]) ~ #nav-bar:not([customizing]) { + visibility: visible; + margin-top: 0px !important;; + transition-delay: 2s; +}*/ + +/* +scrollbar { + z-index: 2147483647 !important; + position: relative !important; + transition: all 0s !important; +} +scrollbar, +scrollbar * { + -moz-appearance: none !important; + margin: 0px !important; + padding: 0px !important; + border: 0px !important; + box-shadow: none !important; + +} + +:not(select)>scrollbar[orient="vertical"], +html>scrollbar[orient="vertical"] { + -moz-margin-start: -12px !important; + max-width: 12px !important; + min-width: 12px !important; + + background: linear-gradient( rgba(0,0,0,0.2), rgba(0,0,0,0.2) ); + background-size: 1px 1px; + background-repeat: repeat-y !important; + background-position: 50% 0% !important; + cursor: row-resize; +} + +scrollbar[orient="horizontal"] { + margin-top: -12px !important; + max-height: 12px !important; + min-height: 12px !important; + + background: linear-gradient( rgba(0,0,0,0.2), rgba(0,0,0,0.2) ); + background-size: 1px 1px; + background-repeat: repeat-x; + background-position: 0% 50%; + cursor: col-resize; +} + +scrollbar thumb[orient="vertical"] { + min-height: 24px !important; + width: 12px !important; + min-width: 12px !important; + max-width: 12px !important; +} + +scrollbar thumb[orient="horizontal"] { + min-width: 24px !important; + height: 12px !important; + min-height: 12px !important; + max-height: 12px !important; +} + +scrollbar thumb { + border-radius: 6px !important; + background: transparent !important; + border: 2px solid rgba(0,255,255,0) !important; + box-shadow: 0 0 0 8px #272b35 inset !important; + transition: all 0s !important; + opacity: 1 !important; +} + +scrollbar:hover thumb, +scrollbar thumb:active { + box-shadow: 0 0 0 8px #cd23b9 inset !important; +} +*/ +/* no buttons */ +/*scrollbar scrollbarbutton{ + min-height: 0px !important; + min-width: 0px !important; + max-height: 12px !important; + max-width: 12px !important; + height: 0px !important; + width: 0px !important; +}*/ + +/* autohide */ +/*scrollbar:not(:hover) { + opacity: 0 !important; + transition: all .5s !important; +}*/ +