mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-30 22:57:54 +00:00
Update the scripts one last time
This commit is contained in:
parent
d3fadf8fe1
commit
a2ecc9e0a9
@ -154,7 +154,7 @@ footnote:[This is a part of the package list but I think it's appropriate to cre
|
|||||||
|
|
||||||
Here's a list of the top most useful scripts (at least for me):
|
Here's a list of the top most useful scripts (at least for me):
|
||||||
|
|
||||||
* link:./bin/rofi-screenshot[A Rofi menu for all of my screenshoting and screencasting needs].
|
* link:./bin/rofi-screenshot-menu[A Rofi menu for all of my screenshoting and screencasting needs].
|
||||||
The script is also a fork of https://github.com/ceuk/rofi-screenshot[`ceuk's` rofi-screenshot].
|
The script is also a fork of https://github.com/ceuk/rofi-screenshot[`ceuk's` rofi-screenshot].
|
||||||
Big thanks to them for the idea!
|
Big thanks to them for the idea!
|
||||||
|
|
||||||
@ -162,15 +162,15 @@ Big thanks to them for the idea!
|
|||||||
Capture a region, process it through an OCR engine, and the content are then copied into the clipboard.
|
Capture a region, process it through an OCR engine, and the content are then copied into the clipboard.
|
||||||
Useful for capturing links in images or videos usually found in lecture videos.
|
Useful for capturing links in images or videos usually found in lecture videos.
|
||||||
|
|
||||||
* link:./bin/prompt[Quick command prompts].
|
* link:./bin/user-prompt[Quick command prompts].
|
||||||
The script is based from https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/prompt[Luke Smith's prompt script].
|
The script is based from https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/prompt[Luke Smith's prompt script].
|
||||||
|
|
||||||
* link:./bin/toggle-bin[Switching on/off programs].
|
* link:./bin/toggle-process[Switching on/off programs].
|
||||||
Useful for situations where only one instance of the program is desirable.
|
Useful for situations where only one instance of the program is desirable.
|
||||||
|
|
||||||
* link:./bin/select-theme[A basic theme selection for easy color scheme generation] with https://github.com/muennich/sxiv[sxiv].
|
* link:./bin/select-theme[A basic theme selection for easy color scheme generation] with https://github.com/muennich/sxiv[sxiv].
|
||||||
|
|
||||||
* link:./bin/choose-emoji[A universal emoji list] for easy copy-pasting and clear communication with those who speak Emojian.
|
* link:./bin/choose-emoji-menu[A universal emoji list] for easy copy-pasting and clear communication with those who speak Emojian.
|
||||||
|
|
||||||
Aside from the scripts, there are also some details and files that are not committed to this setup for privacy and security reasons.
|
Aside from the scripts, there are also some details and files that are not committed to this setup for privacy and security reasons.
|
||||||
A few examples of which is my cron setups where it is tasked with updating and committing the package lists to the Git repo, updating the packages, cleaning the cache, and so much more.
|
A few examples of which is my cron setups where it is tasked with updating and committing the package lists to the Git repo, updating the packages, cleaning the cache, and so much more.
|
||||||
|
@ -10,8 +10,10 @@
|
|||||||
# * rofi - Version: 1.5.4
|
# * rofi - Version: 1.5.4
|
||||||
# * xclip - version 0.13
|
# * xclip - version 0.13
|
||||||
|
|
||||||
emoji_file='~/.local/share/emoji-test.txt'
|
emoji_file="$HOME/.local/share/emoji-test.txt"
|
||||||
selection=$(awk 'match($0, /([0-9A-F ]+)\s+; fully-qualified\s+# (\S+) E[[:digit:]]+.[[:digit:]]+ (.+)$/, a){print a[2], a[3]}' ~/emojis.txt | rofi -dmenu -p "Choose an emoji to copy." -theme fds-sidebar-dark | awk '{print $1}')
|
selection=$(awk 'match($0, /([0-9A-F ]+)\s+; fully-qualified\s+# (\S+) E[[:digit:]]+.[[:digit:]]+ (.+)$/, a){print a[2], a[3]}' "$emoji_file" \
|
||||||
|
| rofi -dmenu -p "Choose an emoji to copy." \
|
||||||
|
| awk '{print $1}')
|
||||||
|
|
||||||
if [ -n "$selection" ]; then
|
if [ -n "$selection" ]; then
|
||||||
printf "$selection" | xclip -selection clipboard && notify-send "'$(xclip -o -selection clipboard)' has been copied to clipboard."
|
printf "$selection" | xclip -selection clipboard && notify-send "'$(xclip -o -selection clipboard)' has been copied to clipboard."
|
@ -8,7 +8,7 @@ super + shift + Return
|
|||||||
tdrop -ma -w -4 -y "$PANEL_HEIGHT" -s dropterm $TERMINAL
|
tdrop -ma -w -4 -y "$PANEL_HEIGHT" -s dropterm $TERMINAL
|
||||||
|
|
||||||
super + t
|
super + t
|
||||||
toggle-bin screenkey
|
toggle-process screenkey
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -42,10 +42,10 @@ super + shift + w
|
|||||||
|
|
||||||
# Miscellaneous shortcuts.
|
# Miscellaneous shortcuts.
|
||||||
super + shift + m
|
super + shift + m
|
||||||
choose-manual --viewpdf
|
choose-manual-menu
|
||||||
|
|
||||||
super + shift + e
|
super + shift + e
|
||||||
choose-emoji
|
choose-emoji-menu
|
||||||
|
|
||||||
super + shift + t
|
super + shift + t
|
||||||
select-wal-theme
|
select-wal-theme
|
||||||
|
Loading…
Reference in New Issue
Block a user