Skip to content

Instantly share code, notes, and snippets.

@dharmx
dharmx / .zshrc
Created June 23, 2022 18:23
Monolithic .zshrc file that uses zplug.
ZDOTDIR="$HOME"
[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env"
# Colors
# black
foreground='#d4d4d5'
background='#101317'
color0='#171c21'
@dharmx
dharmx / eww.scss
Last active May 22, 2022 17:07
EWW box image example.
box box {
background-image: url("https://runt-of-the-web.com/wordpress/wp-content/uploads/2013/05/shibe-meme-blazed.jpg");
border-radius: 20%;
color: red;
font-size: 30;
font-weight: bolder;
background-repeat: no-repeat;
}
// vim:ft=scss
@dharmx
dharmx / eww.yuck
Created May 21, 2022 09:51
EWW current window name example.
(deflisten node_events "./loop.zsh")
(defwindow test :geometry
(geometry :anchor "center" :width "500px" :height "50px")
(window-test))
(defwidget window-test [] (box :orientation "v" (label :text node_events)))
;; vim:ft=yuck
@dharmx
dharmx / eww.scss
Last active May 19, 2022 13:15
Sample eww volume slider demo [Pulse].
* {
all: unset;
font-family: "Cooper Hewitt";
}
box {
padding: 0.5em;
}
scale highlight {