Skip to content

Instantly share code, notes, and snippets.

@quequotion
quequotion / PKGBUILD
Last active March 20, 2019 13:55
Test PKGBUILD for examining how flags are passed to various functions
#Maintainer: Packaging Tester <test@pacman>
pkgname=testpkg
pkgver=1
pkgrel=1
pkgdesc="A package for testing"
arch=('any')
url="https://www.archlinux.org/pacman/"
license=('GPL')
makedepends=('pacman')
@quequotion
quequotion / .Xresources
Last active December 4, 2022 04:25
[Pantheon {3D,Lite}] Dotfiles
Xcursor.theme: elementary
Xcursor.size: 48
@quequotion
quequotion / asound.conf
Last active June 22, 2021 15:17
Audio dotfiles
# Alsa Resampler
defaults.pcm.rate_converter "speexrate_best"
# Use PulseAudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
@quequotion
quequotion / reverse-tab-layout-in-pantheon.patch
Created October 13, 2023 12:46
GNOME Web (Epiphany) Closeboxes on left kludge (bypass checking dconf)
--- a/epiphany/src/ephy-tab-view.c 2022-03-23 01:38:14.194274466 +0900
+++ b/epiphany/src/ephy-tab-view.c 2022-03-23 01:45:29.172981958 +0900
@@ -580,20 +580,22 @@
static gboolean
is_layout_reversed (void)
{
- GtkSettings *settings;
- g_autofree char *layout = NULL;
- g_auto (GStrv) parts = NULL;
+ //GtkSettings *settings;
@quequotion
quequotion / userChrome.css
Created October 13, 2023 18:27
Firefox tabs like Elementary OS apps
/* Hide close button on inactive tabs */
.tab-close-button:not([selected]) {display: none !important;}
/* Reverse tab content */
.tab-content {direction: rtl !important;}
/* Center tab text */
.tab-label {margin-inline: auto !important;}
/* Prevent centered text from bouncing on hover; make room for title */