Skip to content

Instantly share code, notes, and snippets.

Window Decoration Outline for GNOME/GTK apps w/ Mojave-dark theme

WARNING: This was only tested with GNOME 3.38. No plan on working around with GNOME 40+ and libadwaita.

This will add black and highlight outline to the window decoration for GNOME desktop/GTK apps w/ Mojave-dark theme, it will look similar to how MacOS windows edge look like. Should work well with Adwaita theme.

Screenshot (using AdwaitaEx theme)

screenshot

Rounded teriminal corner is not included, it is from https://github.com/owozsh/adwaita-rounded

@rbreaves
rbreaves / README.md
Last active September 30, 2022 23:32 — forked from djfdyuruiry/README.md
WSL 2 - Enabling systemd

Enable systemd in WSL 2

This guide will enable systemd to run as normal under WSL 2. This will enable services like microk8s, docker and many more to just work during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.

  • To enable systemd under WSL we require a tool called systemd-genie

  • Copy the contents of install-sg.sh to a new file /tmp/install-sg.sh:

cd /tmp

@rbreaves
rbreaves / msteams.lua
Last active February 10, 2022 16:18 — forked from NuxRo/msteams.lua
Apply Windows Decorations to Microsoft Teams
-- MS Teams on Linux doesn't show the window decorations, let's fix that
-- drop this in your devilspie2 folder, typically ~/.config/devilspie2 and start devilspie2
if string.match(get_window_name(), "Microsoft Teams") then
decorate_window();
pin_window();
make_always_on_top();
end
@rbreaves
rbreaves / mojave_dark.reg
Last active April 1, 2024 16:03 — forked from mihawk90/breeze_dark.reg
Mojave Dark theme for Wine
[Control Panel\\Colors] 1491939580
#time=1d2b2fb5c69191c
"ActiveBorder"="62 62 62"
"ActiveTitle"="62 62 62"
"AppWorkSpace"="53 53 53"
"Background"="62 62 62"
"ButtonAlternativeFace"="200 0 0"
"ButtonDkShadow"="154 154 154"
"ButtonFace"="62 62 62"
"ButtonHilight"="119 126 140"
@rbreaves
rbreaves / ExtensionsProvider.md
Last active June 4, 2021 14:34 — forked from marcorichetta/ExtensionsProvider.md
Change OpenVSX for MS Marketplace as extensions provider - VSCodium
find /usr/share/ -name "product.json"

# cd into vscodum directory
cd /usr/share/vscodium-bin/resources/app

# macOS
# /Applications/VSCodium.app/Contents/Resources/app/product.json
@rbreaves
rbreaves / split_audiobook_chapters.py
Last active November 24, 2022 07:17 — forked from szarroug3/split_audiobook_chapters.py
Split audiobook into chapters
#!/usr/bin/env python
"""
Script to split audiobook chapters into separate files using metadata
"""
from __future__ import print_function
import os
import re