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
| package main | |
| /* | |
| #cgo pkg-config: openssl | |
| #include <openssl/md5.h> | |
| */ | |
| import "C" | |
| import ( | |
| "encoding/hex" |
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
| diff '--color=auto' -Naur xscreensaver-6.00/hacks/glx/glmatrix.c xscreensaver-6.00.patched/hacks/glx/glmatrix.c | |
| --- xscreensaver-6.00/hacks/glx/glmatrix.c 2021-02-07 12:15:42.000000000 -0800 | |
| +++ xscreensaver-6.00.patched/hacks/glx/glmatrix.c 2021-05-02 17:21:54.254157186 -0700 | |
| @@ -213,6 +213,11 @@ | |
| {&do_texture, "texture", "Texture", DEF_TEXTURE, t_Bool}, | |
| }; | |
| +static unsigned char rgb_red = 0xFF; | |
| +static unsigned char rgb_green = 0x00; | |
| +static unsigned char rgb_blue = 0x00; |
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 python3 | |
| import argparse | |
| import os | |
| from pathlib import Path | |
| from i3ipc import Connection | |
| from time import sleep | |
| parser = argparse.ArgumentParser() |
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
| diff --git a/src/modules/i3.cpp b/src/modules/i3.cpp | |
| index 383a39f..e16d2ab 100644 | |
| --- a/src/modules/i3.cpp | |
| +++ b/src/modules/i3.cpp | |
| @@ -160,6 +160,15 @@ namespace modules { | |
| // Trim leading and trailing whitespace | |
| ws_name = string_util::trim(move(ws_name), ' '); | |
| + if (ws_name.back() == '_' && !ws->visible) { | |
| + continue; |