From eff04f9ced169aa8519423e93d4b6b78e8add0be Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Mon, 25 Nov 2019 09:07:54 -0500 Subject: [PATCH] added compton.conf and user-dirs, updated userChrome --- compton.conf | 25 ++++++++++++++++++ user-dirs.dirs | 15 +++++++++++ userChrome.css | 72 +++++++++++++++++++++++++++++++++++--------------- 3 files changed, 91 insertions(+), 21 deletions(-) create mode 100644 compton.conf create mode 100644 user-dirs.dirs diff --git a/compton.conf b/compton.conf new file mode 100644 index 0000000..73ed5c9 --- /dev/null +++ b/compton.conf @@ -0,0 +1,25 @@ +vsync = "opengl" +unredir-if-possible = true + +frame-opacity = 1 + +opacity-rule = [ + "85:window_type *= 'menu'", + "85:window_type *= 'dock'", + "85:window_type *= 'tooltip'", + "85:window_type *= 'notif'", + "85:name = 'acme'", + "85:class_i *= 'rxvt'", + "85:id = 0x803752", + "85:id = 0x800258", + "85:id = 0x800254", + "85:id = 0x803756", + "85:id = 0x120025a" +]; + +shadow-exclude = [ + "name = 'Notification'", + "name = 'dzen title'", + "window_type *= 'dock'", + "id = 0x120025a" +]; diff --git a/user-dirs.dirs b/user-dirs.dirs new file mode 100644 index 0000000..2ef0873 --- /dev/null +++ b/user-dirs.dirs @@ -0,0 +1,15 @@ +# This file is written by xdg-user-dirs-update +# If you want to change or add directories, just edit the line you're +# interested in. All local changes will be retained on the next run +# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped +# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an +# absolute path. No other format is supported. +# +XDG_DESKTOP_DIR="$HOME/tmp" +XDG_DOWNLOAD_DIR="$HOME/tmp" +XDG_TEMPLATES_DIR="$HOME/tmp" +XDG_PUBLICSHARE_DIR="$HOME/tmp" +XDG_DOCUMENTS_DIR="$HOME/lib/doc" +XDG_PICTURES_DIR="$HOME/lib/img" +XDG_MUSIC_DIR="$HOME/lib/music" +XDG_VIDEOS_DIR="$HOME/lib/video" diff --git a/userChrome.css b/userChrome.css index 8738ba7..ac644cb 100755 --- a/userChrome.css +++ b/userChrome.css @@ -7,7 +7,6 @@ * JavaScript. */ - /**Next two change new tab transition color from the normal 'white flash'*/ :root { --mcolor:#000000; @@ -40,22 +39,48 @@ background: var(--in-content-page-background)!important #tracking-protection-icon-box { - position: absolute !important; + position:absolute !important; margin-top: 5px !important; margin-left: -75px !important; } +/* + +#back-button,#forward-button,#reload-button,#stop-button,.tab-close-button +{ + visibility: visible !important; +} + +.tabs-newtab-button +{ + height: 1em !important; +} + +.tab-close-button +{ + height: 1em !important; + color: #ff00ff !important; +} + +.tab-close-button:hover +{ + color: #ffffff !important; + background-color: #000000 !important; +} +*/ .urlbar-icon{ visibility: collapse !important; } /* hides a ugly black bottom background under each unfocused tab and urlbar*/ #navigator-toolbox{ + background-color:#000000; --tabs-border-color: none !important; - --toolbox-border-bottom-color: none !important; + --toolbox-border-bottom-color: #000000 !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 } @@ -82,7 +107,7 @@ background: var(--in-content-page-background)!important .tab-label { -moz-box-flex: 1 !important; text-align: center !important; - color : var(--tcolor); + color : #ffffff; } .tab-throbber{ margin: 0!important; @@ -96,33 +121,31 @@ background: var(--in-content-page-background)!important .tab-background { border: none !important; background-attachment: none!important; - background-color: var(--mcolor) !important; - background-image: none!important; + background: #000000 !important; } -.tabbrowser-tab:not([selected]) .tab-background { - border: none !important; - background-color: #000000 !important; -} - -.tab-label:not([selected]) -{ +.tabbrowser-tab:not([selected]) .tab-label{ color: #797979 !important; } + +#TabsToolbar, #titlebar +{ + background: #000000 !important; +} /* ----------------------------------------------------------------------------------------------------------- */ /* ----------------------------------------------------------------------------------------------------------- */ /* URLBAR ---------------------------------------------------------------------------------------------------- */ -#nav-bar, #PersonalToolbar -{ - background-color: #000000 !important; - color: #797979 !important; - background-image: none !important; +#nav-bar { background-color: #000000 !important; + background-image: none !important; + color: #797979 !important; } #urlbar{ + padding-left: 75px !important; + padding-bottom: 0px !important; font-size: 1em !important; text-align: center !important; color: var(--tcolor) !important; @@ -130,7 +153,7 @@ background: var(--in-content-page-background)!important border: none !important; box-shadow: none !important; --toolbarbutton-border-radius: 0px !important; - margin: 0!important; + margin: 0 !important; } /* ----------------------------------------------------------------------------------------------------------- */ /* ----------------------------------------------------------------------------------------------------------- */ @@ -143,6 +166,14 @@ background: var(--in-content-page-background)!important #tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"] { visibility: collapse; } + +#PersonalToolbar +{ + background-color: #000000 !important; + background-image: none !important; + color: #797979 !important; +} + /* ----------------------------------------------------------------------------------------------------------- */ /* ----------------------------------------------------------------------------------------------------------- */ @@ -246,5 +277,4 @@ scrollbar thumb:active { /*scrollbar:not(:hover) { opacity: 0 !important; transition: all .5s !important; -}*/ - +}*/ \ No newline at end of file