From e3365b7edef2a36d825f4806807c71db1b3fea17 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Sun, 17 Jul 2022 19:12:20 +0100 Subject: [PATCH] changed projects names so they all include the letters "urr" for some reason --- battery/battery.nimble => batturry/batturry.nimble | 0 .../src/battery.nim => batturry/src/batturry.nim | 2 +- brightness/src/src/thingy.nim | 5 ----- .../brightnurrs.nimble | 0 .../src/brightnurrs.nim | 2 +- .../calculaturr.nimble | 0 .../src/calculaturr.nim | 2 +- .../show_date.nimble => calendurr/calendurr.nimble | 0 .../show_date.nim => calendurr/src/calendurr.nim | 2 +- clipurr/src/clipurr.nim | 2 +- .../cmd_wrappurr.nimble | 0 .../src/cmd_wrappurr.nim | 2 +- compile_all.sh => compile_urrl.sh | 4 +++- emoji/emoji.nimble => emurrji/emurrji.nimble | 0 emoji/src/emoji.nim => emurrji/src/emurrji.nim | 4 ++-- .../src/lib/emurrjilist.nim | 0 .../fuzzytime.nimble => furrytime/furrytime.nimble | 0 .../fuzzytime.nim => furrytime/src/furrytime.nim | 2 +- base.nim => globurrl.nim | 0 .../i3_wurrkspaces.nimble | 0 .../src/i3_wurrkspaces.nim | 2 +- nic/nic.nimble => netwurrk/netwurrk.nimble | 0 nic/src/nic.nim => netwurrk/src/netwurrk.nim | 2 +- notes/notes.nimble => noteurr/noteurr.nimble | 0 notes/src/notes.nim => noteurr/src/noteurr.nim | 2 +- .../pingclurrk.nimble | 0 .../pingclock.nim => pingclurrk/src/pingclurrk.nim | 2 +- .../remmina_choosurr.nimble | 0 .../src/remmina_choosurr.nim | 2 +- .../screenshuurt.nimble | 0 .../src/screenshurrt.nim | 2 +- .../src/temperaturr.nim | 2 +- .../temperaturr.nimble | 0 {tides => tideurrl}/nim.cfg | 0 tides/src/tides.nim => tideurrl/src/tideurrl.nim | 2 +- tides/tides.nimble => tideurrl/tideurrl.nimble | 0 {translate => translaturr}/nim.cfg | 0 .../src/translaturr.nim | 2 +- .../translaturr.nimble | 0 volume/src/volume.nim => volurrme/src/volurrme.nim | 2 +- {volume => volurrme}/volume.nimble | 0 volurrme/volurrme.nimble | 13 +++++++++++++ wlan/src/wlan.nim => wirelurrs/src/wirelurrs.nim | 2 +- wlan/wlan.nimble => wirelurrs/wirelurrs.nimble | 0 44 files changed, 36 insertions(+), 26 deletions(-) rename battery/battery.nimble => batturry/batturry.nimble (100%) rename battery/src/battery.nim => batturry/src/batturry.nim (99%) delete mode 100644 brightness/src/src/thingy.nim rename brightness/brightness.nimble => brightnurrs/brightnurrs.nimble (100%) rename brightness/src/brightness.nim => brightnurrs/src/brightnurrs.nim (99%) rename calculate/calculate.nimble => calculaturr/calculaturr.nimble (100%) rename calculate/src/calculate.nim => calculaturr/src/calculaturr.nim (98%) rename show_date/show_date.nimble => calendurr/calendurr.nimble (100%) rename show_date/src/show_date.nim => calendurr/src/calendurr.nim (98%) rename command_wrapper/command_wrapper.nimble => cmd_wrappurr/cmd_wrappurr.nimble (100%) rename command_wrapper/src/command_wrapper.nim => cmd_wrappurr/src/cmd_wrappurr.nim (95%) rename compile_all.sh => compile_urrl.sh (64%) rename emoji/emoji.nimble => emurrji/emurrji.nimble (100%) rename emoji/src/emoji.nim => emurrji/src/emurrji.nim (89%) rename emoji/src/lib/emojilist.nim => emurrji/src/lib/emurrjilist.nim (100%) rename fuzzytime/fuzzytime.nimble => furrytime/furrytime.nimble (100%) rename fuzzytime/src/fuzzytime.nim => furrytime/src/furrytime.nim (98%) rename base.nim => globurrl.nim (100%) rename i3_workspaces/i3_workspaces.nimble => i3_wurrkspaces/i3_wurrkspaces.nimble (100%) rename i3_workspaces/src/i3_workspaces.nim => i3_wurrkspaces/src/i3_wurrkspaces.nim (99%) rename nic/nic.nimble => netwurrk/netwurrk.nimble (100%) rename nic/src/nic.nim => netwurrk/src/netwurrk.nim (98%) rename notes/notes.nimble => noteurr/noteurr.nimble (100%) rename notes/src/notes.nim => noteurr/src/noteurr.nim (99%) rename pingclock/pingclock.nimble => pingclurrk/pingclurrk.nimble (100%) rename pingclock/src/pingclock.nim => pingclurrk/src/pingclurrk.nim (98%) rename remmina/remmina.nimble => remmina_choosurr/remmina_choosurr.nimble (100%) rename remmina/src/remmina.nim => remmina_choosurr/src/remmina_choosurr.nim (98%) rename screenshot/screenshot.nimble => screenshuurt/screenshuurt.nimble (100%) rename screenshot/src/screenshot.nim => screenshuurt/src/screenshurrt.nim (99%) rename temperature/src/temperature.nim => temperaturr/src/temperaturr.nim (98%) rename temperature/temperature.nimble => temperaturr/temperaturr.nimble (100%) rename {tides => tideurrl}/nim.cfg (100%) rename tides/src/tides.nim => tideurrl/src/tideurrl.nim (99%) rename tides/tides.nimble => tideurrl/tideurrl.nimble (100%) rename {translate => translaturr}/nim.cfg (100%) rename translate/src/translate.nim => translaturr/src/translaturr.nim (99%) rename translate/translate.nimble => translaturr/translaturr.nimble (100%) rename volume/src/volume.nim => volurrme/src/volurrme.nim (99%) rename {volume => volurrme}/volume.nimble (100%) create mode 100644 volurrme/volurrme.nimble rename wlan/src/wlan.nim => wirelurrs/src/wirelurrs.nim (98%) rename wlan/wlan.nimble => wirelurrs/wirelurrs.nimble (100%) diff --git a/battery/battery.nimble b/batturry/batturry.nimble similarity index 100% rename from battery/battery.nimble rename to batturry/batturry.nimble diff --git a/battery/src/battery.nim b/batturry/src/batturry.nim similarity index 99% rename from battery/src/battery.nim rename to batturry/src/batturry.nim index 860028e..e962888 100644 --- a/battery/src/battery.nim +++ b/batturry/src/batturry.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[strutils,os] const battery = "BAT0" diff --git a/brightness/src/src/thingy.nim b/brightness/src/src/thingy.nim deleted file mode 100644 index 862d40c..0000000 --- a/brightness/src/src/thingy.nim +++ /dev/null @@ -1,5 +0,0 @@ -# This is just an example to get you started. A typical binary package -# uses this file as the main entry point of the application. - -when isMainModule: - echo("Hello, World!") diff --git a/brightness/brightness.nimble b/brightnurrs/brightnurrs.nimble similarity index 100% rename from brightness/brightness.nimble rename to brightnurrs/brightnurrs.nimble diff --git a/brightness/src/brightness.nim b/brightnurrs/src/brightnurrs.nim similarity index 99% rename from brightness/src/brightness.nim rename to brightnurrs/src/brightnurrs.nim index 266e6e0..a17b051 100644 --- a/brightness/src/brightness.nim +++ b/brightnurrs/src/brightnurrs.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[os,strutils,osproc,math] const backlight = "intel_backlight" diff --git a/calculate/calculate.nimble b/calculaturr/calculaturr.nimble similarity index 100% rename from calculate/calculate.nimble rename to calculaturr/calculaturr.nimble diff --git a/calculate/src/calculate.nim b/calculaturr/src/calculaturr.nim similarity index 98% rename from calculate/src/calculate.nim rename to calculaturr/src/calculaturr.nim index 9a8a299..7361091 100644 --- a/calculate/src/calculate.nim +++ b/calculaturr/src/calculaturr.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[osproc,strutils,sequtils] #using qalc as it has a lot of nice inbuilt features diff --git a/show_date/show_date.nimble b/calendurr/calendurr.nimble similarity index 100% rename from show_date/show_date.nimble rename to calendurr/calendurr.nimble diff --git a/show_date/src/show_date.nim b/calendurr/src/calendurr.nim similarity index 98% rename from show_date/src/show_date.nim rename to calendurr/src/calendurr.nim index 8faace7..5c639cd 100644 --- a/show_date/src/show_date.nim +++ b/calendurr/src/calendurr.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[times,osproc,re] const default_bg = blue diff --git a/clipurr/src/clipurr.nim b/clipurr/src/clipurr.nim index ef0e43e..5431161 100644 --- a/clipurr/src/clipurr.nim +++ b/clipurr/src/clipurr.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[strutils,os,db_sqlite,osproc] const CLIP_DB = WM_TOOLS_DIR & ".clipurr_cache.sqlite" diff --git a/command_wrapper/command_wrapper.nimble b/cmd_wrappurr/cmd_wrappurr.nimble similarity index 100% rename from command_wrapper/command_wrapper.nimble rename to cmd_wrappurr/cmd_wrappurr.nimble diff --git a/command_wrapper/src/command_wrapper.nim b/cmd_wrappurr/src/cmd_wrappurr.nim similarity index 95% rename from command_wrapper/src/command_wrapper.nim rename to cmd_wrappurr/src/cmd_wrappurr.nim index 7b6462c..95334c3 100644 --- a/command_wrapper/src/command_wrapper.nim +++ b/cmd_wrappurr/src/cmd_wrappurr.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[strutils,osproc] # Basically just a wrapper to style passmenu nicely diff --git a/compile_all.sh b/compile_urrl.sh similarity index 64% rename from compile_all.sh rename to compile_urrl.sh index c552683..db01b3a 100755 --- a/compile_all.sh +++ b/compile_urrl.sh @@ -5,7 +5,9 @@ for dir in ./*; do cd $dir f=$(echo $dir | sed 's/\.\///') nimble install -y - sudo cp -v $f /usr/local/bin/$f + if [[ $1 == "install" ]]; then + sudo cp -v $f /usr/local/bin/$f + fi cd ../ fi done diff --git a/emoji/emoji.nimble b/emurrji/emurrji.nimble similarity index 100% rename from emoji/emoji.nimble rename to emurrji/emurrji.nimble diff --git a/emoji/src/emoji.nim b/emurrji/src/emurrji.nim similarity index 89% rename from emoji/src/emoji.nim rename to emurrji/src/emurrji.nim index f6810f9..feb4341 100644 --- a/emoji/src/emoji.nim +++ b/emurrji/src/emurrji.nim @@ -1,5 +1,5 @@ -import ../../base -import lib/emojilist +import ../../globurrl +import lib/emurrjilist import std/[re] proc main() = diff --git a/emoji/src/lib/emojilist.nim b/emurrji/src/lib/emurrjilist.nim similarity index 100% rename from emoji/src/lib/emojilist.nim rename to emurrji/src/lib/emurrjilist.nim diff --git a/fuzzytime/fuzzytime.nimble b/furrytime/furrytime.nimble similarity index 100% rename from fuzzytime/fuzzytime.nimble rename to furrytime/furrytime.nimble diff --git a/fuzzytime/src/fuzzytime.nim b/furrytime/src/furrytime.nim similarity index 98% rename from fuzzytime/src/fuzzytime.nim rename to furrytime/src/furrytime.nim index a9af4c2..e15fd44 100644 --- a/fuzzytime/src/fuzzytime.nim +++ b/furrytime/src/furrytime.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[times] const default_bg = lightblue diff --git a/base.nim b/globurrl.nim similarity index 100% rename from base.nim rename to globurrl.nim diff --git a/i3_workspaces/i3_workspaces.nimble b/i3_wurrkspaces/i3_wurrkspaces.nimble similarity index 100% rename from i3_workspaces/i3_workspaces.nimble rename to i3_wurrkspaces/i3_wurrkspaces.nimble diff --git a/i3_workspaces/src/i3_workspaces.nim b/i3_wurrkspaces/src/i3_wurrkspaces.nim similarity index 99% rename from i3_workspaces/src/i3_workspaces.nim rename to i3_wurrkspaces/src/i3_wurrkspaces.nim index 60e02bf..aea2f43 100644 --- a/i3_workspaces/src/i3_workspaces.nim +++ b/i3_wurrkspaces/src/i3_wurrkspaces.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[osproc,json,strutils] const I3_WORKSPACES = "i3-msg -t get_workspaces" diff --git a/nic/nic.nimble b/netwurrk/netwurrk.nimble similarity index 100% rename from nic/nic.nimble rename to netwurrk/netwurrk.nimble diff --git a/nic/src/nic.nim b/netwurrk/src/netwurrk.nim similarity index 98% rename from nic/src/nic.nim rename to netwurrk/src/netwurrk.nim index 87b6b61..840da0e 100644 --- a/nic/src/nic.nim +++ b/netwurrk/src/netwurrk.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[os,osproc,strutils,sequtils] const default_fg = black diff --git a/notes/notes.nimble b/noteurr/noteurr.nimble similarity index 100% rename from notes/notes.nimble rename to noteurr/noteurr.nimble diff --git a/notes/src/notes.nim b/noteurr/src/noteurr.nim similarity index 99% rename from notes/src/notes.nim rename to noteurr/src/noteurr.nim index 8f06fff..20c122a 100644 --- a/notes/src/notes.nim +++ b/noteurr/src/noteurr.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[os,strutils,sequtils,times] const note_dir = WM_TOOLS_DIR & ".notes.dmenu/" # Putting it in Nextcloud so it can sync :-) diff --git a/pingclock/pingclock.nimble b/pingclurrk/pingclurrk.nimble similarity index 100% rename from pingclock/pingclock.nimble rename to pingclurrk/pingclurrk.nimble diff --git a/pingclock/src/pingclock.nim b/pingclurrk/src/pingclurrk.nim similarity index 98% rename from pingclock/src/pingclock.nim rename to pingclurrk/src/pingclurrk.nim index 5c5b1e7..d1cf46d 100644 --- a/pingclock/src/pingclock.nim +++ b/pingclurrk/src/pingclurrk.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[osproc, re, strutils] const host: string = "9.9.9.9" diff --git a/remmina/remmina.nimble b/remmina_choosurr/remmina_choosurr.nimble similarity index 100% rename from remmina/remmina.nimble rename to remmina_choosurr/remmina_choosurr.nimble diff --git a/remmina/src/remmina.nim b/remmina_choosurr/src/remmina_choosurr.nim similarity index 98% rename from remmina/src/remmina.nim rename to remmina_choosurr/src/remmina_choosurr.nim index 670bb11..80a1962 100644 --- a/remmina/src/remmina.nim +++ b/remmina_choosurr/src/remmina_choosurr.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[os,osproc,tables,algorithm] import configparser diff --git a/screenshot/screenshot.nimble b/screenshuurt/screenshuurt.nimble similarity index 100% rename from screenshot/screenshot.nimble rename to screenshuurt/screenshuurt.nimble diff --git a/screenshot/src/screenshot.nim b/screenshuurt/src/screenshurrt.nim similarity index 99% rename from screenshot/src/screenshot.nim rename to screenshuurt/src/screenshurrt.nim index a4bd932..69665cf 100644 --- a/screenshot/src/screenshot.nim +++ b/screenshuurt/src/screenshurrt.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[times,os,osproc,strutils,sequtils] var screenshot_type = "" diff --git a/temperature/src/temperature.nim b/temperaturr/src/temperaturr.nim similarity index 98% rename from temperature/src/temperature.nim rename to temperaturr/src/temperaturr.nim index a1ac8a4..bb9f014 100644 --- a/temperature/src/temperature.nim +++ b/temperaturr/src/temperaturr.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[os,re,math,strutils] const default_bg = green diff --git a/temperature/temperature.nimble b/temperaturr/temperaturr.nimble similarity index 100% rename from temperature/temperature.nimble rename to temperaturr/temperaturr.nimble diff --git a/tides/nim.cfg b/tideurrl/nim.cfg similarity index 100% rename from tides/nim.cfg rename to tideurrl/nim.cfg diff --git a/tides/src/tides.nim b/tideurrl/src/tideurrl.nim similarity index 99% rename from tides/src/tides.nim rename to tideurrl/src/tideurrl.nim index 88be21b..8f5dccf 100644 --- a/tides/src/tides.nim +++ b/tideurrl/src/tideurrl.nim @@ -1,5 +1,5 @@ #curl https://www.tidetimes.org.uk/exmouth-dock-tide-times-20190101 | grep -E -o ">((High|Low)|([0-9]+:[0-9]+)|([0-9]+\.[0-9]+m))" -import ../../base +import ../../globurrl import std/[re,httpclient,times,osproc,sequtils] # TODO: diff --git a/tides/tides.nimble b/tideurrl/tideurrl.nimble similarity index 100% rename from tides/tides.nimble rename to tideurrl/tideurrl.nimble diff --git a/translate/nim.cfg b/translaturr/nim.cfg similarity index 100% rename from translate/nim.cfg rename to translaturr/nim.cfg diff --git a/translate/src/translate.nim b/translaturr/src/translaturr.nim similarity index 99% rename from translate/src/translate.nim rename to translaturr/src/translaturr.nim index 8b50e3a..d5c1da0 100644 --- a/translate/src/translate.nim +++ b/translaturr/src/translaturr.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[re,httpclient,json,strutils,tables] diff --git a/translate/translate.nimble b/translaturr/translaturr.nimble similarity index 100% rename from translate/translate.nimble rename to translaturr/translaturr.nimble diff --git a/volume/src/volume.nim b/volurrme/src/volurrme.nim similarity index 99% rename from volume/src/volume.nim rename to volurrme/src/volurrme.nim index 9c568d6..10b3891 100644 --- a/volume/src/volume.nim +++ b/volurrme/src/volurrme.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[os,strutils,sequtils,osproc] const audio_tools = @["ncpamixer", "pavucontrol"] diff --git a/volume/volume.nimble b/volurrme/volume.nimble similarity index 100% rename from volume/volume.nimble rename to volurrme/volume.nimble diff --git a/volurrme/volurrme.nimble b/volurrme/volurrme.nimble new file mode 100644 index 0000000..366bb29 --- /dev/null +++ b/volurrme/volurrme.nimble @@ -0,0 +1,13 @@ +# Package + +version = "0.1.0" +author = "Paul Wilde" +description = "Display and control volume with dmenu" +license = "GPL-3.0-or-later" +srcDir = "src" +bin = @["volume"] + + +# Dependencies + +requires "nim >= 1.6.6" diff --git a/wlan/src/wlan.nim b/wirelurrs/src/wirelurrs.nim similarity index 98% rename from wlan/src/wlan.nim rename to wirelurrs/src/wirelurrs.nim index a7ebc51..c51a9af 100644 --- a/wlan/src/wlan.nim +++ b/wirelurrs/src/wirelurrs.nim @@ -1,4 +1,4 @@ -import ../../base +import ../../globurrl import std/[os,osproc,strutils,sequtils] const default_bg = purple diff --git a/wlan/wlan.nimble b/wirelurrs/wirelurrs.nimble similarity index 100% rename from wlan/wlan.nimble rename to wirelurrs/wirelurrs.nimble