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
--- .config 2019-07-29 20:33:56.395614205 +0000 | |
+++ .config.video.new 2019-07-29 20:35:50.438050884 +0000 | |
@@ -486,11 +486,13 @@ | |
# | |
# Misc commands | |
# | |
+# CONFIG_CMD_BMP is not set | |
# CONFIG_CMD_BSP is not set | |
# CONFIG_CMD_BKOPS_ENABLE is not set | |
CONFIG_CMD_BLOCK_CACHE=y |
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
import os | |
import hexchat | |
import subprocess | |
__module_name__ = "StupidNotifier" | |
__module_version__ = "0.8" | |
__module_description__ = "On notification change title via wmctrl." | |
# https://hexchat.readthedocs.io/en/latest/script_python.html#channels | |
# ^ is simply wrong! The actual flags can be found at |
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/notify.c b/notify.c | |
index 8180477d..7e316268 100644 | |
--- a/notify.c | |
+++ b/notify.c | |
@@ -48,7 +48,10 @@ notify_notify(const struct terminal *term, const char *title, const char *body) | |
/* Redirect stdin to /dev/null, but ignore failure to open */ | |
int devnull = open("/dev/null", O_RDONLY); | |
+ | |
+ setenv("FOOT_PTY", ptsname(term->ptmx), 1); |
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
#include <QApplication> | |
#include <QMainWindow> | |
#include <QPushButton> | |
#include <LayerShellQt/shell.h> | |
#include <LayerShellQt/window.h> | |
int main(int argc, char **argv) { | |
QApplication app(argc, argv); | |
LayerShellQt::Shell::useLayerShell(); |
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/include/ssd.h b/include/ssd.h | |
index 5e82be2c..2664905f 100644 | |
--- a/include/ssd.h | |
+++ b/include/ssd.h | |
@@ -65,6 +65,7 @@ void ssd_update_geometry(struct ssd *ssd); | |
void ssd_destroy(struct ssd *ssd); | |
void ssd_enable_keybind_inhibit_indicator(struct ssd *ssd, bool enable); | |
+void ssd_enable_shade(struct ssd *ssd, bool enable); | |
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/output.c b/src/output.c | |
index f7f95ab1..435471a8 100644 | |
--- a/src/output.c | |
+++ b/src/output.c | |
@@ -9,6 +9,7 @@ | |
#define _POSIX_C_SOURCE 200809L | |
#include <assert.h> | |
#include <strings.h> | |
+#include <wlr/backend/drm.h> | |
#include <wlr/types/wlr_buffer.h> |
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
#!/bin/bash | |
ENDPOINT="https://api.github.com/graphql" | |
orga=$some_orga | |
repo=$some_repo | |
ro_token="$GH_READ_ONLY_TOKEN" | |
parser=$(command -v jq) | |
test -z "$parser" && parser=cat |
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
#!/bin/bash | |
app_id=magic | |
executable="foot -a $app_id -o colors.alpha=0.8 -o pad=20x20" | |
# start if not already there | |
if ! wlrctl window find app_id:$app_id; then | |
echo "starting up $executable" | |
$executable & | |
disown |