This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| interval="$2" | |
| dir="$1" | |
| set() { | |
| feh --bg-fill "$1" | |
| } | |
| while true; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| # gen.sh | |
| [ $1 = "local" ] && ssh -t cecropia '/root/panelgen/gen.sh' && exit | |
| cd /root/panelgen | |
| git pull | |
| go build -C gen |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .example { | |
| font-family: "Germania One Downskew"; | |
| font-size: 55px; | |
| font-weight: 900; | |
| background-color: #17192b; | |
| color: #FF0057; | |
| } | |
| .bb1 { | |
| background-color: rgba(133, 40, 52, 0.05); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (deflisten battery :initial "-1" `battery`) | |
| (deflisten batteryleader :initial "" `battery leader`) | |
| (deflisten workspaces :initial `(box)` | |
| `tailfix /tmp/herbchange`) | |
| (deflisten volume :initial `0` | |
| `sleep 100`) | |
| (deflisten volumepx :initial `0` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use std::sync::{Arc, RwLock}; | |
| use rand::rngs::OsRng; | |
| use rand::TryRngCore; | |
| use axum::{ | |
| http::StatusCode, | |
| extract::{Request, State}, | |
| middleware::Next, | |
| response::{Response, Result}, | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use std::sync::{Arc, RwLock}; | |
| use rand::rngs::OsRng; | |
| use rand::TryRngCore; | |
| use axum::{ | |
| extract::{Request, State}, | |
| middleware::Next, | |
| response::{Response, Result}, | |
| }; | |
| use ecies::{SecretKey, encrypt, decrypt}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use std::sync::{Arc, RwLock}; | |
| use rand::rngs::OsRng; | |
| use rand::TryRngCore; | |
| use axum::{ | |
| extract::{Request, State}, | |
| middleware::Next, | |
| response::Response, | |
| }; | |
| use ecies::{SecretKey, encrypt, decrypt}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| go vet cmd/main.go && touch .vetted |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| emote_dir="$HOME/pics/emotes" | |
| emote_name="" | |
| emote_link="" | |
| emote_dir_sed=$(echo $emote_dir | sed 's/\//\\\//g') | |
| select_emote(){ | |
| select="$(echo -en $(echo "$emote_dir"/* | tr ' ' '\n' | sed "s/.*\/\(.*\).[pg][ni][gf][e]\?/\1\\\0icon\\\x1f$emote_dir_sed\/\1.png/g") | tr ' ' '\n' | rofi -theme ~/.config/rofi/emote.rasi -dmenu -show-icons -icon-theme emote)" | |
| xclip -selection clipboard -t image/png -i "$emote_dir"/"$select".png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @file | |
| */ | |
| #ifndef WM_STATE_H | |
| #define WM_STATE_H | |
| #include <uthash.h> | |
| #include <xcb/xcb.h> | |
| #include <xcb/xcb_ewmh.h> |
NewerOlder