# fontconfig
/fonts/**/.uuid
+/fonts/**/fonts.dir
+/fonts/**/fonts.scale
Xft.dpi: 96
Xft.hinting: true
Xft.hintstyle: hintslight
-Xft.rgba: none
+Xft.rgba: rgb
! theming
Xcursor.theme: Paper-Mono-Dark
gtk-theme-name="Blackbird"
gtk-icon-theme-name="Paper-Mono-Dark"
-gtk-font-name="Dina 10"
+gtk-font-name="monospace-10"
gtk-cursor-theme-name="Paper-Mono-Dark"
-Subproject commit 43d2678fa59d068c815d8298331c195e850ff5a7
+Subproject commit ae361bea990e27d5beade3a8d9fa22e25cec3100
-Subproject commit 799cd3473bc64adcb6b556bf349f549570666b62
+Subproject commit ce2f1aae9f2be128b4ca322a8e797be3ae40c30b
-Subproject commit 597068870b8f093a8b2d11536c62ff31222ee8d0
+Subproject commit fab8621670f71637e9960003af28365129b1dfd0
xset s off
xset dpms 0 0 600
-find -L "${XDG_DATA_HOME:-~/share}/fonts" -type d -mindepth 1 -maxdepth 1 | while read -r x; do
- xset +fp $x/
+find -L "${XDG_DATA_HOME:-~/share}/fonts" -type d -mindepth 1 -maxdepth 2 | while read -r x; do
+ [ -f "$x/fonts.dir" ] && xset +fp $x
done
xset fp rehash
-#XXX: $PATH gets unset on alpine???
+#XXX: ensure we override /etc/profile, gets loaded after .zshenv
source ~/.zshenv
t="/tmp/home-$LOGNAME"
zstyle ':vcs_info:git*' unstagedstr "%F{$r}*"
add-zsh-hook precmd prompt_ds6_precmd
+ add-zsh-hook preexec prompt_ds6_preexec
zle -N zle-line-init
zle -A zle-line-init zle-keymap-select
}
zle reset-prompt
}
-function prompt_ds6_precmd() {
+function prompt_ds6_precmd {
# TODO: check if vcs_info is autoloaded
vcs_info
}
+function prompt_ds6_preexec {
+ print -Pn "%F{red}<<<%f "
+}
+
prompt_ds6_setup "$@"
# vim: set et fenc=utf-8 ft=zsh sts=4 sw=4 ts=8 tw=0 :
### applications
export PYTHONSTARTUP=~/.pythonrc
+## perl
+eval $(perl -I $XDG_DATA_HOME/perl5/lib/perl5 -Mlocal::lib=$XDG_DATA_HOME/perl5)
### freebsd
if [[ "$OSTYPE" =~ "^freebsd" ]]; then
#!/bin/sh
-exec `which -a dmenu | grep -iv ~ | head -1` -fn 'Dina-10' -nb \#110800 -nf \#93a1a1 -sb \#aa5500 -sf \#eee8d5 "$@"
+exec `which -a dmenu | grep -iv ~ | head -1` -b -f -fn 'monospace-10' -nb \#110800 -nf \#93a1a1 -sb \#aa5500 -sf \#eee8d5 "$@"
#!/bin/sh
pkill redshift > /dev/null 2>&1
-redshift -l manual:lat=38.95171:lon=-92.33407 -m randr -t 6600:4000 -r &
+redshift -l manual:lat=38:lon=-92 -m randr -t 6600:4000 -r &
xrandr --output $output --rotation $rot1
# x220t
-if [ -x /usr/local/bin/xsetwacom ]; then
+if which xsetwacom >/dev/null; then
xsetwacom --set stylus Rotate $rot2
xsetwacom --set eraser Rotate $rot2
xsetwacom --set touch Rotate $rot2
--- /dev/null
+#!/bin/sh
+cpanm --local-lib=$XDG_DATA_HOME/perl5 local::lib
low=$base-low.svg
muted=$base-muted.svg
+# TODO: doesn't work if no master mixer, eg usb dac
ident="iface=MIXER,name=Master Playback Volume"
eval $(amixer cget "$ident" | grep -o 'max=\d\+')
/*** Dark theme ***/
/* inspired by https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme */
+@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-*|*:root {
+/* adjust internal vars */
+*:root {
/*TODO: eventually change to use lwt/chrome/-moz colors*/
--in-content-page-color: #ccc !important;
--in-content-page-background: #222 !important;
--in-content-box-background-hover: #555 !important;
--in-content-box-background-active: #333 !important;
--in-content-box-border-color: #777 !important;
+ --info-box-background-color: var(--in-content-box-background) !important;
+ --info-box-border-color: var(--in-content-box-border-color) !important;
/* --in-content-item-hover: rgba(0,149,221,0.25); */
--in-content-item-selected: -moz-cellhighlight !important;
/* --in-content-border-highlight: #0a84ff; */
background: var(--in-content-box-background) !important;
}
}
-@-moz-document url(about:plugins) {
- body {
+@-moz-document url(about:plugins), url(about:restartrequired),
+ url(about:serviceworkers), url(about:webrtc) {
+ html, body {
+ /* XXX: doesnt always apply */
background-color: var(--in-content-background-color) !important;
}
}
-/*todo: RESTARTREQUIRED*/
-
-/* These variable changes the scrollbars size and color.
- * The scrollbars-width only has 3 acceptable values:
- * auto: default OS size
- * thin: half the width (will be hidden in about: pages)
- * none: hidden scrollbar
- */
-*|*:root {
- --scrollbars-width: thin;
- --scrollbars-thumb-color: #05a;
- --scrollbars-track-color: #252525;
- scrollbar-color: var(--scrollbars-thumb-color) var(--scrollbars-track-color) !important;
- scrollbar-width: var(--scrollbars-width) !important;
+@-moz-document url(about:webrtc) {
+ .stats, .log {
+ background-color: var(--info-box-background-color) !important;
+ border-color: var(--info-box-border-color) !important;
+ }
}
-*|* {
- scrollbar-width: var(--scrollbars-width) !important;
+@-moz-document url(about:preferences), url(about:addons) {
+ .info-panel, .extension-controlled {
+ background-color: var(--info-box-background-color) !important;
+ border-color: var(--info-box-border-color) !important;
+ }
+}
+
+/* Scrollbar */
+xul|page, xul|scrollbar, *:root {
+ /* scrollbar-color: rgb(210, 210, 210) rgb(46, 54, 69) !important; */
+ scrollbar-color: #05a #252525 !important;
+ scrollbar-width: none !important;
}
/* This should change the "not found" page image colors */
-.illustrated #errorPageContainer:not(.button-container),
-#lic-info .license-header:not(a) {
+#errorPageContainer:not(.button-container),
+#your-rights .rights-header,
+#lic-info .license-header {
filter: invert(95%) hue-rotate(200deg)
}
@-moz-document url(about:devtools) {
}
}
/* This fixes the inverted colors caused by the image filter */
-.illustrated #errorPageContainer .button-container,
-.illustrated #errorPageContainer #text-container,
-#lic-info .license-header p,
-#lic-info .license-header h1 {
+#errorPageContainer .button-container,
+#errorPageContainer #text-container,
+#your-rights .rights-header div,
+#lic-info .license-header div {
filter: invert(95%) hue-rotate(-200deg)
}
/* View source */
-@-moz-document url-prefix(view-source:){
-html {
- background: #222 !important;
- color: #ccc !important}
-
+@-moz-document url-prefix(view-source:) {
+ html {
+ background: #222 !important;
+ color: #ccc !important;
+ }
.attribute-name {color: #093 !important}
.start-tag, .end-tag {color: #f93 !important}
.attribute-value {color: #09f !important}
https://opensource.org/licenses/MIT
-->
-<!-- Run userChrome.js/userChrome.xul and .uc.js/.uc.xul/.css files -->
+<!-- Run userChrome.js/userChrome.xul and .uc.js/.uc.xul/as.css files -->
<bindings xmlns="http://www.mozilla.org/xbl">
- <binding id="js" extends="chrome://global/content/bindings/toolbarbutton.xml#menu">
- <implementation>
- <constructor><![CDATA[
- if(window.userChromeJsMod) return;
- window.userChromeJsMod = true;
-
- var chromeFiles = FileUtils.getDir("UChrm", []).directoryEntries;
- var xulFiles = [];
- var sss = Cc['@mozilla.org/content/style-sheet-service;1'].getService(Ci.nsIStyleSheetService);
-
- while(chromeFiles.hasMoreElements()) {
- var file = chromeFiles.getNext().QueryInterface(Ci.nsIFile);
- var fileURI = Services.io.newFileURI(file);
-
- if(file.isFile()) {
- if(/(^userChrome|\.uc)\.js$/i.test(file.leafName)) {
- Services.scriptloader.loadSubScriptWithOptions(fileURI.spec, {target: window, ignoreCache: true});
- }
- else if(/(^userChrome|\.uc)\.xul$/i.test(file.leafName)) {
- xulFiles.push(fileURI.spec);
- }
- else if(/\.as\.css$/i.test(file.leafName)) {
- if(!sss.sheetRegistered(fileURI, sss.AGENT_SHEET))
- sss.loadAndRegisterSheet(fileURI, sss.AGENT_SHEET);
- }
- else if(/^(?!(userChrome|userContent)\.css$).+\.css$/i.test(file.leafName)) {
- if(!sss.sheetRegistered(fileURI, sss.USER_SHEET))
- sss.loadAndRegisterSheet(fileURI, sss.USER_SHEET);
- }
- }
- }
-
- setTimeout(function loadXUL() {
- if(xulFiles.length > 0) {
- document.loadOverlay(xulFiles.shift(), null);
- setTimeout(loadXUL, 5);
- }
- }, 0);
- ]]></constructor>
- </implementation>
- </binding>
+ <binding id="js" extends="chrome://global/content/bindings/toolbarbutton.xml#menu">
+ <implementation>
+ <constructor><![CDATA[
+ if(window.userChromeJsMod) return;
+ window.userChromeJsMod = true;
+
+ var chromeFiles = FileUtils.getDir("UChrm", []).directoryEntries;
+ var xulFiles = [];
+ var sss = Cc['@mozilla.org/content/style-sheet-service;1'].getService(Ci.nsIStyleSheetService);
+
+ while(chromeFiles.hasMoreElements()) {
+ var file = chromeFiles.getNext().QueryInterface(Ci.nsIFile);
+ var fileURI = Services.io.newFileURI(file);
+
+ if(file.isFile()) {
+ if(/(^userChrome|\.uc)\.js$/i.test(file.leafName)) {
+ Services.scriptloader.loadSubScriptWithOptions(fileURI.spec, {target: window, ignoreCache: true});
+ }
+ else if(/(^userChrome|\.uc)\.xul$/i.test(file.leafName)) {
+ xulFiles.push(fileURI.spec);
+ }
+ else if(/\.as\.css$/i.test(file.leafName)) {
+ if(!sss.sheetRegistered(fileURI, sss.AGENT_SHEET))
+ sss.loadAndRegisterSheet(fileURI, sss.AGENT_SHEET);
+ }
+ else if(/^(?!(userChrome|userContent)\.css$).+\.css$/i.test(file.leafName)) {
+ if(!sss.sheetRegistered(fileURI, sss.USER_SHEET))
+ sss.loadAndRegisterSheet(fileURI, sss.USER_SHEET);
+ }
+ }
+ }
+
+ setTimeout(function loadXUL() {
+ if(xulFiles.length > 0) {
+ document.loadOverlay(xulFiles.shift(), null);
+ setTimeout(loadXUL, 5);
+ }
+ }, 0);
+ ]]></constructor>
+ </implementation>
+ </binding>
</bindings>
fi
echo >> user.js
cat user-overrides.js >> user.js
+echo Updated!
diff user.js.bak user.js 2>/dev/null
// 0105d
user_pref("browser.library.activity-stream.enabled", false);
-// 0420: uMatrix
-user_pref("privacy.trackingprotection.pbmode.enabled", false);
-user_pref("privacy.trackingprotection.enabled", false);
-// 0422: uMatrix
-user_pref("urlclassifier.trackingTable", "");
-
-
// 0515
user_pref("extensions.screenshots.disabled", true);
user_pref("extensions.screenshots.upload-disabled", true);
user_pref("network.trr.bootstrapAddress", "");
user_pref("network.trr.uri", "");
-// 0850a
-user_pref("browser.urlbar.autocomplete.enabled", true);
-user_pref("browser.urlbar.suggest.history", true);
-user_pref("browser.urlbar.suggest.bookmark", true);
-user_pref("browser.urlbar.suggest.openpage", true);
-
// 0901
user_pref("signon.rememberSignons", false);
// 0903
// 1263
user_pref("security.ssl3.dhe_rsa_aes_128_sha", false);
user_pref("security.ssl3.dhe_rsa_aes_256_sha", false);
+// 1264
+user_pref("security.ssl3.rsa_aes_128_sha", false);
+user_pref("security.ssl3.rsa_aes_256_sha", false);
// 1401
-//user_pref("browser.display.use_document_fonts", 1);
-user_pref("font.name.serif.x-unicode", "Source Serif Pro");
-user_pref("font.name.serif.x-western", "Source Serif Pro");
-user_pref("font.name.sans-serif.x-unicode", "Source Sans Pro");
-user_pref("font.name.sans-serif.x-western", "Source Sans pro");
-user_pref("font.name.monospace.x-unicode", "Dina");
-user_pref("font.name.monospace.x-western", "Dina");
+user_pref("browser.display.use_document_fonts", 1);
+//user_pref("font.name.serif.x-unicode", "Source Serif Pro");
+//user_pref("font.name.serif.x-western", "Source Serif Pro");
+//user_pref("font.name.sans-serif.x-unicode", "Source Sans Pro");
+//user_pref("font.name.sans-serif.x-western", "Source Sans pro");
+//user_pref("font.name.monospace.x-unicode", "Dina");
+//user_pref("font.name.monospace.x-western", "Dina");
// 1406
-//user_pref("layout.css.font-loading-api.enabled", true);
+user_pref("layout.css.font-loading-api.enabled", true);
// 1603: uMatrix
user_pref("network.http.referer.XOriginPolicy", 0);
-// 1606: uMatrix
-user_pref("network.http.referer.spoofSource", true);
// 2212
user_pref("dom.popup_allowed_events", "click dblclick notificationclick");
user_pref("dom.webnotifications.enabled", true);
user_pref("dom.webnotifications.serviceworker.enabled", true);
-// 2401
-//user_pref("dom.event.contextmenu.enabled", false);
// 2402
user_pref("dom.event.clipboardevents.enabled", true);
-// 2508
-user_pref("layers.acceleration.disabled", false);
-// 2609
-user_pref("mathml.disabled", false);
-// 2610
-user_pref("middlemouse.contentLoadURL", true);
-// 2618
-user_pref("ui.use_standins_for_native_colors", false);
-
// 2662
user_pref("extensions.webextensions.restrictedDomains", "");
user_pref("privacy.cpd.history", false);
user_pref("privacy.cpd.downloads", false);
+// 4504
+user_pref("privacy.resistFingerprinting.letterboxing", false);
+
// 5000
/* WELCOME & WHAT's NEW NOTICES ***/
user_pref("browser.startup.homepage_override.mstone", "ignore");
/* WARNINGS ***/
user_pref("full-screen-api.warning.delay", 0);
user_pref("full-screen-api.warning.timeout", 0);
+user_pref("general.warnOnAboutConfig", false);
+user_pref("general.aboutConfig.showWarning", false);
/* APPEARANCE ***/
user_pref("browser.download.autohideButton", false);
user_pref("toolkit.cosmeticAnimations.enabled", false);
+user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
/* CONTENT BEHAVIOR ***/
user_pref("layout.spellcheckDefault", 2);
/* UX BEHAVIOR ***/
user_pref("browser.tabs.loadBookmarksInTabs", true);
/* OTHER ***/
user_pref("browser.bookmarks.max_backups", 2);
+user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
+user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
user_pref("identity.fxaccounts.enabled", false);
user_pref("network.manage-offline-status", false);
user_pref("reader.parse-on-load.enabled", false);
// 10000
user_pref("browser.altClickSave", true);
user_pref("browser.preferences.instantApply", false);
+user_pref("browser.onboarding.enabled", false);
user_pref("devtools.onboarding.telemetry.logged", false);
+user_pref("extensions.ui.dictionary.hidden", false);
user_pref("extensions.ui.experiment.hidden", false);
+user_pref("extensions.ui.locale.hidden", false);
user_pref("reader.errors.includeURLs", false);
-user_pref("ui.key.menuAccessKeyFocuses", true); //default
user_pref("font.default.x-unicode", "sans-serif");
user_pref("font.default.x-western", "sans-serif");
user_pref("zoom.maxPercent", 500);
-https://www.dcmembers.com/jibsen/download/61/
-
-The Dina font is free. You are welcome to use, distribute and modify it however you want, just don't use it for anything illegal or claim that you made it.
-
-The Dina font is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this font.
+\r
+Copyright (c) 2005-2013 Joergen Ibsen\r
+\r
+Permission is hereby granted, free of charge, to any person obtaining a copy\r
+of this software and associated documentation files (the "Software"), to deal\r
+in the Software without restriction, including without limitation the rights\r
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
+copies of the Software, and to permit persons to whom the Software is\r
+furnished to do so, subject to the following conditions:\r
+\r
+The above copyright notice and this permission notice shall be included in\r
+all copies or substantial portions of the Software.\r
+\r
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
+THE SOFTWARE.\r
--- /dev/null
+Dina 2.93 (2013.09.10)\r
+\r
+ * Added OEM codepage 437 and 850 versions for Windows command prompts\r
+\r
+Dina 2.92 (2013.09.07)\r
+\r
+ * Moved bold, italic, and bold italic styles to separate files\r
+ * Updated BDF files\r
+\r
+Dina 2.91 (2013.08.25)\r
+\r
+ * Fixed `&` in Dina 10 regular\r
+ * Updated copyright strings in all fonts\r
+\r
+Dina 2.90 (2013.08.23)\r
+\r
+ * Added a 6 point version of Dina regular\r
+ * Extended top line in `j` to make it easier to distinguish from `i`\r
+ * Moved top part of `&` right and adjusted height\r
+ * Moved `%` up\r
+ * Changed `ø` and `Ø` to look less like `0`\r
+ * Changed `æ` and `ß` to look more harmonious in text\r
+ * Moved down starting question and exclamation marks\r
+ * Fixed single and double text quotes\r
+ * Fixed positioning of degree, ordinals, and powers\r
+ * Fixed various other symbols\r
+++ /dev/null
-13
-Dina_i400-10.pcf.gz -windows-dina-medium-i-normal--13-100-96-96-c-80-microsoft-cp1252
-Dina_i400-8.pcf.gz -windows-dina-medium-i-normal--10-80-96-96-c-70-microsoft-cp1252
-Dina_i400-9.pcf.gz -windows-dina-medium-i-normal--12-90-96-96-c-70-microsoft-cp1252
-Dina_i700-10.pcf.gz -windows-dina-bold-i-normal--13-100-96-96-c-80-microsoft-cp1252
-Dina_i700-8.pcf.gz -windows-dina-bold-i-normal--10-80-96-96-c-70-microsoft-cp1252
-Dina_i700-9.pcf.gz -windows-dina-bold-i-normal--12-90-96-96-c-70-microsoft-cp1252
-Dina_r400-10.pcf.gz -windows-dina-medium-r-normal--13-100-96-96-c-80-microsoft-cp1252
-Dina_r400-6.pcf.gz -windows-dina-medium-r-normal--8-60-96-96-c-60-microsoft-cp1252
-Dina_r400-8.pcf.gz -windows-dina-medium-r-normal--10-80-96-96-c-70-microsoft-cp1252
-Dina_r400-9.pcf.gz -windows-dina-medium-r-normal--12-90-96-96-c-70-microsoft-cp1252
-Dina_r700-10.pcf.gz -windows-dina-bold-r-normal--13-100-96-96-c-80-microsoft-cp1252
-Dina_r700-8.pcf.gz -windows-dina-bold-r-normal--10-80-96-96-c-70-microsoft-cp1252
-Dina_r700-9.pcf.gz -windows-dina-bold-r-normal--12-90-96-96-c-70-microsoft-cp1252
follow = keyboard
sort = yes
-font = "Dina, DejaVu Sans Mono, monospace 9"
+font = "monospace 9"
markup = no
format = "<b>%s</b> %p <span size='5120' color='#586e75'>%a</span>\n%b"
show_age_threshold = 5
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
+ <description>prefer Source, Noto, DejaVu, Free; monospace Dina</description>
+
+ <!-- rgb pixel alignment -->
+ <match target="font">
+ <edit name="rgba" mode="assign">
+ <const>rgb</const>
+ </edit>
+ </match>
+
+ <!-- preface 60-generic.conf and prefer no color.
+ this value is actually not that useful due to implementation detail...
+ -->
+ <match>
+ <test name="lang">
+ <string>und-zsye</string>
+ </test>
+ <test qual="all" name="color" compare="not_eq">
+ <bool>true</bool>
+ </test>
+ <test qual="all" name="color" compare="not_eq">
+ <bool>false</bool>
+ </test>
+ <edit name="color" mode="append">
+ <bool>false</bool>
+ </edit>
+ </match>
+
<!-- fuck helvetica -->
<match>
<test name="family">
</match>
<!-- set up preferred aliases -->
- <alias><family>emoji</family>
+ <alias binding="same">
+ <family>emoji</family>
<prefer>
<family>Noto Emoji</family>
</prefer>
</alias>
- <alias><family>sans-serif</family>
+ <alias binding="same">
+ <family>sans-serif</family>
<prefer>
<family>Source Sans Pro</family>
<family>Noto Sans Display</family>
<family>Noto Sans</family>
<family>DejaVu Sans</family>
+ <family>FreeSans</family>
</prefer>
</alias>
- <alias><family>serif</family>
+ <alias binding="same">
+ <family>serif</family>
<prefer>
<family>Source Serif Pro</family>
<family>Noto Serif Display</family>
<family>Noto Serif</family>
<family>DejaVu Serif</family>
+ <family>FreeSerif</family>
</prefer>
</alias>
- <alias><family>monospace</family>
+ <alias binding="same">
+ <family>monospace</family>
<prefer>
- <family>Dina</family>
+ <!-- fontconfig 2.10 broke Dina - ->
+ <family>Dina</family> -->
<family>Noto Sans Mono</family>
- <family>DejaVu Mono</family>
- <family>Ubuntu Mono</family>
+ <family>DejaVu Sans Mono</family>
+ <family>FreeMono</family>
</prefer>
</alias>
</fontconfig>
-<!-- vim: set et fenc=utf-8 ft=xml sts=2 sw=2 ts=8 tw=0 :
+
+<!-- vim: set et ft=xml sts=2 sw=2 ts=8 tw=0 :
-->
### appearance ###
# font
-font pango:Dina 7
+font pango:monospace 7
# windows
for_window [class="Gsimplecal"] floating enable
set $b_ind #264db2
set $b_chb #4466ff
-# TODO: deprecate in favor of tint2
-bar {
- position top
- output LVDS1
- tray_output primary
- status_command i3status
- separator_symbol "|"
-
- colors {
- background $bg
- statusline $fg
- separator $b_ind
-
- # class border backgr. text
- focused_workspace $f_bdr $f_bg $f_fg
- active_workspace $i_bdr $i_bg $i_fg
- inactive_workspace $i_bdr $i_bg $i_fg
- urgent_workspace $u_bdr $u_bg $u_fg
- binding_mode $b_bdr $b_bg $b_fg
- }
-}
+# deprecated in favor of tint2
+#bar {
+# position top
+# output LVDS1
+# tray_output primary
+# status_command i3status
+# separator_symbol "|"
+#
+# colors {
+# background $bg
+# statusline $fg
+# separator $b_ind
+#
+# # class border backgr. text
+# focused_workspace $f_bdr $f_bg $f_fg
+# active_workspace $i_bdr $i_bg $i_fg
+# inactive_workspace $i_bdr $i_bg $i_fg
+# urgent_workspace $u_bdr $u_bg $u_fg
+# binding_mode $b_bdr $b_bg $b_fg
+# }
+#}
# apply colors
# class border backgr. text indicator child_border
}
wireless wlan0 {
- format_up = "<span font='6'>%essid %ip</span>"
- format_down = "<span font='6'>wlan down</span>"
+ format_up = "%essid %ip"
+ format_down = "wlan down"
}
ethernet em0 {
- format_up = " <span font='6'>%ip</span>"
+ format_up = " <span color='$color_degraded'>%ip</span>"
format_down = ""
}
+++ /dev/null
-------------------------------------------------------------------------------
--- luakit configuration file, more information at https://luakit.github.io/ --
-------------------------------------------------------------------------------
-
-require "lfs"
-
-require "unique_instance"
-
--- Set the number of web processes to use. A value of 0 means 'no limit'.
-luakit.process_limit = 4
--- Set the cookie storage location
-soup.cookies_storage = luakit.data_dir .. "/cookies.db"
-
--- Load library of useful functions for luakit
-local lousy = require "lousy"
-
--- Load users theme
--- ("$XDG_CONFIG_HOME/luakit/theme.lua" or "/etc/xdg/luakit/theme.lua")
-lousy.theme.init(lousy.util.find_config("theme.lua"))
-assert(lousy.theme.get(), "failed to load theme")
-
--- Load users window class
--- ("$XDG_CONFIG_HOME/luakit/window.lua" or "/etc/xdg/luakit/window.lua")
-local window = require "window"
-
--- Load users webview class
--- ("$XDG_CONFIG_HOME/luakit/webview.lua" or "/etc/xdg/luakit/webview.lua")
-local webview = require "webview"
-
--- Add luakit;//log/ chrome page
-local log_chrome = require "log_chrome"
-
-window.add_signal("build", function (w)
- local widgets, l, r = require "lousy.widget", w.sbar.l, w.sbar.r
-
- -- Left-aligned status bar widgets
- l.layout:pack(widgets.uri())
- l.layout:pack(widgets.hist())
- l.layout:pack(widgets.progress())
-
- -- Right-aligned status bar widgets
- r.layout:pack(widgets.buf())
- r.layout:pack(log_chrome.widget())
- r.layout:pack(widgets.ssl())
- r.layout:pack(widgets.tabi())
- r.layout:pack(widgets.scroll())
-end)
-
--- Load luakit binds and modes
-local modes = require "modes"
-local binds = require "binds"
-
-local settings = require "settings"
-require "settings_chrome"
-
-----------------------------------
--- Optional user script loading --
-----------------------------------
-
--- Add adblock
-local adblock = require "adblock"
-local adblock_chrome = require "adblock_chrome"
-
-local webinspector = require "webinspector"
-
--- Add uzbl-like form filling
-local formfiller = require "formfiller"
-
--- Add proxy support & manager
-local proxy = require "proxy"
-
--- Add quickmarks support & manager
-local quickmarks = require "quickmarks"
-
--- Add session saving/loading support
-local session = require "session"
-
--- Add command to list closed tabs & bind to open closed tabs
-local undoclose = require "undoclose"
-
--- Add command to list tab history items
-local tabhistory = require "tabhistory"
-
--- Add greasemonkey-like javascript userscript support
-local userscripts = require "userscripts"
-
--- Add bookmarks support
-local bookmarks = require "bookmarks"
-local bookmarks_chrome = require "bookmarks_chrome"
-
--- Add download support
-local downloads = require "downloads"
-local downloads_chrome = require "downloads_chrome"
-
--- Add automatic PDF downloading and opening
-local viewpdf = require "viewpdf"
-
--- Example using xdg-open for opening downloads / showing download folders
-downloads.add_signal("open-file", function (file)
- luakit.spawn(string.format("xdg-open %q", file))
- return true
-end)
-
--- Add vimperator-like link hinting & following
-local follow = require "follow"
-
--- Add command history
-local cmdhist = require "cmdhist"
-
--- Add search mode & binds
-local search = require "search"
-
--- Add ordering of new tabs
-local taborder = require "taborder"
-
--- Save web history
-local history = require "history"
-local history_chrome = require "history_chrome"
-
-local help_chrome = require "help_chrome"
-local binds_chrome = require "binds_chrome"
-
--- Add command completion
-local completion = require "completion"
-
--- Press Control-E while in insert mode to edit the contents of the currently
--- focused <textarea> or <input> element, using `xdg-open`
-local open_editor = require "open_editor"
-
--- NoScript plugin, toggle scripts and or plugins on a per-domain basis.
--- `,ts` to toggle scripts, `,tp` to toggle plugins, `,tr` to reset.
--- If you use this module, don't use any site-specific `enable_scripts` or
--- `enable_plugins` settings, as these will conflict.
-require "noscript"
-
-local follow_selected = require "follow_selected"
-local go_input = require "go_input"
-local go_next_prev = require "go_next_prev"
-local go_up = require "go_up"
-
--- Filter Referer HTTP header if page domain does not match Referer domain
-require_web_module("referer_control_wm")
-
-local error_page = require "error_page"
-
--- Add userstyles loader
-local styles = require "styles"
-
--- Hide scrollbars on all pages
-local hide_scrollbars = require "hide_scrollbars"
-
--- Add a stylesheet when showing images
-local image_css = require "image_css"
-
--- Add a new tab page
-local newtab_chrome = require "newtab_chrome"
-
--- Add tab favicons mod
-local tab_favicons = require "tab_favicons"
-
--- Add :view-source command
-local view_source = require "view_source"
-
------------------------------
--- End user script loading --
------------------------------
-
-settings.window.search_engines = {
- ddg = "https://duckduckgo.com/?q=%s",
- gh = "https://github.com/search?q=%s",
- w = "https://en.wikipedia.org/wiki/Special:Search?search=%s"
-}
-settings.window.search_engines.default = settings.window.search_engines.ddg
-
--- change tab text
-require("lousy.widget.tab").label_format = '<span foreground="{index_fg}" font-weight="bold">{index}</span> {title}'
-
--- Restore last saved session
-local w = (not luakit.nounique) and (session and session.restore())
-if w then
- for i, uri in ipairs(uris) do
- w:new_tab(uri, { switch = i == 1 })
- end
-else
- -- Or open new window
- window.new(uris)
-end
-
--- vim: et:sw=4:ts=8:sts=4:tw=80
-#---- Generated by tint2conf cf0f ----
+#---- Generated by tint2conf 7ffd ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#-------------------------------------
# Gradients
+# Gradient 1
+gradient = vertical
+start_color = #110800 100
+end_color = #110800 1
+
#-------------------------------------
# Backgrounds
# Background 1: Inactive desktop name, Tooltip
border_sides =
border_content_tint_weight = 0
background_content_tint_weight = 0
-background_color = #110800 100
+background_color = #110800 0
border_color = #000000 0
+gradient_id = 1
background_color_hover = #000000 0
border_color_hover = #000000 0
background_color_pressed = #000000 0
#-------------------------------------
# Panel
-panel_items = ET:SEEECB
+panel_items = ET:SLEEECB
panel_size = 100% 28
panel_margin = 0 0
panel_padding = 0 1 0
panel_background_id = 3
wm_menu = 1
panel_dock = 1
-panel_position = top center horizontal
+panel_pivot_struts = 0
+panel_position = top left horizontal
panel_layer = top
panel_monitor = all
panel_shrink = 0
autohide_show_timeout = 0
autohide_hide_timeout = 0.5
autohide_height = 1
-strut_policy = minimum
+strut_policy = follow_size
panel_window_name = tint2
disable_transparency = 1
mouse_effects = 0
#-------------------------------------
# Taskbar
taskbar_mode = multi_desktop
-taskbar_hide_if_empty = 0
+taskbar_hide_if_empty = 1
taskbar_padding = 0 0 1
taskbar_background_id = 0
taskbar_active_background_id = 0
taskbar_name = 1
taskbar_hide_inactive_tasks = 0
-taskbar_hide_different_monitor = 0
+taskbar_hide_different_monitor = 1
taskbar_hide_different_desktop = 0
taskbar_always_show_all_desktop_tasks = 0
taskbar_name_padding = 4 0
taskbar_name_background_id = 1
taskbar_name_active_background_id = 4
-taskbar_name_font = Dina 8
+taskbar_name_font = monospace 8
taskbar_name_font_color = #93a1a1 100
taskbar_name_active_font_color = #eee8d5 100
taskbar_distribute_size = 1
-taskbar_sort_order = none
+taskbar_sort_order = center
task_align = left
#-------------------------------------
urgent_nb_of_blink = 10
task_maximum_size = 150 0
task_padding = 1 0 2
-task_font = Dina 8
+task_font = monospace 8
task_tooltip = 1
task_thumbnail = 0
task_thumbnail_size = 210
systray_sort = ascending
systray_icon_size = 0
systray_icon_asb = 100 0 0
-systray_monitor = 1
+systray_monitor = primary
systray_name_filter =
#-------------------------------------
launcher_icon_background_id = 0
launcher_icon_size = 0
launcher_icon_asb = 100 0 0
-launcher_icon_theme = Paper-Mono-Dark
launcher_icon_theme_override = 0
startup_notifications = 1
launcher_tooltip = 1
+launcher_item_app = /usr/share/applications/xvkbd.desktop
#-------------------------------------
# Clock
time1_format = %H:%M:%S
time2_format = %a %d/%m/%Y
-time1_font = Dina 8
+time1_font = monospace 8
time1_timezone =
time2_timezone =
-time2_font = Dina 6
+time2_font = monospace 6
clock_font_color = #93a1a1 100
clock_padding = 6 0
clock_background_id = 0
-clock_tooltip =
+clock_tooltip = %A, %B %d, %Y
clock_tooltip_timezone =
clock_lclick_command = gsimplecal
clock_rclick_command =
battery_tooltip = 1
battery_low_status = 5
battery_low_cmd = notify-send -u critical -t 0 -a system -i battery-low 'Battery critical'
-
battery_full_cmd = notify-send -t 10000 -a system -i battery-full 'Battery full'
-bat1_font = Dina 8
-bat2_font = Dina 6
+bat1_font = monospace 8
+bat2_font = monospace 6
battery_font_color = #93a1a1 100
bat1_format = %p %h:%m
bat2_format = %s
#-------------------------------------
# Executor 1
execp = new
-execp_command = ~/bin/i3-mode
+execp_command = ~/bin/i3-mode hide-default
execp_interval = 0
execp_has_icon = 0
execp_cache_icon = 0
execp_mclick_command =
execp_uwheel_command =
execp_dwheel_command =
-execp_font = Dina 10
+execp_font = monospace 10
execp_font_color = #fdf6e3 100
execp_padding = 10 0
execp_background_id = 5
execp_continuous = 1
execp_markup = 0
execp_tooltip =
-execp_lclick_command = wifimgr
+execp_lclick_command = sh -c 'wifimgr || urxvtc -e sudo wifish'
execp_rclick_command =
execp_mclick_command =
execp_uwheel_command =
execp_continuous = 2
execp_markup = 1
execp_tooltip =
-execp_lclick_command = wifimgr
+execp_lclick_command = urxvtc -e sh -c 'htop || top'
execp_rclick_command =
execp_mclick_command =
execp_uwheel_command =
execp_dwheel_command =
-execp_font = Dina 8
+execp_font = monospace 6
execp_font_color = #93a1a1 100
execp_padding = 0 0
execp_background_id = 0
tooltip_padding = 2 0
tooltip_background_id = 1
tooltip_font_color = #eee8d5 100
-tooltip_font = Dina 10
+tooltip_font = monospace 10
-Subproject commit 8c7bf8d295a72e45d81ca3d5c1ac5d69a65b0154
+Subproject commit ab51c46f2b562e0860eef0c2b2d673fd9811acdd