This file contains 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
setopt INC_APPEND_HISTORY | |
setopt SHARE_HISTORY |
This file contains 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
#!/bin/bash | |
OUTPUTFILE="data.txt" | |
find . -type f -not -path "./node_modules/*" | while read -r file | |
do | |
numlines=$(wc -l < "$file") | |
if [[ $numlines -lt 1000 ]]; then | |
fileext="${file##*.}" | |
echo -e "\n$file\n" >> $OUTPUTFILE | |
echo -e "\n\`\`\`$fileext\n" >> $OUTPUTFILE | |
cat "$file" >> $OUTPUTFILE |
This file contains 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
# .. put into ~/.zshrc | |
# to extend directories, symlinks can be created in ~/scripts/.. (`ln -s`) | |
fzf-paste-input() { | |
location=$(pwd) | |
cd ~/scripts | |
local output | |
# basic | |
#output=~/scripts/$(fzf</dev/tty) && LBUFFER+=${(q-)output} |
This file contains 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
set $mod Mod1 | |
set $mod2 control | |
new_window pixel 0 | |
new_float normal | |
hide_edge_borders none | |
#bindsym $mod+u border none | |
#bindsym $mod+y border pixel 5 | |
#corners rounded 20 | |
bindsym $mod+shift+y border pixel 0 | |
bindsym $mod+shift+n border normal |
This file contains 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
# switch workspaces | |
alt - 1 : yabai -m space --focus 1 | |
alt - 2 : yabai -m space --focus 2 | |
alt - 3 : yabai -m space --focus 3 | |
alt - 4 : yabai -m space --focus 4 | |
alt - 5 : yabai -m space --focus 5 | |
# toggle window float to ignore tiling | |
alt - f : yabai -m window --toggle float |
This file contains 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
#!/usr/bin/env sh | |
yabai -m config mouse_follows_focus on | |
yabai -m config focus_follows_mouse autofocus | |
yabai -m config window_origin_display default | |
yabai -m config window_placement second_child | |
yabai -m config window_topmost off | |
yabai -m config window_shadow on | |
yabai -m config window_opacity off | |
#yabai -m config window_opacity_duration 0.0 | |
yabai -m config active_window_opacity 1.0 |
This file contains 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
set encoding=utf-8 | |
set expandtab | |
set shiftwidth=2 | |
set tabstop=2 | |
set mouse=a | |
set number | |
set autoread | |
set diffopt+=iwhite | |
set nocompatible | |
set hidden |
This file contains 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
{"lastUpload":"2020-11-25T11:49:08.241Z","extensionVersion":"v3.4.3"} |
This file contains 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
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` | |
``` |
This file contains 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
[colors] | |
cursor = #F66100 | |
cursor_foreground = #CF73E6 | |
highlight = #F66100 | |
color0 = #91AADF | |
color1 = #F66100 | |
color2 = #F0D50C | |
color3 = #DEDEDE | |
color4 = #F66100 | |
color5 = #91AADF |
NewerOlder