From e90cfeff522647c464d0f5e5ce2a7f0c32ec6e18 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 4 Aug 2018 14:16:03 -0400 Subject: [PATCH] getkeys moved to ~/.scripts/.getkeys --- .../getkeys => .scripts/.getkeys}/calcurse | 0 {.larbs/getkeys => .scripts/.getkeys}/feh | 0 {.larbs/getkeys => .scripts/.getkeys}/i3 | 0 .scripts/.getkeys/i3keysguide | 43 +++++++++++++++++++ {.larbs/getkeys => .scripts/.getkeys}/mutt | 0 {.larbs/getkeys => .scripts/.getkeys}/ncmpcpp | 0 .../getkeys => .scripts/.getkeys}/newsboat | 0 {.larbs/getkeys => .scripts/.getkeys}/ranger | 0 {.larbs/getkeys => .scripts/.getkeys}/zathura | 0 .scripts/getkeys | 8 ++-- 10 files changed, 47 insertions(+), 4 deletions(-) rename {.larbs/getkeys => .scripts/.getkeys}/calcurse (100%) rename {.larbs/getkeys => .scripts/.getkeys}/feh (100%) rename {.larbs/getkeys => .scripts/.getkeys}/i3 (100%) create mode 100644 .scripts/.getkeys/i3keysguide rename {.larbs/getkeys => .scripts/.getkeys}/mutt (100%) rename {.larbs/getkeys => .scripts/.getkeys}/ncmpcpp (100%) rename {.larbs/getkeys => .scripts/.getkeys}/newsboat (100%) rename {.larbs/getkeys => .scripts/.getkeys}/ranger (100%) rename {.larbs/getkeys => .scripts/.getkeys}/zathura (100%) diff --git a/.larbs/getkeys/calcurse b/.scripts/.getkeys/calcurse similarity index 100% rename from .larbs/getkeys/calcurse rename to .scripts/.getkeys/calcurse diff --git a/.larbs/getkeys/feh b/.scripts/.getkeys/feh similarity index 100% rename from .larbs/getkeys/feh rename to .scripts/.getkeys/feh diff --git a/.larbs/getkeys/i3 b/.scripts/.getkeys/i3 similarity index 100% rename from .larbs/getkeys/i3 rename to .scripts/.getkeys/i3 diff --git a/.scripts/.getkeys/i3keysguide b/.scripts/.getkeys/i3keysguide new file mode 100644 index 0000000..d2d49a1 --- /dev/null +++ b/.scripts/.getkeys/i3keysguide @@ -0,0 +1,43 @@ +esc left workspace exit i3 +tab last workspace +- - vol -- vol +_ - vol -- vol += + vol ++ vol ++ + vol ++ vol +q kill win kill win +w browser browser +e neomutt tutorials +r ranger sudo ranger +t toggle hor/vert gaps=15px +y calcurse resize left +u dropdown term resize down +i htop resize up +o sticky win resize right +p pause music +[ back 10 secs back 2 min +] forward 10 secs forward 2 min +\ last workspace +a calculator audio control +s + inner gaps - inner gaps +d dmenu remove gaps +f fullscreen freeze mode +g left workspace GIMP +h focus left move win left +j focus down move win down +k focus up move win up +l focus right move win right +; right workspace +' fast right win +z + outer gaps - outer gaps +x lock screen shutdown +c webcam +v visualizer projectm +b bar on/off stick/float win +n newsboat +m ncmpcpp mute audio +, previous song restart song +< previous song restart song +. next song +> next song +/ fast win below kill win +? fast win below kill win diff --git a/.larbs/getkeys/mutt b/.scripts/.getkeys/mutt similarity index 100% rename from .larbs/getkeys/mutt rename to .scripts/.getkeys/mutt diff --git a/.larbs/getkeys/ncmpcpp b/.scripts/.getkeys/ncmpcpp similarity index 100% rename from .larbs/getkeys/ncmpcpp rename to .scripts/.getkeys/ncmpcpp diff --git a/.larbs/getkeys/newsboat b/.scripts/.getkeys/newsboat similarity index 100% rename from .larbs/getkeys/newsboat rename to .scripts/.getkeys/newsboat diff --git a/.larbs/getkeys/ranger b/.scripts/.getkeys/ranger similarity index 100% rename from .larbs/getkeys/ranger rename to .scripts/.getkeys/ranger diff --git a/.larbs/getkeys/zathura b/.scripts/.getkeys/zathura similarity index 100% rename from .larbs/getkeys/zathura rename to .scripts/.getkeys/zathura diff --git a/.scripts/getkeys b/.scripts/getkeys index 9cef862..b28af20 100755 --- a/.scripts/getkeys +++ b/.scripts/getkeys @@ -2,11 +2,11 @@ elsewhere() { echo Key mappings available for the following programs: ls ~/.larbs -echo Run \`larbs-keys\` followed by a program name to get bindings ;} +echo Run \`getkeys\` followed by a program name to get bindings ;} -if [[ -f ~/.larbs/getkeys/$1 ]]; then -cat ~/.larbs/getkeys/$1 +if [[ -f ~/.scripts/.getkeys/$1 ]]; then +cat ~/.scripts/.getkeys/$1 else echo Run command with one of the following arguments for info about that program: -ls ~/.larbs/getkeys +ls ~/.scripts/.getkeys fi