readme changes

This commit is contained in:
Paul Wilde 2022-07-17 19:29:47 +01:00
parent 07885544a0
commit 853e14864a
20 changed files with 26 additions and 27 deletions

View file

@ -26,11 +26,16 @@ The next two do not work with `rofi` unless you have `alias dmenu=rofi` set, but
- `cmd_wrappurr` inspired by passmenu_wrapper, a basic tool to run other `dmenu` related tools with uniform styling.
- For example: `dmenu_run`, `clipmenu`, `passmenu` etc.
### Why do all the tools have "urr" in them?
This is something I was inspired to do after writing `clipurr`… "purr", like a cat... see?
So I thought I'd rename everything else to conform to this amazing naming convention… cool eh‽
### Example in `dmenu`:
![dmenu_tools](https://user-images.githubusercontent.com/31094984/167123173-ee8092a2-d5ab-47b4-b207-ced328072cc0.gif)
### Example of `command_wrapper` with `clipmenu`
### Example of `cmd_wrappurr` with `clipmenu`
![command_wrap](https://user-images.githubusercontent.com/31094984/167122436-eea0be88-a929-46e8-9b4d-cb677dcb129c.gif)

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "Shows battery percentage using dmenu"
license = "MIT"
srcDir = "src"
bin = @["battery"]
bin = @["batturry"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "Shows and controls laptop brightness"
license = "MIT"
srcDir = "src"
bin = @["brightness"]
bin = @["brightnurrs"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "A simple dmenu calculator"
license = "MIT"
srcDir = "src"
bin = @["calculate"]
bin = @["calculaturr"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "Displays the date in dmenu"
license = "MIT"
srcDir = "src"
bin = @["show_date"]
bin = @["calendurr"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "A Command wrapper thing - i.e. run clipmenu/passmenu into dmenu with styling, sucks really"
license = "MIT"
srcDir = "src"
bin = @["command_wrapper"]
bin = @["cmd_wrappurr"]
# Dependencies

View file

@ -9,7 +9,7 @@ proc main() =
return
if isMainModule:
base.command_wrapper = true
globurrl.wrappurr = true
for idx, arg in args:
case arg:
of "-r", "--run":

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "An emoji picker for dmenu/rofi"
license = "MIT"
srcDir = "src"
bin = @["emoji"]
bin = @["emurrji"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "Displays the fuzzy time in dmenu"
license = "MIT"
srcDir = "src"
bin = @["fuzzytime"]
bin = @["furrytime"]
# Dependencies

View file

@ -63,8 +63,7 @@ const WL_ROFI = "wofi --dmenu"
var loop* = false
var stoploop* = true
var tool* = "dmenu"
var passmenu* = false
var command_wrapper* = false
var wrappurr* = false
var run_command* = ""
var wayland* = false
@ -119,9 +118,7 @@ proc newDmenuConfig(cmd: string = "dmenu"): Menu =
return menu
proc newMenu(): Menu =
if passmenu:
return newDmenuConfig("passmenu")
elif command_wrapper:
if wrappurr:
return newDmenuConfig(run_command)
elif tool == "rofi":
return newRofiConfig()
@ -286,8 +283,5 @@ for idx, arg in args:
of "rofi":
stoploop = true
tool = "rofi"
of ["pass","passmenu"]:
passmenu = true
break

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "Displays open windows in i3 workspaces"
license = "MIT"
srcDir = "src"
bin = @["i3_workspaces"]
bin = @["i3_wurrkspaces"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "Display NIC IP address and link to manage NICs"
license = "GPL-3.0-or-later"
srcDir = "src"
bin = @["nic"]
bin = @["netwurrk"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "A notes app for dmenu"
license = "GPL-3.0-or-later"
srcDir = "src"
bin = @["notes"]
bin = @["noteurr"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "A ping clock - display current ping time"
license = "GPL-3.0-or-later"
srcDir = "src"
bin = @["pingclock"]
bin = @["pingclurrk"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "A Remmina client tool and opener"
license = "GPL-3.0-or-later"
srcDir = "src"
bin = @["remmina"]
bin = @["remmina_choosurr"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "A screenshot client, works on both X11 and Wayland"
license = "GPL-3.0-or-later"
srcDir = "src"
bin = @["screenshot"]
bin = @["screenshurrt"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "Display temp in dmenu"
license = "GPL-3.0-or-later"
srcDir = "src"
bin = @["temperature"]
bin = @["temperaturr"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "Display local tides in dmenu"
license = "GPL-3.0-or-later"
srcDir = "src"
bin = @["tides"]
bin = @["tideurrl"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "Query libretranslate with dmenu"
license = "GPL-3.0-or-later"
srcDir = "src"
bin = @["translate"]
bin = @["translaturr"]
# Dependencies

View file

@ -5,7 +5,7 @@ author = "Paul Wilde"
description = "Display and control WLAN state with dmenu"
license = "GPL-3.0-or-later"
srcDir = "src"
bin = @["wlan"]
bin = @["wirelurrs"]
# Dependencies