Skip to content

Commit

Permalink
move aliases to script submodule, add new XDG env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kpa28-git committed Jan 6, 2022
1 parent 11de889 commit 51bf0fd
Show file tree
Hide file tree
Showing 26 changed files with 80 additions and 348 deletions.
1 change: 0 additions & 1 deletion .config/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

# Whitelist:
!/alacritty/**
!/alias/**
!/bash/**
!/bspwm/**
!/dunst/**
Expand Down
10 changes: 0 additions & 10 deletions .config/alias/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions .config/alias/alpine.sh

This file was deleted.

30 changes: 0 additions & 30 deletions .config/alias/arch.sh

This file was deleted.

36 changes: 0 additions & 36 deletions .config/alias/custom.sh

This file was deleted.

10 changes: 0 additions & 10 deletions .config/alias/freebsd.sh

This file was deleted.

15 changes: 0 additions & 15 deletions .config/alias/load-aliases

This file was deleted.

2 changes: 0 additions & 2 deletions .config/alias/openrc.sh

This file was deleted.

55 changes: 0 additions & 55 deletions .config/alias/posix.sh

This file was deleted.

82 changes: 0 additions & 82 deletions .config/alias/programs.sh

This file was deleted.

2 changes: 0 additions & 2 deletions .config/alias/runit.sh

This file was deleted.

17 changes: 0 additions & 17 deletions .config/alias/systemd.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .config/alias/void.sh

This file was deleted.

2 changes: 1 addition & 1 deletion .config/bspwm/bspwmrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fi;


# Autostart
pidof "$HOME/.local/bin/uitools/bspswallow" || "$HOME/.local/bin/uitools/bspswallow" &
pidof "$XDG_SCRIPT_HOME/uitools/bspswallow" || "$XDG_SCRIPT_HOME/uitools/bspswallow" &


# Global Settings
Expand Down
10 changes: 4 additions & 6 deletions .config/kak/kakrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@

# Highlight Settings
# ──────────────────

# Use a dark theme from 7pm to 7am, otherwise use a light theme
# Use a dark theme from 5pm to 5am, otherwise use a light theme
evaluate-commands %sh{
now_hour="$(date +%H%M)"
if [ "$now_hour" -ge 1830 ] || [ "$now_hour" -lt 630 ] ; then
# dark theme from 06:30 PM to 06:30 AM
if [ "$now_hour" -ge 1700 ] || [ "$now_hour" -lt 500 ] ; then
# echo "colorscheme tomorrow-night";
echo "colorscheme gruvbox-dark";
else
Expand All @@ -34,7 +32,6 @@ add-highlighter global/ regex \b(TODO|AUDIT|FIXME|XXX|NOTE)\b 0:+rb
set-option global tabstop 8
set-option global indentwidth 0


# Highlight the word under the cursor
# declare-option -hidden regex curword
# set-face global CurWord default,rgba:80808040
Expand Down Expand Up @@ -63,7 +60,8 @@ map global normal Y '<a-l>y' -docstring 'yank to end of line'
map global user y '<a-|>xsel --input --clipboard<ret>' -docstring 'Yank to clipboard only'
map global user P '!xsel --output --clipboard<ret>' -docstring 'Paste from clipboard before'
map global user p '<a-!>xsel --output --clipboard<ret>' -docstring 'Paste from clipboard after'

map global user l ':colorscheme github<ret>' -docstring 'change to light colorscheme'
map global user d ':colorscheme gruvbox-dark<ret>' -docstring 'change to dark colorscheme'

# Normal Yank, Delete, or Change commands overwrite the system clipboard
# ──────────────────────────────────────────────────────────────────────
Expand Down
6 changes: 3 additions & 3 deletions .config/lf/lfrc
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ map r $printf "%s\n" "$fx" | vidir -
map x push $ext<space>
map - :img-preview

# Switches
set hidden on
set color256 on
# # Switches
# set hidden on
# set color256 on

# Dragon File Uploader - opens an upload drag box for selected files
cmd drag-all %dragon-drag-and-drop -a -x $fx
Expand Down
1 change: 1 addition & 0 deletions .config/newsboat/config
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ macro w set browser "w3m"; open-in-browser ; set browser linkhandler
macro p set browser "dmenuhandler"; open-in-browser ; set browser linkhandler
macro c set browser "xsel -b <<<" ; open-in-browser ; set browser linkandler

highlight all "\#\#\#\#\#\#\#\#\#\#\#\#.*" yellow
highlight all "---.*---" yellow
highlight feedlist ".*(0/0))" black
# highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold
Expand Down
Loading

0 comments on commit 51bf0fd

Please sign in to comment.