mass update.
authordanix <danix@danix.xyz>
Mon, 20 Mar 2023 13:45:04 +0000 (14:45 +0100)
committerdanix <danix@danix.xyz>
Mon, 20 Mar 2023 13:45:04 +0000 (14:45 +0100)
47 files changed:
README.html [deleted file]
README.md
Xresources
bash_profile
bashrc
bin/blackpearl-appsmenu.sh [changed mode: 0755->0644]
bin/blackpearl-powermenu.sh [changed mode: 0755->0644]
bin/blackpearl-runner.sh [changed mode: 0755->0644]
bin/blackpearl-scrotmenu.sh [changed mode: 0755->0644]
bin/blackpearl-sshmenu.sh [changed mode: 0755->0644]
bin/blackpearl-utilsmenu.sh [changed mode: 0755->0644]
bin/blackpearl-window.sh [changed mode: 0755->0644]
bin/change_wallpaper.sh [new file with mode: 0644]
bin/executors/battery-level [new file with mode: 0644]
bin/i3-exit [changed mode: 0755->0644]
bin/i3-scrot [changed mode: 0755->0644]
bin/i3lock-blur [changed mode: 0755->0644]
bin/i3lock-fancy [changed mode: 0755->0644]
bin/i3suspend [changed mode: 0755->0644]
bin/is_installed [changed mode: 0755->0644]
bin/run-polybar.sh [new file with mode: 0755]
bin/wacom [new file with mode: 0755]
etc/bash_completion.d/is_installed.bash-completion
i3/config
oldies/compton.conf [moved from compton.conf with 100% similarity]
oldies/conky/qlocktwo.conkyrc [moved from conky/qlocktwo.conkyrc with 100% similarity]
oldies/executors/caps [moved from bin/executors/caps with 100% similarity]
oldies/executors/inet [moved from bin/executors/inet with 100% similarity]
oldies/executors/mail-check [moved from bin/executors/mail-check with 100% similarity]
oldies/executors/psuinfo.py [moved from bin/executors/psuinfo.py with 100% similarity]
oldies/executors/wifi-name [moved from bin/executors/wifi-name with 100% similarity]
oldies/rofi/blackpearl/appmenu.rasi [moved from rofi/blackpearl/appmenu.rasi with 100% similarity]
oldies/rofi/blackpearl/i3exit.rasi [moved from rofi/blackpearl/i3exit.rasi with 100% similarity]
oldies/rofi/blackpearl/powermenu.rasi [moved from rofi/blackpearl/powermenu.rasi with 100% similarity]
oldies/rofi/blackpearl/runner.rasi [moved from rofi/blackpearl/runner.rasi with 100% similarity]
oldies/rofi/blackpearl/scrotmenu.rasi [moved from rofi/blackpearl/scrotmenu.rasi with 100% similarity]
oldies/rofi/blackpearl/shared/reset.rasi [moved from rofi/blackpearl/shared/reset.rasi with 100% similarity]
oldies/rofi/blackpearl/shared/settings.rasi [moved from rofi/blackpearl/shared/settings.rasi with 100% similarity]
oldies/rofi/blackpearl/utilsmenu.rasi [moved from rofi/blackpearl/utilsmenu.rasi with 100% similarity]
oldies/tint2/i3status.tint2rc [moved from tint2/i3status.tint2rc with 100% similarity]
oldies/tint2/minima.tint2rc [moved from tint2/minima.tint2rc with 100% similarity]
oldies/wacomsetter.sh [moved from wacomsetter.sh with 100% similarity]
oldies/wallpaper.sh [moved from bin/wallpaper.sh with 100% similarity]
picom.conf
tmux/tmux.conf.danix
xinitrc
xprofile

diff --git a/README.html b/README.html
deleted file mode 100644 (file)
index af6792e..0000000
+++ /dev/null
@@ -1,1132 +0,0 @@
-<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><style>body {
-  max-width: 980px;
-  border: 1px solid #ddd;
-  outline: 1300px solid #fff;
-  margin: 16px auto;
-}
-
-body .markdown-body
-{
-  padding: 45px;
-}
-
-@font-face {
-  font-family: fontawesome-mini;
-  src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAABE0AA8AAAAAHWwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABWAAAADsAAABUIIslek9TLzIAAAGUAAAAQwAAAFY3d1HZY21hcAAAAdgAAACqAAACOvWLi0FjdnQgAAAChAAAABMAAAAgBtX/BGZwZ20AAAKYAAAFkAAAC3CKkZBZZ2FzcAAACCgAAAAIAAAACAAAABBnbHlmAAAIMAAABdQAAAjkYT9TNWhlYWQAAA4EAAAAMwAAADYQ6WvNaGhlYQAADjgAAAAfAAAAJAc6A1pobXR4AAAOWAAAACAAAAA0Kmz/7mxvY2EAAA54AAAAHAAAAB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GPw3sFwIihiIyNjX+QGxp0cDBwMyQUbGVidNjEwMmiBGJu5mBg5ICw+BjCLzWkX0wGgNCeQze60i8EBwmZmcNmowtgRGLHBoSNiI3OKy0Y1EG8XRwMDI4tDR3JIBEhJJBBs5mFi5NHawfi/dQNL70YmBhcADHYj9AAA) format('woff');
-}
-
-.markdown-body {
-  font-family: sans-serif;
-  -ms-text-size-adjust: 100%;
-  -webkit-text-size-adjust: 100%;
-  color: #333333;
-  overflow: hidden;
-  font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
-  font-size: 16px;
-  line-height: 1.6;
-  word-wrap: break-word;
-}
-
-.markdown-body a {
-  background: transparent;
-}
-
-.markdown-body a:active,
-.markdown-body a:hover {
-  outline: 0;
-}
-
-.markdown-body b,
-.markdown-body strong {
-  font-weight: bold;
-}
-
-.markdown-body mark {
-  background: #ff0;
-  color: #000;
-  font-style: italic;
-  font-weight: bold;
-}
-
-.markdown-body sub,
-.markdown-body sup {
-  font-size: 75%;
-  line-height: 0;
-  position: relative;
-  vertical-align: baseline;
-}
-.markdown-body sup {
-  top: -0.5em;
-}
-.markdown-body sub {
-  bottom: -0.25em;
-}
-
-.markdown-body h1 {
-  font-size: 2em;
-  margin: 0.67em 0;
-}
-
-.markdown-body img {
-  border: 0;
-}
-
-.markdown-body hr {
-  -moz-box-sizing: content-box;
-  box-sizing: content-box;
-  height: 0;
-}
-
-.markdown-body pre {
-  overflow: auto;
-}
-
-.markdown-body code,
-.markdown-body kbd,
-.markdown-body pre,
-.markdown-body samp {
-  font-family: monospace, monospace;
-  font-size: 1em;
-}
-
-.markdown-body input {
-  color: inherit;
-  font: inherit;
-  margin: 0;
-}
-
-.markdown-body html input[disabled] {
-  cursor: default;
-}
-
-.markdown-body input {
-  line-height: normal;
-}
-
-.markdown-body input[type="checkbox"] {
-  box-sizing: border-box;
-  padding: 0;
-}
-
-.markdown-body table {
-  border-collapse: collapse;
-  border-spacing: 0;
-}
-
-.markdown-body td,
-.markdown-body th {
-  padding: 0;
-}
-
-.markdown-body .codehilitetable {
-  border: 0;
-  border-spacing: 0;
-}
-
-.markdown-body .codehilitetable tr {
-  border: 0;
-}
-
-.markdown-body .codehilitetable pre,
-.markdown-body .codehilitetable div.codehilite {
-  margin: 0;
-}
-
-.markdown-body .linenos,
-.markdown-body .code,
-.markdown-body .codehilitetable td {
-  border: 0;
-  padding: 0;
-}
-
-.markdown-body td:not(.linenos) .linenodiv {
-  padding: 0 !important;
-}
-
-.markdown-body .code {
-  width: 100%;
-}
-
-.markdown-body .linenos div pre,
-.markdown-body .linenodiv pre,
-.markdown-body .linenodiv {
-  border: 0;
-  -webkit-border-radius: 0;
-  -moz-border-radius: 0;
-  border-radius: 0;
-  -webkit-border-top-left-radius: 3px;
-  -webkit-border-bottom-left-radius: 3px;
-  -moz-border-radius-topleft: 3px;
-  -moz-border-radius-bottomleft: 3px;
-  border-top-left-radius: 3px;
-  border-bottom-left-radius: 3px;
-}
-
-.markdown-body .code div pre,
-.markdown-body .code div {
-  border: 0;
-  -webkit-border-radius: 0;
-  -moz-border-radius: 0;
-  border-radius: 0;
-  -webkit-border-top-right-radius: 3px;
-  -webkit-border-bottom-right-radius: 3px;
-  -moz-border-radius-topright: 3px;
-  -moz-border-radius-bottomright: 3px;
-  border-top-right-radius: 3px;
-  border-bottom-right-radius: 3px;
-}
-
-.markdown-body * {
-  -moz-box-sizing: border-box;
-  box-sizing: border-box;
-}
-
-.markdown-body input {
-  font: 13px Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
-  line-height: 1.4;
-}
-
-.markdown-body a {
-  color: #4183c4;
-  text-decoration: none;
-}
-
-.markdown-body a:hover,
-.markdown-body a:focus,
-.markdown-body a:active {
-  text-decoration: underline;
-}
-
-.markdown-body hr {
-  height: 0;
-  margin: 15px 0;
-  overflow: hidden;
-  background: transparent;
-  border: 0;
-  border-bottom: 1px solid #ddd;
-}
-
-.markdown-body hr:before,
-.markdown-body hr:after {
-  display: table;
-  content: " ";
-}
-
-.markdown-body hr:after {
-  clear: both;
-}
-
-.markdown-body h1,
-.markdown-body h2,
-.markdown-body h3,
-.markdown-body h4,
-.markdown-body h5,
-.markdown-body h6 {
-  margin-top: 15px;
-  margin-bottom: 15px;
-  line-height: 1.1;
-}
-
-.markdown-body h1 {
-  font-size: 30px;
-}
-
-.markdown-body h2 {
-  font-size: 21px;
-}
-
-.markdown-body h3 {
-  font-size: 16px;
-}
-
-.markdown-body h4 {
-  font-size: 14px;
-}
-
-.markdown-body h5 {
-  font-size: 12px;
-}
-
-.markdown-body h6 {
-  font-size: 11px;
-}
-
-.markdown-body blockquote {
-  margin: 0;
-}
-
-.markdown-body ul,
-.markdown-body ol {
-  padding: 0;
-  margin-top: 0;
-  margin-bottom: 0;
-}
-
-.markdown-body ol ol,
-.markdown-body ul ol {
-  list-style-type: lower-roman;
-}
-
-.markdown-body ul ul ol,
-.markdown-body ul ol ol,
-.markdown-body ol ul ol,
-.markdown-body ol ol ol {
-  list-style-type: lower-alpha;
-}
-
-.markdown-body dd {
-  margin-left: 0;
-}
-
-.markdown-body code,
-.markdown-body pre,
-.markdown-body samp {
-  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
-  font-size: 12px;
-}
-
-.markdown-body pre {
-  margin-top: 0;
-  margin-bottom: 0;
-}
-
-.markdown-body kbd {
-  background-color: #e7e7e7;
-  background-image: -moz-linear-gradient(#fefefe, #e7e7e7);
-  background-image: -webkit-linear-gradient(#fefefe, #e7e7e7);
-  background-image: linear-gradient(#fefefe, #e7e7e7);
-  background-repeat: repeat-x;
-  border-radius: 2px;
-  border: 1px solid #cfcfcf;
-  color: #000;
-  padding: 3px 5px;
-  line-height: 10px;
-  font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
-  display: inline-block;
-}
-
-.markdown-body>*:first-child {
-  margin-top: 0 !important;
-}
-
-.markdown-body>*:last-child {
-  margin-bottom: 0 !important;
-}
-
-.markdown-body .headerlink {
-  font: normal 400 16px fontawesome-mini;
-  vertical-align: middle;
-  margin-left: -16px;
-  float: left;
-  display: inline-block;
-  text-decoration: none;
-  opacity: 0;
-  color: #333;
-}
-
-.markdown-body .headerlink:focus {
-  outline: none;
-}
-
-.markdown-body h1 .headerlink {
-  margin-top: 0.8rem;
-}
-
-.markdown-body h2 .headerlink,
-.markdown-body h3 .headerlink {
-  margin-top: 0.6rem;
-}
-
-.markdown-body h4 .headerlink {
-  margin-top: 0.2rem;
-}
-
-.markdown-body h5 .headerlink,
-.markdown-body h6 .headerlink {
-  margin-top: 0;
-}
-
-.markdown-body .headerlink:hover,
-.markdown-body h1:hover .headerlink,
-.markdown-body h2:hover .headerlink,
-.markdown-body h3:hover .headerlink,
-.markdown-body h4:hover .headerlink,
-.markdown-body h5:hover .headerlink,
-.markdown-body h6:hover .headerlink {
-  opacity: 1;
-  text-decoration: none;
-}
-
-.markdown-body h1 {
-  padding-bottom: 0.3em;
-  font-size: 2.25em;
-  line-height: 1.2;
-  border-bottom: 1px solid #eee;
-}
-
-.markdown-body h2 {
-  padding-bottom: 0.3em;
-  font-size: 1.75em;
-  line-height: 1.225;
-  border-bottom: 1px solid #eee;
-}
-
-.markdown-body h3 {
-  font-size: 1.5em;
-  line-height: 1.43;
-}
-
-.markdown-body h4 {
-  font-size: 1.25em;
-}
-
-.markdown-body h5 {
-  font-size: 1em;
-}
-
-.markdown-body h6 {
-  font-size: 1em;
-  color: #777;
-}
-
-.markdown-body p,
-.markdown-body blockquote,
-.markdown-body ul,
-.markdown-body ol,
-.markdown-body dl,
-.markdown-body table,
-.markdown-body pre,
-.markdown-body .admonition {
-  margin-top: 0;
-  margin-bottom: 16px;
-}
-
-.markdown-body hr {
-  height: 4px;
-  padding: 0;
-  margin: 16px 0;
-  background-color: #e7e7e7;
-  border: 0 none;
-}
-
-.markdown-body ul,
-.markdown-body ol {
-  padding-left: 2em;
-}
-
-.markdown-body ul ul,
-.markdown-body ul ol,
-.markdown-body ol ol,
-.markdown-body ol ul {
-  margin-top: 0;
-  margin-bottom: 0;
-}
-
-.markdown-body li>p {
-  margin-top: 16px;
-}
-
-.markdown-body dl {
-  padding: 0;
-}
-
-.markdown-body dl dt {
-  padding: 0;
-  margin-top: 16px;
-  font-size: 1em;
-  font-style: italic;
-  font-weight: bold;
-}
-
-.markdown-body dl dd {
-  padding: 0 16px;
-  margin-bottom: 16px;
-}
-
-.markdown-body blockquote {
-  padding: 0 15px;
-  color: #777;
-  border-left: 4px solid #ddd;
-}
-
-.markdown-body blockquote>:first-child {
-  margin-top: 0;
-}
-
-.markdown-body blockquote>:last-child {
-  margin-bottom: 0;
-}
-
-.markdown-body table {
-  display: block;
-  width: 100%;
-  overflow: auto;
-  word-break: normal;
-  word-break: keep-all;
-}
-
-.markdown-body table th {
-  font-weight: bold;
-}
-
-.markdown-body table th,
-.markdown-body table td {
-  padding: 6px 13px;
-  border: 1px solid #ddd;
-}
-
-.markdown-body table tr {
-  background-color: #fff;
-  border-top: 1px solid #ccc;
-}
-
-.markdown-body table tr:nth-child(2n) {
-  background-color: #f8f8f8;
-}
-
-.markdown-body img {
-  max-width: 100%;
-  -moz-box-sizing: border-box;
-  box-sizing: border-box;
-}
-
-.markdown-body code,
-.markdown-body samp {
-  padding: 0;
-  padding-top: 0.2em;
-  padding-bottom: 0.2em;
-  margin: 0;
-  font-size: 85%;
-  background-color: rgba(0,0,0,0.04);
-  border-radius: 3px;
-}
-
-.markdown-body code:before,
-.markdown-body code:after {
-  letter-spacing: -0.2em;
-  content: "\00a0";
-}
-
-.markdown-body pre>code {
-  padding: 0;
-  margin: 0;
-  font-size: 100%;
-  word-break: normal;
-  white-space: pre;
-  background: transparent;
-  border: 0;
-}
-
-.markdown-body .codehilite {
-  margin-bottom: 16px;
-}
-
-.markdown-body .codehilite pre,
-.markdown-body pre {
-  padding: 16px;
-  overflow: auto;
-  font-size: 85%;
-  line-height: 1.45;
-  background-color: #f7f7f7;
-  border-radius: 3px;
-}
-
-.markdown-body .codehilite pre {
-  margin-bottom: 0;
-  word-break: normal;
-}
-
-.markdown-body pre {
-  word-wrap: normal;
-}
-
-.markdown-body pre code {
-  display: inline;
-  max-width: initial;
-  padding: 0;
-  margin: 0;
-  overflow: initial;
-  line-height: inherit;
-  word-wrap: normal;
-  background-color: transparent;
-  border: 0;
-}
-
-.markdown-body pre code:before,
-.markdown-body pre code:after {
-  content: normal;
-}
-
-/* Admonition */
-.markdown-body .admonition {
-  -webkit-border-radius: 3px;
-  -moz-border-radius: 3px;
-  position: relative;
-  border-radius: 3px;
-  border: 1px solid #e0e0e0;
-  border-left: 6px solid #333;
-  padding: 10px 10px 10px 30px;
-}
-
-.markdown-body .admonition table {
-  color: #333;
-}
-
-.markdown-body .admonition p {
-  padding: 0;
-}
-
-.markdown-body .admonition-title {
-  font-weight: bold;
-  margin: 0;
-}
-
-.markdown-body .admonition>.admonition-title {
-  color: #333;
-}
-
-.markdown-body .attention>.admonition-title {
-  color: #a6d796;
-}
-
-.markdown-body .caution>.admonition-title {
-  color: #d7a796;
-}
-
-.markdown-body .hint>.admonition-title {
-  color: #96c6d7;
-}
-
-.markdown-body .danger>.admonition-title {
-  color: #c25f77;
-}
-
-.markdown-body .question>.admonition-title {
-  color: #96a6d7;
-}
-
-.markdown-body .note>.admonition-title {
-  color: #d7c896;
-}
-
-.markdown-body .admonition:before,
-.markdown-body .attention:before,
-.markdown-body .caution:before,
-.markdown-body .hint:before,
-.markdown-body .danger:before,
-.markdown-body .question:before,
-.markdown-body .note:before {
-  font: normal normal 16px fontawesome-mini;
-  -moz-osx-font-smoothing: grayscale;
-  -webkit-user-select: none;
-  -moz-user-select: none;
-  -ms-user-select: none;
-  user-select: none;
-  line-height: 1.5;
-  color: #333;
-  position: absolute;
-  left: 0;
-  top: 0;
-  padding-top: 10px;
-  padding-left: 10px;
-}
-
-.markdown-body .admonition:before {
-  content: "\f056\00a0";
-  color: 333;
-}
-
-.markdown-body .attention:before {
-  content: "\f058\00a0";
-  color: #a6d796;
-}
-
-.markdown-body .caution:before {
-  content: "\f06a\00a0";
-  color: #d7a796;
-}
-
-.markdown-body .hint:before {
-  content: "\f05a\00a0";
-  color: #96c6d7;
-}
-
-.markdown-body .danger:before {
-  content: "\f057\00a0";
-  color: #c25f77;
-}
-
-.markdown-body .question:before {
-  content: "\f059\00a0";
-  color: #96a6d7;
-}
-
-.markdown-body .note:before {
-  content: "\f040\00a0";
-  color: #d7c896;
-}
-
-.markdown-body .admonition::after {
-  content: normal;
-}
-
-.markdown-body .attention {
-  border-left: 6px solid #a6d796;
-}
-
-.markdown-body .caution {
-  border-left: 6px solid #d7a796;
-}
-
-.markdown-body .hint {
-  border-left: 6px solid #96c6d7;
-}
-
-.markdown-body .danger {
-  border-left: 6px solid #c25f77;
-}
-
-.markdown-body .question {
-  border-left: 6px solid #96a6d7;
-}
-
-.markdown-body .note {
-  border-left: 6px solid #d7c896;
-}
-
-.markdown-body .admonition>*:first-child {
-  margin-top: 0 !important;
-}
-
-.markdown-body .admonition>*:last-child {
-  margin-bottom: 0 !important;
-}
-
-/* progress bar*/
-.markdown-body .progress {
-  display: block;
-  width: 300px;
-  margin: 10px 0;
-  height: 24px;
-  -webkit-border-radius: 3px;
-  -moz-border-radius: 3px;
-  border-radius: 3px;
-  background-color: #ededed;
-  position: relative;
-  box-shadow: inset -1px 1px 3px rgba(0, 0, 0, .1);
-}
-
-.markdown-body .progress-label {
-  position: absolute;
-  text-align: center;
-  font-weight: bold;
-  width: 100%; margin: 0;
-  line-height: 24px;
-  color: #333;
-  text-shadow: 1px 1px 0 #fefefe, -1px -1px 0 #fefefe, -1px 1px 0 #fefefe, 1px -1px 0 #fefefe, 0 1px 0 #fefefe, 0 -1px 0 #fefefe, 1px 0 0 #fefefe, -1px 0 0 #fefefe, 1px 1px 2px #000;
-  -webkit-font-smoothing: antialiased !important;
-  white-space: nowrap;
-  overflow: hidden;
-}
-
-.markdown-body .progress-bar {
-  height: 24px;
-  float: left;
-  -webkit-border-radius: 3px;
-  -moz-border-radius: 3px;
-  border-radius: 3px;
-  background-color: #96c6d7;
-  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .1);
-  background-size: 30px 30px;
-  background-image: -webkit-linear-gradient(
-    135deg, rgba(255, 255, 255, .4) 27%,
-    transparent 27%,
-    transparent 52%, rgba(255, 255, 255, .4) 52%,
-    rgba(255, 255, 255, .4) 77%,
-    transparent 77%, transparent
-  );
-  background-image: -moz-linear-gradient(
-    135deg,
-    rgba(255, 255, 255, .4) 27%, transparent 27%,
-    transparent 52%, rgba(255, 255, 255, .4) 52%,
-    rgba(255, 255, 255, .4) 77%, transparent 77%,
-    transparent
-  );
-  background-image: -ms-linear-gradient(
-    135deg,
-    rgba(255, 255, 255, .4) 27%, transparent 27%,
-    transparent 52%, rgba(255, 255, 255, .4) 52%,
-    rgba(255, 255, 255, .4) 77%, transparent 77%,
-    transparent
-  );
-  background-image: -o-linear-gradient(
-    135deg,
-    rgba(255, 255, 255, .4) 27%, transparent 27%,
-    transparent 52%, rgba(255, 255, 255, .4) 52%,
-    rgba(255, 255, 255, .4) 77%, transparent 77%,
-    transparent
-  );
-  background-image: linear-gradient(
-    135deg,
-    rgba(255, 255, 255, .4) 27%, transparent 27%,
-    transparent 52%, rgba(255, 255, 255, .4) 52%,
-    rgba(255, 255, 255, .4) 77%, transparent 77%,
-    transparent
-  );
-}
-
-.markdown-body .progress-100plus .progress-bar {
-  background-color: #a6d796;
-}
-
-.markdown-body .progress-80plus .progress-bar {
-  background-color: #c6d796;
-}
-
-.markdown-body .progress-60plus .progress-bar {
-  background-color: #d7c896;
-}
-
-.markdown-body .progress-40plus .progress-bar {
-  background-color: #d7a796;
-}
-
-.markdown-body .progress-20plus .progress-bar {
-  background-color: #d796a6;
-}
-
-.markdown-body .progress-0plus .progress-bar {
-  background-color: #c25f77;
-}
-
-.markdown-body .candystripe-animate .progress-bar{
-  -webkit-animation: animate-stripes 3s linear infinite;
-  -moz-animation: animate-stripes 3s linear infinite;
-  animation: animate-stripes 3s linear infinite;
-}
-
-@-webkit-keyframes animate-stripes {
-  0% {
-    background-position: 0 0;
-  }
-
-  100% {
-    background-position: 60px 0;
-  }
-}
-
-@-moz-keyframes animate-stripes {
-  0% {
-    background-position: 0 0;
-  }
-
-  100% {
-    background-position: 60px 0;
-  }
-}
-
-@keyframes animate-stripes {
-  0% {
-    background-position: 0 0;
-  }
-
-  100% {
-    background-position: 60px 0;
-  }
-}
-
-.markdown-body .gloss .progress-bar {
-  box-shadow:
-    inset 0 4px 12px rgba(255, 255, 255, .7),
-    inset 0 -12px 0 rgba(0, 0, 0, .05);
-}
-
-/* MultiMarkdown Critic Blocks */
-.markdown-body .critic_mark {
-  background: #ff0;
-}
-
-.markdown-body .critic_delete {
-  color: #c82829;
-  text-decoration: line-through;
-}
-
-.markdown-body .critic_insert {
-  color: #718c00 ;
-  text-decoration: underline;
-}
-
-.markdown-body .critic_comment {
-  color: #8e908c;
-  font-style: italic;
-}
-
-.markdown-body .headeranchor {
-  font: normal normal 16px fontawesome-mini;
-  line-height: 1;
-  display: inline-block;
-  text-decoration: none;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-  -webkit-user-select: none;
-  -moz-user-select: none;
-  -ms-user-select: none;
-  user-select: none;
-}
-
-.headeranchor:before {
-  content: '\e157';
-}
-
-.markdown-body .task-list-item {
-  list-style-type: none;
-}
-
-.markdown-body .task-list-item+.task-list-item {
-  margin-top: 3px;
-}
-
-.markdown-body .task-list-item input {
-  margin: 0 4px 0.25em -20px;
-  vertical-align: middle;
-}
-
-/* Media */
-@media only screen and (min-width: 480px) {
-  .markdown-body {
-    font-size:14px;
-  }
-}
-
-@media only screen and (min-width: 768px) {
-  .markdown-body {
-    font-size:16px;
-  }
-}
-
-@media print {
-  .markdown-body * {
-    background: transparent !important;
-    color: black !important;
-    filter:none !important;
-    -ms-filter: none !important;
-  }
-
-  .markdown-body {
-    font-size:12pt;
-    max-width:100%;
-    outline:none;
-    border: 0;
-  }
-
-  .markdown-body a,
-  .markdown-body a:visited {
-    text-decoration: underline;
-  }
-
-  .markdown-body .headeranchor-link {
-    display: none;
-  }
-
-  .markdown-body a[href]:after {
-    content: " (" attr(href) ")";
-  }
-
-  .markdown-body abbr[title]:after {
-    content: " (" attr(title) ")";
-  }
-
-  .markdown-body .ir a:after,
-  .markdown-body a[href^="javascript:"]:after,
-  .markdown-body a[href^="#"]:after {
-    content: "";
-  }
-
-  .markdown-body pre {
-    white-space: pre;
-    white-space: pre-wrap;
-    word-wrap: break-word;
-  }
-
-  .markdown-body pre,
-  .markdown-body blockquote {
-    border: 1px solid #999;
-    padding-right: 1em;
-    page-break-inside: avoid;
-  }
-
-  .markdown-body .progress,
-  .markdown-body .progress-bar {
-    -moz-box-shadow: none;
-    -webkit-box-shadow: none;
-    box-shadow: none;
-  }
-
-  .markdown-body .progress {
-    border: 1px solid #ddd;
-  }
-
-  .markdown-body .progress-bar {
-    height: 22px;
-    border-right: 1px solid #ddd;
-  }
-
-  .markdown-body tr,
-  .markdown-body img {
-    page-break-inside: avoid;
-  }
-
-  .markdown-body img {
-    max-width: 100% !important;
-  }
-
-  .markdown-body p,
-  .markdown-body h2,
-  .markdown-body h3 {
-    orphans: 3;
-    widows: 3;
-  }
-
-  .markdown-body h2,
-  .markdown-body h3 {
-    page-break-after: avoid;
-  }
-}
-</style><style>/*GitHub*/
-.codehilite {background-color:#fff;color:#333333;}
-.codehilite .hll {background-color:#ffffcc;}
-.codehilite .c{color:#999988;font-style:italic}
-.codehilite .err{color:#a61717;background-color:#e3d2d2}
-.codehilite .k{font-weight:bold}
-.codehilite .o{font-weight:bold}
-.codehilite .cm{color:#999988;font-style:italic}
-.codehilite .cp{color:#999999;font-weight:bold}
-.codehilite .c1{color:#999988;font-style:italic}
-.codehilite .cs{color:#999999;font-weight:bold;font-style:italic}
-.codehilite .gd{color:#000000;background-color:#ffdddd}
-.codehilite .ge{font-style:italic}
-.codehilite .gr{color:#aa0000}
-.codehilite .gh{color:#999999}
-.codehilite .gi{color:#000000;background-color:#ddffdd}
-.codehilite .go{color:#888888}
-.codehilite .gp{color:#555555}
-.codehilite .gs{font-weight:bold}
-.codehilite .gu{color:#800080;font-weight:bold}
-.codehilite .gt{color:#aa0000}
-.codehilite .kc{font-weight:bold}
-.codehilite .kd{font-weight:bold}
-.codehilite .kn{font-weight:bold}
-.codehilite .kp{font-weight:bold}
-.codehilite .kr{font-weight:bold}
-.codehilite .kt{color:#445588;font-weight:bold}
-.codehilite .m{color:#009999}
-.codehilite .s{color:#dd1144}
-.codehilite .n{color:#333333}
-.codehilite .na{color:teal}
-.codehilite .nb{color:#0086b3}
-.codehilite .nc{color:#445588;font-weight:bold}
-.codehilite .no{color:teal}
-.codehilite .ni{color:purple}
-.codehilite .ne{color:#990000;font-weight:bold}
-.codehilite .nf{color:#990000;font-weight:bold}
-.codehilite .nn{color:#555555}
-.codehilite .nt{color:navy}
-.codehilite .nv{color:teal}
-.codehilite .ow{font-weight:bold}
-.codehilite .w{color:#bbbbbb}
-.codehilite .mf{color:#009999}
-.codehilite .mh{color:#009999}
-.codehilite .mi{color:#009999}
-.codehilite .mo{color:#009999}
-.codehilite .sb{color:#dd1144}
-.codehilite .sc{color:#dd1144}
-.codehilite .sd{color:#dd1144}
-.codehilite .s2{color:#dd1144}
-.codehilite .se{color:#dd1144}
-.codehilite .sh{color:#dd1144}
-.codehilite .si{color:#dd1144}
-.codehilite .sx{color:#dd1144}
-.codehilite .sr{color:#009926}
-.codehilite .s1{color:#dd1144}
-.codehilite .ss{color:#990073}
-.codehilite .bp{color:#999999}
-.codehilite .vc{color:teal}
-.codehilite .vg{color:teal}
-.codehilite .vi{color:teal}
-.codehilite .il{color:#009999}
-.codehilite .gc{color:#999;background-color:#EAF2F5}
-</style><title>README</title></head><body><article class="markdown-body"><h1 id="my-dotfiles">My Dotfiles<a class="headerlink" href="#my-dotfiles" title="Permanent link"></a></h1>
-<p>This is the collection of dotfiles that I use on my laptop for ricing pourposes</p>
-<h2 id="some-screenshots">Some screenshots<a class="headerlink" href="#some-screenshots" title="Permanent link"></a></h2>
-<p><img alt="" src="http://git.danix.xyz/dotfiles.git/raw/master/screenshots/1.png" title="My desktop" /></p>
-<h2 id="getting-started">Getting Started<a class="headerlink" href="#getting-started" title="Permanent link"></a></h2>
-<p>All of these files will go in your home directory. See <a href="#installing">Installing</a> for a brief description of where to put each file in this repository.</p>
-<h3 id="prerequisites">Prerequisites<a class="headerlink" href="#prerequisites" title="Permanent link"></a></h3>
-<p>You should know how linux works at least a little bit, but you can use this setup as your starting point, so Bash is a must.
-I work on <a href="http://www.slackware.com/">Slackware</a> since 2006, so you&rsquo;ll have to adapt everything if you&rsquo;re using another distro. As for the software used here you have it:</p>
-<ul>
-<li><a href="https://github.com/Airblader/i3">i3-gaps</a> - My window manager of choice.</li>
-<li><a href="https://feh.finalrewind.org/">feh</a> - wallpaper setter. Fast and lightweight.</li>
-<li><a href="https://github.com/brndnmtthws/conky">conky</a> - system monitor, I use it for my desk clock, but it can do so so much more.</li>
-<li><a href="https://github.com/davatorium/rofi">rofi</a> - Extremely customizable dmenu replacement, I use the git version.</li>
-<li><a href="https://gitlab.com/o9000/tint2">tint2</a> - Great lightweight bar that can run custom scripts.</li>
-<li><a href="https://github.com/chjj/compton">compton</a> - Lightweight compositor.</li>
-</ul>
-<h3 id="installing">Installing<a class="headerlink" href="#installing" title="Permanent link"></a></h3>
-<p>The <strong>bin</strong> directory is where we&rsquo;ll store all executables, so you may want to add it to your path, otherwhise you could use something like <code>/usr/local/bin</code>, but make sure to fix every reference to your executables in the other files.</p>
-<p><strong>i3</strong>, <strong>conky</strong>, <strong>rofi</strong> and <strong>tint2</strong> directories must go inside your <code>~/.config</code> directory, this is standard and you shouldn&rsquo;t have any problems with it.</p>
-<p><strong>Xresources</strong>, <strong>bash_profile</strong>, <strong>bashrc</strong> and <strong>xinitrc</strong> are all hidden files and you should place them in your home prepending a dot to their names, so everything should look like this:
-<div class="codehilite"><pre>$&gt; ls /home/danix
-.Xresources
-.bash_profile
-.bashrc
-.xinitrc
-[...]
-</pre></div>
-Here&rsquo;s how it looks for me on a fresh install:
-<div class="codehilite"><pre>$&gt; tree /home/danix
-├── .Xresources
-├── .bash_profile
-├── .bashrc
-├── bin/
-│   ├── blackpearl-appsmenu.sh
-│   ├── blackpearl-powermenu.sh
-│   ├── blackpearl-runner.sh
-│   ├── blackpearl-scrotmenu.sh
-│   ├── blackpearl-sshmenu.sh
-│   ├── blackpearl-utilsmenu.sh
-│   ├── blackpearl-window.sh
-│   └── executors/
-│       ├── caps
-│       ├── inet
-│       ├── mail-check
-│       ├── psuinfo.py
-│       └── wifi-name
-├── .config/
-│   ├── compton.conf
-│   ├── i3/
-│   |   └── config
-│   ├── conky/
-│   |   └── qlocktwo.conkyrc
-│   ├── rofi/
-│   |   └── blackpearl/
-│   |       ├── appmenu.rasi
-│   |       ├── i3exit.rasi
-│   |       ├── powermenu.rasi
-│   |       ├── runner.rasi
-│   |       ├── scrotmenu.rasi
-│   |       ├── shared/
-│   |       │   ├── reset.rasi
-│   |       │   └── settings.rasi
-│   |       └── utilsmenu.rasi
-│   └── tint2/
-│       ├── i3status.tint2rc
-│       └── minima.tint2rc
-└── .xinitrc
-</pre></div></p>
-<h2 id="authors">Authors<a class="headerlink" href="#authors" title="Permanent link"></a></h2>
-<ul>
-<li><strong>danix</strong> - <a href="https://danix.xyz">danix.xyz</a></li>
-</ul>
-<h2 id="license-and-acknowledgments">License and Acknowledgments<a class="headerlink" href="#license-and-acknowledgments" title="Permanent link"></a></h2>
-<p>This project is free to use as it is, if you need help you can contact me on my site and I&rsquo;ll try and help you, but you maybe luckier asking your questions on the <a href="https://www.reddit.com/r/unixporn/">unixporn thread on reddit</a>, which is where I found the inspiration and most of the links to make all this work. </p></article></body></html>
\ No newline at end of file
index ddf63aa..b57b53f 100644 (file)
--- a/README.md
+++ b/README.md
@@ -4,25 +4,24 @@ This is the collection of dotfiles that I use on my laptop for ricing pourposes
 
 ## Getting Started
 
-Most of these files will go in your home directory. See [Installing](#installing) for a brief description of where to put each file in this repository.
+Most of these files will go in your home directory. See [Installing](#Installing) for a brief description of where to put each file in this repository.
 
 ### Prerequisites
 
 You should know how linux works at least a little bit, but you can use this setup as your starting point, so Bash is a must.
-I work on [Slackware](http://www.slackware.com/) since 2006, so you'll have to adapt everything if you're using another distro. As for the software used here you have it:
+I use [Slackware](http://www.slackware.com/) since 2006, so you'll have to adapt everything if you're using another distro. As for the software used here you have it:
 
-* [i3-gaps](https://github.com/Airblader/i3) - My window manager of choice.
+* [i3](https://i3wm.org/) - My window manager of choice.
 * [feh](https://feh.finalrewind.org/) - wallpaper setter. Fast and lightweight.
-* [conky](https://github.com/brndnmtthws/conky) - system monitor, I use it for my desk clock, but it can do so so much more.
 * [rofi](https://github.com/davatorium/rofi) - Extremely customizable dmenu replacement, I use the git version.
-* [tint2](https://gitlab.com/o9000/tint2) - Great lightweight bar that can run custom scripts.
-* [compton](https://github.com/chjj/compton) - Lightweight compositor.
+* [picom](https://github.com/yshui/picom) - Lightweight compositor.
+* [polybar](https://github.com/polybar/polybar/) - Lightweight but highly configurable bar.
 
 ### Installing
 
 The **bin** directory is where we'll store all executables, so you may want to add it to your path, otherwhise you could use something like `/usr/local/bin`, but make sure to fix every reference to your executables in the other files.
 
-**i3**, **conky**, **rofi** and **tint2** directories must go inside your `~/.config` directory, this is standard and you shouldn't have any problems with it.
+**i3**, **conky**, **rofi** and **polybar** directories must go inside your `~/.config` directory, this is standard and you shouldn't have any problems with it.
 
 **Xresources**, **bash_profile**, **bashrc** and **xinitrc** are all hidden files and you should place them in your home prepending a dot to their names, so everything should look like this:
 ```
@@ -33,7 +32,9 @@ $> ls /home/danix
 .xinitrc
 [...]
 ```
+
 Here's how it looks for me on a fresh install:
+
 ```
 $> tree /home/danix
 ├── .Xresources
index 3a0887a..d3610cf 100644 (file)
@@ -59,10 +59,12 @@ XTerm*reverseVideo: on
 XTerm*selectToClipboard: true
 
 URxvt*termName: rxvt-unicode-256color
-!URxvt.font: xft:Space Mono:Regular:pixelsize=14
-!URxvt.boldFont: xft:Space Mono:Bold:pixelsize=14
-URxvt.font: xft:Source Code Pro:Regular:pixelsize=14
-URxvt.boldFont: xft:Source Code Pro:Bold:pixelsize=14
+!URxvt.font: xft:Inconsolata:Regular:pixelsize=14
+!URxvt.boldFont:Inconsolata:Regular:pixelsize=14
+URxvt.font: xft:Space Mono:Regular:pixelsize=14
+URxvt.boldFont: xft:Space Mono:Bold:pixelsize=14
+!URxvt.font: xft:Source Code Pro:Regular:pixelsize=14
+!URxvt.boldFont: xft:Source Code Pro:Bold:pixelsize=14
 URxvt.geometry: 120x30
 URxvt.depth: 32
 URxvt.letterSpace: 1
index d05411c..ea3b693 100644 (file)
@@ -4,3 +4,5 @@ if [ -f ~/.bashrc ]; then
        source ~/.bashrc
 fi
 
+# opam configuration
+test -r /home/danix/.opam/opam-init/init.sh && . /home/danix/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
diff --git a/bashrc b/bashrc
index 40588b2..6eade8a 100644 (file)
--- a/bashrc
+++ b/bashrc
@@ -75,12 +75,11 @@ alias du="du -sh"
 alias diff='diff --color=auto'
 alias grep='grep --color=auto'
 alias path='(IFS=:;ls -1d $PATH |  nl)'
-alias hf='history|grep'
 
 # history as big as possible!!
 HISTSIZE=1000000
 HISTFILESIZE=2000000
-HISTIGNORE='hf *'
+HISTIGNORE='hf *'
 # unix.stackexchange.com/a/18443
 # history: erase duplicates...
 HISTCONTROL=ignoreboth:erasedups
@@ -89,19 +88,27 @@ shopt -s histappend
 
 
 #export PATH=~/.platformio/penv/bin:~/.config/composer/vendor/bin:~/.local/bin:~/bin:$PATH
-export PATH=~/.config/composer/vendor/bin:~/.local/bin:~/bin:$PATH
+#export PATH=~/.config/composer/vendor/bin:~/.local/bin:~/bin:$PATH
 export INTEL_BATCH=1
 export QT_QPA_PLATFORMTHEME="lxqt"
 export QT_STYLE_OVERRIDE="kvantum-dark"
 export XDG_DATA_DIRS="/usr/local/share/:/usr/share/"
+export CM_LAUNCHER=rofi
 
 # Tailoring LESS
+# If any syntax highlighters are available, use them.
+# # pygmentize does more, but source-highlight is still good.
+if command -v pygmentize > /dev/null 2>&1; then
+    export LESSCOLOURIZER="pygmentize -f terminal"
+elif command -v source-highlight > /dev/null 2>&1; then
+    export LESSCOLOURIZER="source-highlight --failsafe --infer-lang -f esc --style-file=esc.style -i"
+fi
 alias more='less'
-export LESS='-R'
+export LESS=' -R'
 export LESSOPEN='|~/.lessfilter %s'
 export PAGER=less
 export SVN_EDITOR=vim
-export LESSCHARSET='latin1'
+export LESSCHARSET='utf-8'
 
 man() {
     LESS_TERMCAP_md=$'\e[01;31m' \
@@ -121,11 +128,12 @@ export PASSWORD_STORE_DIR=/home/danix/Programming/GIT/password_store/
 
 # logdate appends a date to a script output
 logdate() {
-       while IFS= read -r line; do
-               echo "$(date +"%F_%R.%S") $line"
-       done
+    while IFS= read -r line; do
+        echo "$(date +"%F_%R.%S") $line"
+    done
 }
 
+# start gpg-agent for ssh authentication as well as key management
 unset GPG_AGENT_INFO
 unset SSH_AGENT_PID
 if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
@@ -133,7 +141,7 @@ if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
 fi
 export GPG_TTY=$(tty)
 if [ -x "$(which gpg-connect-agent)" ]; then
-       gpg-connect-agent updatestartuptty /bye > /dev/null
+    gpg-connect-agent updatestartuptty /bye > /dev/null
 fi
 
 mount-fs () {
old mode 100755 (executable)
new mode 100644 (file)
index 207165c..6c499c4
@@ -1,4 +1,5 @@
 #!/bin/sh
 
-rofi -no-lazy-grab -show drun -theme blackpearl/appmenu
+# rofi -no-lazy-grab -show drun -theme blackpearl/appmenu
+rofi -no-lazy-grab -show drun -theme darknix/appmenu.rasi
 
old mode 100755 (executable)
new mode 100644 (file)
index aa203e3..c81cfd6
@@ -1,17 +1,18 @@
 #!/bin/bash
 
-rofi_command="rofi -theme blackpearl/powermenu.rasi"
+# rofi_command="rofi -theme blackpearl/powermenu.rasi"
+rofi_command="rofi -theme darknix/powermenu.rasi"
 
 ### Options ###
 power_off=""
 reboot=""
-lock="ï ½"
-suspend="鈴"
-log_out="ï\90¦"
+lock="ï\91\96"
+suspend="⏾" 
+log_out="﫼"
 # Variable passed to rofi
 options="$power_off\n$reboot\n$lock\n$suspend\n$log_out"
 
-chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 2)"
+chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 0)"
 case $chosen in
     $power_off)
         notify-send 'shutting down' 'the system is going to shutdown now'
@@ -25,7 +26,7 @@ case $chosen in
         ;;
     $lock)
         sleep 1
-        i3lock-blur
+        i3lock-fancy
         ;;
     $suspend)
         sleep 1
old mode 100755 (executable)
new mode 100644 (file)
index 687e3a8..36517d1
@@ -1,4 +1,4 @@
 #!/bin/sh
 
-rofi -no-lazy-grab -show run -theme blackpearl/runner
+rofi -no-lazy-grab -show run -theme darknix/runner.rasi
 
old mode 100755 (executable)
new mode 100644 (file)
index 18bec3d..dbafcb7
@@ -1,24 +1,19 @@
 #!/bin/bash
 
-rofi_command="rofi -theme blackpearl/scrotmenu.rasi"
+rofi_command="rofi -theme darknix/scrotmenu.rasi"
 
 ### Options ###
 screen=""
 area=""
-window=""
 # Variable passed to rofi
-options="$screen\n$area\n$window"
+options="$screen\n$area"
 
 chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 1)"
 case $chosen in
     $screen)
-        sleep 1; i3-scrot
+        i3-scrot -d 3
         ;;
     $area)
         i3-scrot -s
         ;;
-    $window)
-        sleep 1; i3-scrot -u
-        ;;
 esac
-
old mode 100755 (executable)
new mode 100644 (file)
index d8c879e..b70d4b9
@@ -1,4 +1,4 @@
 #!/bin/sh
 
-rofi -no-lazy-grab -show ssh -no-parse-known-hosts -theme blackpearl/appmenu.rasi
+rofi -no-lazy-grab -show ssh -no-parse-known-hosts -theme darknix/sshmenu.rasi
 
old mode 100755 (executable)
new mode 100644 (file)
index a2f8052..9bcab99
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-rofi_command="rofi -theme blackpearl/utilsmenu.rasi"
+rofi_command="rofi -theme darknix/utilsmenu.rasi"
 
 ### Options ###
 wpaper=""
old mode 100755 (executable)
new mode 100644 (file)
index 81b28b4..eb4f161
@@ -2,10 +2,10 @@
 
 case $1 in
        all )
-               rofi -no-lazy-grab -show window -theme blackpearl/appmenu.rasi
+               rofi -no-lazy-grab -show window -theme darknix/main.rasi
                ;;
        desktop )
-               rofi -no-lazy-grab -show windowcd -theme blackpearl/appmenu.rasi
+               rofi -no-lazy-grab -show windowcd -theme darknix/main.rasi
                ;;
 esac
 
diff --git a/bin/change_wallpaper.sh b/bin/change_wallpaper.sh
new file mode 100644 (file)
index 0000000..dd93b23
--- /dev/null
@@ -0,0 +1,117 @@
+#! /bin/bash
+
+PID=$$
+PIDFILE=${PIDFILE:-/tmp/wallpaper.pid}
+WAIT_CYCLE="5m"
+
+trap "rm -f $PIDFILE" SIGTERM
+
+WP_SETTER="/usr/bin/feh"
+QARMA="/usr/bin/qarma"
+
+function set_wp() {
+       NEW_WP=$1
+       $WP_SETTER --bg-fill $NEW_WP
+}
+
+# set background function (requires input)
+function wpapers() {
+       if [[ -f $1 ]]; then
+               # We have a single file as input
+               set_wp $1
+               exit 0
+       elif [[ -d $1 ]]; then
+               # directory as input
+               while true; do
+                       BGIMG=$(find $1 -type f -print | shuf -n1)
+                       set_wp ${BGIMG}
+                       sleep $WAIT_CYCLE
+               done
+       fi
+}
+
+function file_or_dir() {
+       if [[ -f /tmp/choice ]]; then
+               rm /tmp/choice
+       fi
+
+       FOD=$($QARMA --list --text="single image or directory?" --hide-header "file" "directory" > /tmp/choice)
+       case $? in
+               0 )
+                       file_chooser $(cat /tmp/choice)
+                       ;;
+               1 )
+                       $QARMA --info --title="Exiting!" --text="No wallpaper was changed."
+                       ;;
+               -1 )
+                       $QARMA --error --title="Ooops!!" --text="Something unexpected happened."
+                       ;;
+       esac
+}
+
+function file_chooser() {
+       case $1 in
+               "file" )
+                       FILE="$($QARMA --file-selection --title='Choose your Wallpaper')"
+                       case $? in
+                               0 )
+                                       wpapers $FILE
+                                       ;;
+                               1 )
+                                       $QARMA --info --title="Exiting!" --text="No wallpaper was changed."
+                                       ;;
+                               -1 )
+                                       $QARMA --error --title="Ooops!!" --text="Something unexpected happened."
+                       esac
+                       ;;
+               "directory" )
+                       FILE="$($QARMA --file-selection --directory --title='Choose your Wallpaper directory')"
+                       case $? in
+                               0 )
+                                       wpapers $FILE
+                                       ;;
+                               1 )
+                                       $QARMA --info --title="Exiting!" --text="No wallpaper was changed."
+                                       ;;
+                               -1 )
+                                       $QARMA --error --title="Ooops!!" --text="Something unexpected happened."
+                       esac
+                       ;;
+               * )
+                       $QARMA --error --title="Ooops!!" --text="Something unexpected happened."
+                       ;;
+       esac
+}
+
+function run() {
+       if [[ $(basename $0) == "wallpaper.sh" ]]; then
+               # we were called as wallpaper.sh, so simple wallpaper setter without qarma interaction
+               wpapers $1
+       elif [[ $(basename $0) == "change_wallpaper.sh" ]]; then
+               # we use qarma to set the wallpaper
+               $QARMA --question --title="Change Wallpaper" --text="Do you want to change the wallpaper?"
+               case $? in
+                       0 )
+                               file_or_dir
+                               ;;
+                       1 )
+                               $QARMA --info --title="Exiting!" --text="No wallpaper was changed."
+                               ;;
+                       -1 )
+                               $QARMA --error --title="Ooops!!" --text="Something unexpected happened."
+               esac
+       fi
+}
+
+if [[ -r $PIDFILE ]]; then
+       # PIDFILE exists, so I guess there's already an instance running
+       # let's kill it and run again
+       kill -s 15 $(cat $PIDFILE) > /dev/null 2>&1
+       # should already be deleted by trap, but just to be sure
+       rm $PIDFILE
+fi
+
+# create PIDFILE
+echo $PID > $PIDFILE
+
+run
diff --git a/bin/executors/battery-level b/bin/executors/battery-level
new file mode 100644 (file)
index 0000000..4078b35
--- /dev/null
@@ -0,0 +1,26 @@
+#! /bin/bash
+
+BAT_LEVEL=$(acpi -b | awk ' { print ($4)-0}')
+CHARGER_ON=$(acpi -a | grep -i "on")
+CHARGER_OFF=$(acpi -a | grep -i "off")
+
+if [ "$BAT_LEVEL" -le "20" ] ; then 
+       if [ "$CHARGER_OFF" ]; then
+               logger "battery not charging, we're gonna die soon."
+               notify-send -u critical -i dialog-error "BATTERY LOW" "battery level is below 20%, please plug the AC charger"
+               pactl set-sink-volume 0 100\%
+               pactl set-sink-mute 0 0
+               play -q /usr/share/sounds/Oxygen-Sys-App-Error.ogg
+       else
+               logger "battery low but charging. It's all fine."
+       fi
+elif [ "$BAT_LEVEL" -lt "10" ]; then
+       if [ "$CHARGER_ON" ]; then
+               logger "battery extremely low but charging. It's all fine."
+       else
+               notify-send -u critical -i dialog-error "BATTERY EXTREMELY LOW" "battery level is below 10%, the system is going to shutdown."
+               pactl set-sink-volume 0 100\%
+               pactl set-sink-mute 0 0
+               play -q /usr/share/sounds/Oxygen-Sys-App-Error-Serious.ogg
+       fi
+fi
old mode 100755 (executable)
new mode 100644 (file)
index b942ab2..13858ff
@@ -1,5 +1,5 @@
 #!/bin/bash
-rofi_command="rofi -theme blackpearl/i3exit.rasi"
+rofi_command="rofi -theme darknix/i3exit.rasi"
 
 NO="ﰸ"
 YES=""
old mode 100755 (executable)
new mode 100644 (file)
index 27e60bd..57958f0
@@ -24,33 +24,27 @@ fi
 case "$1" in
        --desk|-d|$NULL)
                cd $scrot_dir
-           $cmd &&
-               sleep 1 &&
-               notify-send "screenshot has been saved in $scrot_dir"
-               ;;
-       --window|-w)
-               cd $scrot_dir
-               $cmd -u &&
-               sleep 1 &&
+           $cmd
+               sleep 1
                notify-send "screenshot has been saved in $scrot_dir"
                ;;
        --select|-s)
                cd $scrot_dir
-               notify-send 'select an area for the screenshot' &
-               $cmd -s &&
-               sleep 1 && notify-send "screenshot has been saved in $scrot_dir"
+               notify-send 'select a window or drag to select an area for the screenshot' &
+               $cmd -s
+               sleep 1
+               notify-send "screenshot has been saved in $scrot_dir"
                ;;
        --help|-h)
                echo "
 available options:
 -d | --desk    full screen
--w | --window  active window
 -s | --select  selection
 -h | --help    display this information
 
-The -d or -w options can be used with a delay
+All options can be used with a delay
 by adding the number of seconds, like for example:
-'i3-scrot -w 5'
+'i3-scrot -d 5'
 
 Default option is 'full screen'.
 
@@ -64,7 +58,6 @@ Default is $scrot_dir
 
 available options:
 -d | --desk    full screen
--w | --window  active window
 -s | --select  selection
 -h | --help    display this information
 
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/bin/run-polybar.sh b/bin/run-polybar.sh
new file mode 100755 (executable)
index 0000000..5d90e5f
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# Terminate already running bar instances
+killall -q polybar
+# If all your bars have ipc enabled, you can also use
+# polybar-msg cmd quit
+
+# Launch Polybar, using default config location ~/.config/polybar/config.ini
+polybar top -r --config=/home/danix/.config/polybar/config.ini 2>&1 | tee -a /tmp/polybar-top.log & disown
+polybar bottom -r --config=/home/danix/.config/polybar/config.ini 2>&1 | tee -a /tmp/polybar-bottom.log & disown
+
+logger "Polybar launched..."
diff --git a/bin/wacom b/bin/wacom
new file mode 100755 (executable)
index 0000000..0cf66e3
--- /dev/null
+++ b/bin/wacom
@@ -0,0 +1,22 @@
+#! /bin/bash
+
+device="Wacom Intuos PT M"
+PAD="$device Pad pad"
+FINGER="$device Finger touch" # NOT USED
+STYLUS="$device Pen stylus"
+ERASER="$device Pen eraser"
+
+xsetwacom set "$PAD" "Button" 1 "key +ctrl e -ctrl"
+xsetwacom set "$PAD" "Button" 3 "key +ctrl s -ctrl"
+xsetwacom set "$PAD" "Button" 8 "key +ctrl y -ctrl"
+xsetwacom set "$PAD" "Button" 9 "key +ctrl z -ctrl"
+
+xsetwacom set "$STYLUS" PressureCurve 5 10 90 95
+xsetwacom set "$STYLUS" "Button" 1 "button +1"
+xsetwacom set "$STYLUS" "Button" 2 "button +2 -2"
+xsetwacom set "$STYLUS" "Button" 3 "button +3 -3"
+
+xsetwacom set "$ERASER" PressureCurve 0 10 90 100
+xsetwacom set "$ERASER" "Button" 1 key "button +1"
+xsetwacom set "$ERASER" "Button" 2 key ""
+xsetwacom set "$ERASER" "Button" 3 key ""
index 183bc75..d14eb36 100644 (file)
@@ -1,4 +1,5 @@
-# bash completion for is_installed                          -*- shell-script -*-
+# bash completion for is_installed
+# -*- shell-script -*-
 
 _is_installed()
 {
index cd7cfe8..c000eac 100644 (file)
--- a/i3/config
+++ b/i3/config
@@ -23,6 +23,12 @@ set $win Mod4
 set $alt Mod1
 set $ctrl Ctrl
 
+# browser variable
+set $browser firefox
+set $incognito-browser firefox --private-window
+# editor variable
+set $prog-editor sublime_text
+
 # title alignment
 #title_align center
 
@@ -34,14 +40,14 @@ set $ctrl Ctrl
 # # something like: set $ws1 1:mail
 # #                 set $ws2 2:x
 #
-set $ws1 "1:web"
-set $ws2 "2:editor"
-set $ws3 "3:console"
-set $ws4 "4:ssh"
-set $ws5 "5:graphic"
-set $ws6 "6:editor2"
-set $ws7 "7:chat"
-set $ws8 "8:music"
+set $ws1 "web"
+set $ws2 "editor"
+set $ws3 "console"
+set $ws4 "ssh"
+set $ws5 "graphic"
+set $ws6 "editor2"
+set $ws7 "chat"
+set $ws8 "music"
 
 # per workspace gaps
 workspace $ws1 gaps inner 0
@@ -58,41 +64,66 @@ font pango:"Droid Sans 10"
 floating_modifier $win
 
 # start a terminal
-bindsym $alt+Return exec urxvt
+# macropad 5
+bindsym $alt+Return exec --no-startup-id alacritty
+# macropad Shift+5
+bindsym Shift+$alt+Return exec --no-startup-id blackpearl-sshmenu.sh
+
 
 # custom binding
-bindsym Shift+$ctrl+l exec --no-startup-id xclip -o | qrencode -o - | feh -Z -
+# macropad 4
+bindsym Shift+$ctrl+l exec --no-startup-id clipmenu -no-lazy-grab -show run -theme blackpearl/runner
+bindsym $alt+Shift+$ctrl+l exec --no-startup-id xclip -o | qrencode -o - | feh -Z -
 bindsym Print exec --no-startup-id blackpearl-scrotmenu.sh
 bindsym $alt+Menu exec --no-startup-id blackpearl-utilsmenu.sh
+bindsym $win+Menu exec --no-startup-id blackpearl-appsmenu.sh
 bindsym $alt+Escape --release exec xkill
 bindsym $win+e exec pcmanfm-qt
+# macropad 3
+bindsym $win+g exec gimp
 #bindsym $win+x exec --no-startup-id i3-exit
-bindsym $win+s exec --no-startup-id wol d4:c9:ef:f1:c9:24
+#bindsym $win+s exec --no-startup-id wol d4:c9:ef:f1:c9:24
 bindsym $win+l exec --no-startup-id i3lock-fancy
-bindsym $win+t exec flatpak run io.typora.Typora
-bindsym $win+w exec vivaldi
+# macropad 1
+bindsym $win+w exec $browser
+# macropad Shift+1
+bindsym $win+Shift+w exec $incognito-browser
 bindsym XF86Calculator exec kcalc
 bindsym XF86Sleep exec i3suspend
-bindsym $win+Shift+w exec "vivaldi --incognito"
-bindsym $win+h exec --no-startup-id blackpearl-sshmenu.sh
-bindsym $win+r exec atom
+# macropad 2
+bindsym $win+r exec $prog-editor
+bindsym $win+Shift+r exec Typora
 bindsym XF86HomePage exec --no-startup-id blackpearl-appsmenu.sh
-bindsym $win+p exec uxterm -T "spt" -geometry 90x30+800+30 -e spt
-bindsym $win+Shift+t exec flatpak run org.telegram.desktop
+#bindsym $win+p exec uxterm -T "spt" -geometry 90x30+800+30 -e spt
+bindsym $win+m exec Telegram
 
 # window switching bindings
 bindsym $alt+Tab exec --no-startup-id "blackpearl-window.sh desktop"
 bindsym $alt+Ctrl+Tab exec --no-startup-id "blackpearl-window.sh all"
 
-# volume binding
+# multimedia binding
+# macropad top encoder
 bindsym XF86AudioMute exec --no-startup-id pamixer -t
 bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 5
 bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 5
+# macropad bottom encoder
+bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
+bindsym XF86AudioPrev exec --no-startup-id playerctl previous
+bindsym XF86AudioNext exec --no-startup-id playerctl next
+
+# brightness bindings
+# macropad Alt + top encoder
+bindsym $alt+XF86AudioLowerVolume exec --no-startup-id monitor-light.sh dec 10
+bindsym $alt+XF86AudioRaiseVolume exec --no-startup-id monitor-light.sh inc 10
 
 # kill focused window
 #bindsym $ctrl+Shift+q kill
 
-# start dmenu (a program launcher)
+# restart polybar
+# macropad Alt + bottom encoder
+bindsym $alt+XF86AudioPlay exec --no-startup-id polybar-msg cmd restart
+
+# start rofi in dmenu mode (a program launcher)
 bindsym $alt+F2 exec --no-startup-id blackpearl-runner.sh
 
 # change focus
@@ -120,17 +151,17 @@ bindsym $alt+Shift+Up move up
 bindsym $alt+Shift+Right move right
 
 # split in horizontal orientation
-bindsym $alt+h split h;exec notify-send 'split horizontally'
+bindsym $alt+h split h;exec notify-send 'splitting windows horizontally'
 # split in vertical orientation
-bindsym $alt+v split v;exec notify-send 'split vertically'
+bindsym Shift+$alt+h split v;exec notify-send 'splitting windows vertically'
 
 # enter fullscreen mode for the focused container
 bindsym $alt+f fullscreen toggle
 
 # change container layout (stacked, tabbed, toggle split)
-bindsym $alt+s layout stacking;exec notify-send 'layout stacking'
 bindsym $alt+w layout tabbed;exec notify-send 'layout tabbed'
-bindsym $alt+e layout toggle split;exec notify-send 'layout split'
+bindsym Shift+$alt+w layout stacking;exec notify-send 'layout stacking'
+bindsym Ctrl+$alt+w layout toggle split;exec notify-send 'layout split'
 
 # toggle tiling / floating
 bindsym $alt+Shift+space floating toggle
@@ -149,55 +180,53 @@ bindsym Ctrl+F1 workspace $ws1
 bindsym Ctrl+F2 workspace $ws2
 bindsym Ctrl+F3 workspace $ws3
 bindsym Ctrl+F4 workspace $ws4
-bindsym Ctrl+F5 workspace $ws5
-bindsym Ctrl+F6 workspace $ws6
-bindsym Ctrl+F7 workspace $ws7
-bindsym Ctrl+F8 workspace $ws8
+bindsym Shift+Ctrl+F1 workspace $ws5
+bindsym Shift+Ctrl+F2 workspace $ws6
+bindsym Shift+Ctrl+F3 workspace $ws7
+bindsym Shift+Ctrl+F4 workspace $ws8
 
 # move focused container to workspace
-bindsym $win+Shift+1 move container to workspace $ws1
-bindsym $win+Shift+2 move container to workspace $ws2
-bindsym $win+Shift+3 move container to workspace $ws3
-bindsym $win+Shift+4 move container to workspace $ws4
-bindsym $win+Shift+5 move container to workspace $ws5
-bindsym $win+Shift+6 move container to workspace $ws6
-bindsym $win+Shift+7 move container to workspace $ws7
-bindsym $win+Shift+8 move container to workspace $ws8
+bindsym $win+Ctrl+F1 move container to workspace $ws1
+bindsym $win+Ctrl+F2 move container to workspace $ws2
+bindsym $win+Ctrl+F3 move container to workspace $ws3
+bindsym $win+Ctrl+F4 move container to workspace $ws4
+bindsym $win+Shift+Ctrl+F1 move container to workspace $ws5
+bindsym $win+Shift+Ctrl+F2 move container to workspace $ws6
+bindsym $win+Shift+Ctrl+F3 move container to workspace $ws7
+bindsym $win+Shift+Ctrl+F4 move container to workspace $ws8
 
 # navigate workspaces
 #bindsym $win+Home workspace $ws1
 #bindsym $win+End workspace $ws8
-bindsym $win+Prior workspace prev
-bindsym $win+Next workspace next
-
-# navigate workspaces next / previous
-#bindsym $win+Ctrl+j workspace prev
-#bindsym $win+Ctrl+ograve workspace next
-#bindsym $win+Ctrl+Right workspace next
-#bindsym $win+Ctrl+Left workspace prev
+bindsym $win+XF86AudioPrev workspace prev
+bindsym $win+XF86AudioNext workspace next
 
 # assign programs to specific workspaces
-assign [title="ssh"] $ws4
-assign [class="URxvt"] $ws3
-assign [class="Atom"] $ws2
+assign [class="Firefox"] $ws1
+assign [class="Sublime_text"] $ws2 
+for_window [title="^ssh*"] move to workspace $ws4
+assign [class="Alacritty"] $ws3
+assign [class="Gimp"] $ws5
 assign [class="Typora"] $ws6
-assign [class="Vivaldi-stable"] $ws1
+assign [class="trojita"] $ws6
+assign [class="Joplin"] $ws8
 assign [class="Telegram"] $ws7
-assign [class="gimp-2.10"] $ws5
-assign [title="^spt$"] $ws8
 
 # open specific apps in floating mode
 for_window [class="kcalc"] floating enable border pixel 1
 for_window [class="lxsudo"] floating enable border pixel 1
 for_window [title="^spt$"] floating enable border pixel 1
 
+# trojita starts in tabbed layout
+for_window [class="trojita"] layout tabbed
+
 # switch to workspace with urgent window automatically
 for_window [urgent=latest] focus
 
-client.focused #349f86 #349f85 #000088 #00C1FF
-client.focused_inactive #2C2C2C #2C2C2C #ffffff #2C2C2C
-client.unfocused #2C2C2C #2C2C2C #ffffff #2C2C2C
-client.urgent #00C1FF #00C1FF #000088 #00C1FF
+client.focused #f57c00 #ffb74d #303030 #7986cb
+client.focused_inactive #303030 #303030 #ffb74d #303030
+client.unfocused #303030 #303030 #BDBDBD #303030
+client.urgent #D32F2F #D32F2F #303030 #D32F2F
 
 # window borders
 hide_edge_borders both
@@ -280,30 +309,35 @@ mode "$wine_gaps_inner" {
         bindsym Escape mode "default"
 }
 
-
-# start kdeconnect
-exec --no-startup-id kdeconnect-indicator
-
-# start tint2 i3status
-exec --no-startup-id tint2 -c ~/.config/tint2/i3status.tint2rc
-
-# start tint2 bar
-exec --no-startup-id tint2 -c ~/.config/tint2/minima.tint2rc
-
-# start pulseaudio daemon
-exec --no-startup-id start-pulseaudio-x11
+# start both polybar
+exec_always --no-startup-id $HOME/bin/run-polybar.sh
 
 # start networkmanager applet
 exec --no-startup-id nm-applet
 
 # start lxqt-notificationd
 exec --no-startup-id lxqt-notificationd
+
+# start pulseaudio daemon
+exec --no-startup-id start-pulseaudio-x11
+
+# start dunst
 #exec --no-startup-id dunst
 
-# start keepassxc
-#exec --no-startup-id keepassxc
+# start tint2 i3status
+#exec --no-startup-id tint2 -c ~/.config/tint2/i3status.tint2rc
+
+# start tint2 bar
+#exec --no-startup-id tint2 -c ~/.config/tint2/minima.tint2rc
+
+# start kdeconnect
+#exec --no-startup-id kdeconnect-indicator
+
+# start redshift applet
+#exec --no-startup-id redshift-gtk
+
 # start qtpass
-exec --no-startup-id qtpass
+#exec --no-startup-id qtpass
 
-# start audio icon
-exec --no-startup-id pnmixer
+# start feh-blur
+exec --no-startup-id feh-blur -b 7 --no-animate -d
similarity index 100%
rename from compton.conf
rename to oldies/compton.conf
similarity index 100%
rename from bin/executors/caps
rename to oldies/executors/caps
similarity index 100%
rename from bin/executors/inet
rename to oldies/executors/inet
similarity index 100%
rename from wacomsetter.sh
rename to oldies/wacomsetter.sh
similarity index 100%
rename from bin/wallpaper.sh
rename to oldies/wallpaper.sh
index a8ba5c7..660f5f7 100644 (file)
@@ -44,6 +44,7 @@ shadow-offset-y = -7;
 #
 # shadow-exclude = []
 shadow-exclude = [
+  "class_g = 'lxqt-notificationd'",
   "name = 'Notification'",
   "class_g = 'Conky'",
   "class_g ?= 'Notify-osd'",
@@ -273,7 +274,7 @@ detect-transient = true;
 # will be considered focused or unfocused at the same time.
 # 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too.
 #
-# detect-client-leader = false
+detect-client-leader = true;
 
 # Resize damaged region by a specific number of pixels.
 # A positive value enlarges it while a negative one shrinks it.
@@ -420,7 +421,7 @@ log-level = "warn";
 #
 wintypes:
 {
-  tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
+  tooltip = { fade = true; shadow = false; opacity = 0.95; focus = true; full-shadow = false; };
   dock = { shadow = false; clip-shadow-above = true; }
   dnd = { shadow = false; }
   popup_menu = { opacity = 0.8; }
index 55484ea..228b7d5 100644 (file)
@@ -3,7 +3,7 @@
 set -g history-limit 10000
 
 ## set the default TERM
-set -g default-terminal screen
+set -g default-terminal "screen-256color"
 ## update the TERM variable of terminal emulator when creating a new session or attaching a existing session
 set -g update-environment 'DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY TERM'
 ## determine if we should enable 256-colour support
@@ -161,9 +161,9 @@ set -goq @blackpearl-status-left-area-left-format "\[ #h \]"
 set -goq @blackpearl-status-left-area-middle-format "#(whoami)"
 set -goq @blackpearl-status-left-area-right-format ""
 
-set -goq @blackpearl-status-right-area-left-format ""
-set -goq @blackpearl-status-right-area-middle-format "[ %d-%b-%y ]"
-set -goq @blackpearl-status-right-area-right-format "[ %H:%M:%S ]"
+#set -goq @blackpearl-status-right-area-left-format ""
+#set -goq @blackpearl-status-right-area-middle-format "[ %d-%b-%y ]"
+#set -goq @blackpearl-status-right-area-right-format "[ %H:%M:%S ]"
 
 set -goq @blackpearl-window-status-current-format "( #I:#W )"
 set -goq @blackpearl-window-status-format "#I:#W"
@@ -178,13 +178,12 @@ set -gF status-justify centre
 set -gF  status-style "fg=#{@blackpearl-orange},bg=#{@blackpearl-standard-background}"
 
 set -gF  status-left-length "40"
-set -gF  status-right-length "150"
+#set -gF  status-right-length "150"
+set -gF  status-right-length "0"
 set -gF status-left "#{@theme-status-left}"
-# set -gF status-left "[ #h ] ♥ #(cat /etc/slackware-version)"
 set -gF status-left-style "fg=#{@blackpearl-orange},bg=#{@blackpearl-standard-background}"
-set -gF status-right "#{@theme-status-right}"
-# set -gF status-right "%d-%b-%y | %H:%M:%S"
-set -gF status-right-style "fg=#{@blackpearl-orange},bg=#{@blackpearl-standard-background}"
+#set -gF status-right "#{@theme-status-right}"
+#set -gF status-right-style "fg=#{@blackpearl-orange},bg=#{@blackpearl-standard-background}"
 
 set -gwF window-status-current-format "#{@theme-window-status-current-format}"
 set -gwF window-status-format "#{@theme-window-status-format}"
@@ -196,13 +195,8 @@ set -gF  message-style "fg=#{@blackpearl-dark-grey},bg=#{@blackpearl-orange}"
 set -gwF clock-mode-colour "#{@theme-clock-mode-colour}"
 set -gwF clock-mode-style "#{@theme-clock-mode-style}"
 
-# set-option -g status-style bg=colour220,fg=colour233
-# set-option -g pane-active-border-bg "#ff0000"
-# set -gq @themepack-status-left-area-right-format ""
-# set -gq @themepack-status-right-area-middle-format "#h"
-# set -gq @themepack-status-right-area-right-format "%d-%b-%y"
-# set -gq @powerline-status-bg "ffbf00"
-# set -g @themepack 'powerline/block/yellow'
+# remove the right side of the status bar
+set-option -g status-right ""
 
 # run tmux-plugin-manager
 # run -b '~/.tmux/plugins/tpm/tpm'
diff --git a/xinitrc b/xinitrc
index cf28ecf..94de8f8 100644 (file)
--- a/xinitrc
+++ b/xinitrc
@@ -2,7 +2,6 @@
 
 userresources=$HOME/.Xresources
 usermodmap=$HOME/.Xmodmap
-userxprofile=$HOME/.xprofile
 sysresources=/etc/X11/xinit/.Xresources
 sysmodmap=/etc/X11/xinit/.Xmodmap
 
@@ -11,8 +10,6 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
 [ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap
 [ -f $userresources ] && /usr/bin/xrdb -merge $userresources
 [ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap
-[ -f $userxprofile ] && . $userxprofile
-
 
 # Start i3
 if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
index 2384452..ca975ef 100644 (file)
--- a/xprofile
+++ b/xprofile
@@ -1,17 +1,24 @@
 #! /bin/sh
 
 xbacklight -set 100 &
-# ~/.fehbg &
-~/bin/wallpaper.sh ~/Pictures/wallpapers/Chrome_OS_Wallpapers_Late_2020/Element_by_Rutger_Paulusse/ &
-#wicd-client --tray &
-#lxqt-powermanagement &
+clipmenud &> /dev/null &
+kdeconnect-indicator &
+redshift-gtk &
+qtpass &
 setxkbmap -layout it &
 numlockx &
 syndaemon -K -t -R -i 2 -d &
+picom -b
+xdg-user-dirs-update &
+
+# USELESS!!!
+#wicd-client --tray &
+# ~/.fehbg &
+# ~/bin/wallpaper.sh ~/Pictures/wallpapers/Chrome_OS_Wallpapers_Late_2020/Element_by_Rutger_Paulusse/ &
+# /home/danix/Pictures/wallpapers/Walls-by-JFL/
+#lxqt-powermanagement &
 #xautolock -time 10 -locker i3lock-wrapper -notify 30 -notifier "notify-send 'locking the system' '30 seconds before locking system.' --icon=dialog-warning" &
 #compton --dbus --config ~/.config/compton.conf &
-picom -b
 #conky -c ~/.config/conky/qlocktwo.conkyrc &
-xdg-user-dirs-update &