1
Fork 0

Use resources for inline images

This commit is contained in:
Jake Howard 2018-01-04 10:13:12 +00:00
parent 8fa063174e
commit 70a7005c7f
Signed by: jake
GPG key ID: 57AFB45680EDD477
6 changed files with 12 additions and 4 deletions

View file

@ -7,7 +7,9 @@ hide_header_image: true
As anyone who's used an application written with the QT UI framework will know, they don't always look the best, and certainly don't fit in with the rest of your desktops theme in the way GTK does. Certain themes support styling both GTK and QT applications, however most don't. As anyone who's used an application written with the QT UI framework will know, they don't always look the best, and certainly don't fit in with the rest of your desktops theme in the way GTK does. Certain themes support styling both GTK and QT applications, however most don't.
![QT looking fairly terrible](/img/qt-gtk-before.png) {{% resource src="qt-gtk-before" %}}
KeePassXC, before it looked pretty
{{% /resource %}}
Fortunately, there's a solution, and it comes in the form of a _Theme engine_. Theme engines act as a small compatibility layer, allowing certain frameworks to render as if they were others. With this, we can tell QT applications to render as if they were GTK. Fortunately, there's a solution, and it comes in the form of a _Theme engine_. Theme engines act as a small compatibility layer, allowing certain frameworks to render as if they were others. With this, we can tell QT applications to render as if they were GTK.
@ -22,4 +24,6 @@ Installing the environment variable can't be done in your `.bashrc`, as variable
After install, simply reboot, and your apps should fit in far, _far_ better with the rest of your desktop. After install, simply reboot, and your apps should fit in far, _far_ better with the rest of your desktop.
![QT looking far nicer!](/img/qt-gtk-after.png) {{% resource src="qt-gtk-after" %}}
KeePassXC, with GTK looks much nicer!
{{% /resource %}}

View file

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View file

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View file

Before

Width:  |  Height:  |  Size: 390 KiB

After

Width:  |  Height:  |  Size: 390 KiB

View file

@ -13,7 +13,9 @@ My current distro of choice is [Arch](https://www.archlinux.org/), specifically
## Desktop ## Desktop
My current desktop of choice is [i3](https://i3wm.org/). After spending a lot of time using [Gnome](https://www.gnome.org/), and always having windows either full screen or split, I tried out i3 in an attempt to use fewer resources, and it's amazing. Admittedly i3 doesn't look quite as nice, but it's far cleaner, and structured, and that's enough for me! My current desktop of choice is [i3](https://i3wm.org/). After spending a lot of time using [Gnome](https://www.gnome.org/), and always having windows either full screen or split, I tried out i3 in an attempt to use fewer resources, and it's amazing. Admittedly i3 doesn't look quite as nice, but it's far cleaner, and structured, and that's enough for me!
![Editing this post](/img/editing-my-stack-2017.png) {{% resource src="editing-my-stack" %}}
Editing my stack, in caret
{{% /resource %}}
# Editors # Editors
## Code ## Code
@ -28,7 +30,9 @@ If I'm just editing a file quickly, whether it be config from the terminal, or a
# Shell # Shell
Whilst I use [ZSH](https://www.zsh.org/), I'm not a fan of the [super fancy themes](https://github.com/robbyrussell/oh-my-zsh/wiki/External-themes) for it, which display your current git branch, node version, time, all that jazz. My terminal is a take on the default colourised Debian terminal, with a lambda symbol who's colour changes depending on the return code of the previous command. Whilst I use [ZSH](https://www.zsh.org/), I'm not a fan of the [super fancy themes](https://github.com/robbyrussell/oh-my-zsh/wiki/External-themes) for it, which display your current git branch, node version, time, all that jazz. My terminal is a take on the default colourised Debian terminal, with a lambda symbol who's colour changes depending on the return code of the previous command.
![My Shell Prompt](/img/shell-prompt-2017.png) {{% resource src="shell-prompt" %}}
My shell prompt
{{% /resource %}}
I do have a fair number of plugins and aliases, thanks to both [oh my ZSH](http://ohmyz.sh/) and [my custom config](https://github.com/RealOrangeOne/dotfiles/tree/master/modules/shell/files). I do have a fair number of plugins and aliases, thanks to both [oh my ZSH](http://ohmyz.sh/) and [my custom config](https://github.com/RealOrangeOne/dotfiles/tree/master/modules/shell/files).

View file

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB