Skip to content

Instantly share code, notes, and snippets.

@rbreaves
rbreaves / McMojave-XFCE-Vala
Last active February 17, 2021 00:54
McMojava spacing fix for Vala menu in XFCE4
/* Download
https://www.xfce-look.org/p/1275087/
extract
tar xvf ./Mojave-dark.tar.xz
Move to ~/.themes/Mojave-dark
Apply under Window Manager & Appearance
Test changes
xfce4-panel -r
Tested on GalliumOS 2.1
@rbreaves
rbreaves / zsh_dir_path_collapse.txt
Last active May 7, 2021 00:53
zsh collapse long directory paths
vim ~/.oh-my-zsh/themes/ag*
replace this code block
```
# Dir: current working directory
prompt_dir() {
prompt_segment blue black '%2~'
}
```
@rbreaves
rbreaves / Settings.json
Last active October 30, 2021 16:31
Vscode settings
{
"zenMode.fullScreen": false,
"terminal.integrated.macOptionClickForcesSelection": true,
"customizeUI.activityBar": "top",
"editor.renderWhitespace": "all",
"editor.formatOnPaste": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.snippetSuggestions": "top",
"workbench.colorTheme": "Sublime Material Theme - Dark",
"workbench.iconTheme": "vscode-icons-mac",
@rbreaves
rbreaves / keybindings.json
Created October 30, 2021 16:01
keybindings.json for vscode (macOS)
// Place your key bindings in this file to override the defaults
[
{
"key": "cmd+pausebreak",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0003"
},
"when": "terminalFocus"
},
@rbreaves
rbreaves / picom.conf
Last active November 10, 2021 06:08
Intended for GalliumOS on Chromebooks
# ~/.config/picom.conf
# Compton Configuration, courtesy of Xubuntu Developers
# Please note that Compton is not supported by Xubuntu and may not work
# correctly for you. This file is provided as a set of sane defaults and is in
# no way endorsed by the Xubuntu team.
#
# About Compton: https://github.com/chjj/compton
# Heavily based on: http://bit.ly/1l5OrzL
# Sample settings: https://github.com/chjj/compton/blob/master/compton.sample.conf
@rbreaves
rbreaves / mojave_dark.reg
Last active April 1, 2024 16:03 — forked from mihawk90/breeze_dark.reg
Mojave Dark theme for Wine
[Control Panel\\Colors] 1491939580
#time=1d2b2fb5c69191c
"ActiveBorder"="62 62 62"
"ActiveTitle"="62 62 62"
"AppWorkSpace"="53 53 53"
"Background"="62 62 62"
"ButtonAlternativeFace"="200 0 0"
"ButtonDkShadow"="154 154 154"
"ButtonFace"="62 62 62"
"ButtonHilight"="119 126 140"
@rbreaves
rbreaves / USBkbd-linux2mac.sh
Created December 12, 2021 06:47
Remap USB keyboards on Linux to be like an Apple Keyboard - swaps Alt/Win(Super)
sudo apt install evtest
sudo evtest
----------------------------------- No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Lid Switch
/dev/input/event1: Video Bus
/dev/input/event2: gpio-keys
/dev/input/event3: gpio-keys
/dev/input/event4: HDA Intel PCH Mic
@rbreaves
rbreaves / hi-low-dpi-x11
Last active January 7, 2022 16:40
HiDPI w/ low DPI monitor - Ubuntu Budgie
HiDPI laptop w/ low DPI external monitor X11 & Budgie
Divide your hidpi height by your low dpi height
1800÷1080 = 1.66667
Multipy your low dpi width by this number
1.66667 * 1920 = 3200
# Not needed
@rbreaves
rbreaves / quaketerminal.ahk
Created January 16, 2022 19:45
QuakeTerminal & hide all other Apps while using VSCode
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetTimer, HideTerminal, 1000 ;
return
WinMatcher := "ahk_class CASCADIA_HOSTING_WINDOW_CLASS"
HideTerminal:
@rbreaves
rbreaves / gimp.css
Created January 22, 2022 21:16
GIMP 2.99.6 Mojave-dark css mod
/**********************************/
/* GIMP Wilbur nullifier */
/* Mojave-dark */
/* Copyright 2021, Ben Reaves */
/* Licensed MIT */
/* */
/**********************************/
/* wilbur logo bye bye */