Skip to content

Instantly share code, notes, and snippets.

View vredesbyyrd's full-sized avatar

Justin Faber vredesbyyrd

  • Minneapolis, MN
View GitHub Profile
# Copy this to ~/.config/skippy-xd/skippy-xd.rc and edit it to your liking
#
# File Syntax:
# Comments must be on their own seperate lines that start with a #
#
# colors can be anything XAllocNamedColor can handle
# (like "black" or "#000000")
#
# fonts are Xft font descriptions
#
--[[
This file is part of darktable,
copyright (c)2021 Bill Ferguson <wpferguson@gmail.com>
darktable is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
darktable is distributed in the hope that it will be useful,
#################################
# Shadows #
#################################
# Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
# shadow = false
@vredesbyyrd
vredesbyyrd / nautilus-new-tab.sh
Created January 27, 2023 19:55
hackish script to open filepaths in new nautilus tab
# Convert desktop file urls to nautilus-friendly local paths.
# Accommodates special characters in directory names (!@#$, etc).
DELAY=$1
FILEURL=$2
FILEPATH="${FILEURL#file://}"
# Check for running instances of $app on current desktop/workspace.# Convert desktop file urls to nautilus-friendly local paths.
# Accommodates special characters in directory names (!@#$, etc).
DELAY=$1
APP=org.gnome.Nautilus
@vredesbyyrd
vredesbyyrd / raw_diff.sh
Last active November 11, 2022 01:00
small script to prune extreneous sooc jpg's - we want raw_dir == jpg_dir
#!/usr/bin/sh
# small script to prune extreneous sooc jpg's - we want raw_dir == jpg_dir
# takes one arg: full path to raw_dir
# requires 'trash-cli' package: https://github.com/andreafrancia/trash-cli
RAW_DIR="${1}" # user passes raw directory path
JPG_DIR=$(find "$RAW_DIR" -mindepth 1 -maxdepth 1 -name "*sooc" -type d) # only look dirs ending in "sooc"
# get all files matching .{ext}, return only the basename
@vredesbyyrd
vredesbyyrd / config.rasi
Created February 17, 2019 01:26
Rofi sidebar config
configuration {
display-drun: "/";
display-window: "";
show-icons: false;
sidebar-mode: true;
}
* {
background-color: #212D32;