Skip to content

Instantly share code, notes, and snippets.

View eternal-sorrow's full-sized avatar
🖕
I would if I could

Eternal Sorrow eternal-sorrow

🖕
I would if I could
View GitHub Profile
@eternal-sorrow
eternal-sorrow / userChrome.css
Created January 22, 2022 11:42
No round corners in Firefox
menupopup, panel {
--panel-border-radius: 0!important;
}
toolbar .toolbarbutton-1 > .toolbarbutton-icon,
toolbar .toolbarbutton-1 > .toolbarbutton-text,
toolbar .toolbarbutton-1 > .toolbarbutton-badge-stack,
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon,
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-text,
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-badge-stack,
@eternal-sorrow
eternal-sorrow / bgxml-gen
Created April 30, 2020 16:00
Generate auto changing wallpater XML file for GNOME
#!/bin/bash
#finishing script function
die()
{
if ! [ -z $2 ]
then
rm -f $2
fi
echo "Exiting..."
@eternal-sorrow
eternal-sorrow / binding_code.patch
Last active September 9, 2019 22:53
Patch for sway so that bindsym --to-code was the default behavior of bindsym
--- a/sway/commands/bind.c 2019-05-12 03:59:43.614399853 +1000
+++ b/sway/commands/bind.c 2019-05-12 04:02:03.259677398 +1000
@@ -349,10 +349,6 @@
binding->flags |= BINDING_BORDER | BINDING_CONTENTS | BINDING_TITLEBAR;
} else if (strcmp("--border", argv[0]) == 0) {
binding->flags |= BINDING_BORDER;
- } else if (strcmp("--to-code", argv[0]) == 0) {
- if (!bindcode) {
- binding->flags |= BINDING_CODE;
- }