This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/systemd/zram-generator.conf | |
[zram0] | |
compression-algorithm = zstd | |
zram-size = ram |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
"use strict"; | |
let clickX = 0; | |
let clickY = 0; | |
document.addEventListener("pointerup", (event) => { | |
clickX = event.x + window.scrollX; | |
clickY = event.y + window.scrollY; | |
}); | |
const isClicked = (element) => { | |
const rect = element.getBoundingClientRect(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user_pref("browser.cache.disk.enable", false); | |
user_pref("browser.sessionstore.interval", 600000); | |
user_pref("browser.tabs.tabClipWidth", 65535); | |
user_pref("browser.tabs.unloadOnLowMemory", true); | |
user_pref("dom.user_activation.transient.timeout", 2000); | |
user_pref("extensions.pocket.enabled", false); | |
user_pref("media.autoplay.blocking_policy", 1); | |
user_pref("media.autoplay.default", 5); | |
user_pref("reader.parse-on-load.enabled", false); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/systemd/user/audio-keep-alive.service | |
[Unit] | |
Description=Keep audio alive using SoX | |
[Service] | |
ExecStart=/usr/bin/sox -q -n -d synth sin 1 vol 0.01 | |
[Install] | |
WantedBy=default.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This file is parsed by pam_env module | |
# | |
# Syntax: simple "KEY=VAL" pairs on separate lines | |
# | |
# for terminal | |
LS_COLORS=di=01 | |
# for fcitx5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/systemd/user/user-tempdirs@.service | |
[Unit] | |
Description=Create temporary directory at %u/%i | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/mkdir -p "/tmp/user-tempdirs/%u/%i" | |
[Install] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/geany/geany.conf | |
[geany] | |
pref_main_load_session=false | |
pref_main_project_file_in_basedir=false | |
pref_main_save_winpos=false | |
pref_main_save_wingeom=false | |
pref_main_confirm_exit=false | |
pref_main_suppress_status_messages=false | |
switch_msgwin_pages=false |