upd
parent
6545a9d685
commit
5b915104b3
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
|
@ -62,7 +62,7 @@ conky.config = {
|
|||
};
|
||||
|
||||
conky.text = [[
|
||||
${execpi 120 quote.sh}
|
||||
${execpi 1200 $HOME/.config/conky/scripts/quote.sh}
|
||||
]];
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
DIR="$HOME/.config/quoter"
|
||||
mkdir -p "$DIR"
|
||||
|
||||
export Q=$(curl -s "http://api.forismatic.com/api/1.0/?method=getQuote&format=json&lang=en" | sed 's|\\||g' )
|
||||
QUOTE=$(echo $Q | jq .quoteText)
|
||||
AUTOR=$(echo $Q | jq .quoteAuthor | tr -d '"')
|
||||
echo "${QUOTE}|${AUTOR}" >> "${DIR}"/forismatic.txt
|
||||
|
||||
printf "\${font Droid Sans:size=18}\${color}"
|
||||
echo ${QUOTE} | fmt -80
|
||||
printf "\${font Droid Sans:size=12}\${alignr}\${color0}"
|
||||
echo "— ${AUTOR}"
|
|
@ -0,0 +1,119 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>W3.CSS</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
|
||||
<body class="w3-dark-grey">
|
||||
|
||||
<div class="w3-sidebar w3-bar-block w3-dark-grey w3-card" style="width:140px">
|
||||
<p></p>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Colorizer')">Colorizer</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Openbox')">Openbox Theme</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Jgmenu')">Menu / Sidepanels</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Conky')">Conky</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Tint2')">Tint2 Panel</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Icons')">Icons</button>
|
||||
|
||||
</div>
|
||||
|
||||
<div style="margin-left:140px">
|
||||
|
||||
<section id="Colorizer" class="w3-container tab w3-display-container" style="min-height:100vh;">
|
||||
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer -s">Launch Colorizer</a>
|
||||
<div class="w3-padding w3-display-middle w3-center">
|
||||
<img src="../../mabox/colorizer.png" />
|
||||
<h2>Mabox Colorizer</h2>
|
||||
<p>a tool to easily customize your Mabox Linux Desktop</p>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="Openbox" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-ob -s">Launch OBtheme module</a>
|
||||
<h2>Openbox theme</h2>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
<p>blah blah blah</p>
|
||||
</section>
|
||||
|
||||
<section id="Jgmenu" class="w3-container tab" style="display:none;min-height:100vh">
|
||||
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-menus -s">Launch Menus module</a>
|
||||
<h2>Menu / Sidepanels</h2>
|
||||
|
||||
</section>
|
||||
|
||||
<section id="Conky" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-conky -s">Launch Conky module</a>
|
||||
<h2>Conky</h2>
|
||||
</section>
|
||||
<section id="Tint2" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<h2>Panel Tint2</h2>
|
||||
<p>Colorizer module for Tint2 panel is not available yet - planned</p>
|
||||
<p>Use quite powerfull Tint2 config menu for now.</p>
|
||||
<p><a class="w3-button w3-inline w3-round w3-tiny w3-lime" href="run://jgtint2-pipe -s">tint2 config menu</a></p>
|
||||
</section>
|
||||
<section id="Icons" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<h2>Icons</h2>
|
||||
<p>Not available yet - planned</p>
|
||||
<p></p>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function openTab(evt, tabName) {
|
||||
var i, x, tablinks;
|
||||
x = document.getElementsByClassName("tab");
|
||||
for (i = 0; i < x.length; i++) {
|
||||
x[i].style.display = "none";
|
||||
}
|
||||
tablinks = document.getElementsByClassName("tablink");
|
||||
for (i = 0; i < x.length; i++) {
|
||||
tablinks[i].className = tablinks[i].className.replace(" w3-gray", "");
|
||||
}
|
||||
document.getElementById(tabName).style.display = "block";
|
||||
evt.currentTarget.className += " w3-gray";
|
||||
}
|
||||
function myFunction() {
|
||||
var input, filter, table, tr, td, i;
|
||||
input = document.getElementById("myInput");
|
||||
filter = input.value.toUpperCase();
|
||||
table = document.getElementById("myTable");
|
||||
tr = table.getElementsByTagName("tr");
|
||||
for (i = 0; i < tr.length; i++) {
|
||||
td = tr[i].getElementsByTagName("td")[0];
|
||||
if (td) {
|
||||
txtValue = td.textContent || td.innerText;
|
||||
if (txtValue.toUpperCase().indexOf(filter) > -1) {
|
||||
tr[i].style.display = "";
|
||||
} else {
|
||||
tr[i].style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 833 B |
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
Loading…
Reference in New Issue