Skip to content

Instantly share code, notes, and snippets.

View lmintmate's full-sized avatar
🇬🇷
💻 Doing computer stuff.

lmintmate

🇬🇷
💻 Doing computer stuff.
View GitHub Profile
@lmintmate
lmintmate / blue-mood.sh
Last active September 23, 2019 15:07
[OLD VERSION - DO NOT USE] Gogh theme
#!/usr/bin/env bash
# ====================CONFIG THIS =============================== #
COLOR_01="#000000" # Black
COLOR_02="#ff0000" # Red
COLOR_03="#7fff00" # Green
COLOR_04="#ffd700" # Yellow
COLOR_05="#235c94" # Blue
COLOR_06="#4f94cd" # Cyan
COLOR_07="#f5deb3" # Magenta
@lmintmate
lmintmate / blue-mood.vifm
Created May 14, 2018 12:52
Adaptation of blue-mood theme for vifm - WIP
" Blue Mood
" some colors are pending
highlight clear
highlight Win cterm=none ctermfg=194 ctermbg=25
highlight Directory cterm=bold ctermfg=45 ctermbg=default
highlight Link cterm=bold ctermfg=239 ctermbg=default
highlight BrokenLink cterm=bold ctermfg=red ctermbg=default
highlight Socket cterm=bold ctermfg=24 ctermbg=default
@lmintmate
lmintmate / bash-prompt.org
Last active May 10, 2018 10:20
My bash prompt

My bash prompt

I recently decided to see if I could create my own bash prompt, inspired by a short guide on making it like powerline. I did want to customize the prompt, but not for it to have the powerline look, so I decided to dig further. Here’s the result.

Bootstrap git status indication

Thanks to the aforementioned short guide, I found out that in the git repository there is a file that enables git prompt support in bash and zsh. The comments in the beginning of the file give setup and usage instructions and configurable parameters. I’ve set it up to show dirty state, untracked files and if there are differences between the repo and upstream.

# custom prompt
source $HOME/.git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE="True"
export GIT_PS1_SHOWUNTRACKEDFILES="True"
@lmintmate
lmintmate / theming-flatpak.rst
Last active February 26, 2025 03:34
Theming Flatpak

Theming Flatpak

Flatpak applications cannot directly use the system theme. This happens because flatpaks do not have the ability to use data files or libraries in /usr (where system themes are typically located). The solution to this was to package themes as Flatpaks, as relying upon the host to have the correct version for every flatpak defeats the portability benefits it provides. These themes are provided as extensions, to the Freedesktop runtime when the extension point is Gtk, and to the KDE runtime when the extension point is Qt.

The theming system requires Flatpak 0.8.4+ and applications using up to date org.gnome.Platform 3.24+, or org.freedesktop.Platform 1.6+, or org.kde.Platform 5.9+.

Installing themes