Skip to content

Instantly share code, notes, and snippets.

Avatar

Henry Schober elhenro

  • xymatic GmbH
  • Berlin
View GitHub Profile
@elhenro
elhenro / cloudSettings
Last active Nov 25, 2020 — forked from jdelibas/cloudSettings
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2020-11-25T11:49:08.241Z","extensionVersion":"v3.4.3"}
View fix sound headphones asus c302ca archlinux
how to fix sound archlinux asus c302ca
1. `dsp_fw_release.bin` has to point to `/lib/firmware/intel/dsp_fw_release_v969.bin`
2. in `/usr/share/alsa/ucm/sklnau8825max`:
## `HiFi.conf`
```
@elhenro
elhenro / termite config
Created Jun 25, 2019
colors from spacecamp vim colorscheme
View termite config
[colors]
cursor = #F66100
cursor_foreground = #CF73E6
highlight = #F66100
color0 = #91AADF
color1 = #F66100
color2 = #F0D50C
color3 = #DEDEDE
color4 = #F66100
color5 = #91AADF
@elhenro
elhenro / termite config
Created Jun 25, 2019
colors from spacecamp vim colorscheme
View termite config
[colors]
cursor = #F66100
cursor_foreground = #CF73E6
highlight = #F66100
color0 = #91AADF
color1 = #F66100
color2 = #F0D50C
color3 = #DEDEDE
color4 = #F66100
color5 = #91AADF
View compton.conf
shadow = true;
no-dock-shadow = true;
no-dnd-shadow = true;
clear-shadow = true
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-opacity = 0.7;
# shadow-red = 0.0;
# shadow-green = 0.0;
@elhenro
elhenro / rofi config
Created Jun 18, 2019
~/.config/rofi/config
View rofi config
rofi.combi-modi: window,drun,ssh
rofi.theme: sidebar
rofi.font: hack 10
rofi.modi: combi
rofi.kb-row-up: Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab
rofi.kb-row-down: Down,Control+j
rofi.kb-accept-entry: Control+m,Return,KP_Enter
rofi.terminal: mate-terminal
rofi.kb-remove-to-eol: Control+Shift+e
rofi.kb-mode-next: Shift+Right,Control+Tab,Control+l
View compton.conf
# Shadow
shadow = true; # Enabled client-side shadows on windows.
no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true; # Don't draw shadows on DND windows.
clear-shadow = true; # Zero the part of the shadow's mask behind the
# window. Fix some weirdness with ARGB windows.
shadow-radius = 7; # The blur radius for shadows. (default 12)
shadow-offset-x = -7; # The left offset for shadows. (default -15)
shadow-offset-y = -7; # The top offset for shadows. (default -15)
shadow-opacity = 0.7; # The translucency for shadows. (default .75)
View focus i3 window script
#!/bin/bash
XDT=/usr/bin/xdotool
WINDOW=`$XDT getwindowfocus`
# this brings in variables WIDTH and HEIGHT
eval `xdotool getwindowgeometry --shell $WINDOW`
TX=`expr $WIDTH / 2`
TY=`expr $HEIGHT / 2`
View .zshrc
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export ZSH="/home/hnr/.oh-my-zsh"
SPACESHIP_GIT_SHOW=false
SPACESHIP_HG_SHOW=false
SPACESHIP_HG_BRANCH_SHOW=false
SPACESHIP_HG_STATUS_SHOW=false
SPACESHIP_PACKAGE_SHOW=false
SPACESHIP_NODE_SHOW=false
SPACESHIP_RUBY_SHOW=false
View emptyTrash.sh
#!/bin/bash
read -p "Delete all files and dirs in ~/trash/* ? " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
rm -rf /home/hnr/trash/*
fi