wl-copy no newlines
This commit is contained in:
parent
cc54b89adc
commit
7caa83908d
1 changed files with 8 additions and 8 deletions
|
|
@ -52,7 +52,7 @@ in {
|
||||||
name = "bwmenu";
|
name = "bwmenu";
|
||||||
text = ''
|
text = ''
|
||||||
items="$(rbw list)"
|
items="$(rbw list)"
|
||||||
echo "$items" | ${my-deps.menu} | xargs -I_ rbw get _ | wl-copy
|
echo "$items" | ${my-deps.menu} | xargs -I_ rbw get _ | wl-copy -n
|
||||||
'';
|
'';
|
||||||
hotkeys = [{key = "P";}];
|
hotkeys = [{key = "P";}];
|
||||||
install = false;
|
install = false;
|
||||||
|
|
@ -62,8 +62,8 @@ in {
|
||||||
text = ''
|
text = ''
|
||||||
items="$(rbw list)"
|
items="$(rbw list)"
|
||||||
echo "$items" | ${my-deps.menu} | xargs -I_ rbw get --field username _ \
|
echo "$items" | ${my-deps.menu} | xargs -I_ rbw get --field username _ \
|
||||||
| awk '{print $2}' | wl-copy
|
| awk '{print $2}' | wl-copy -n
|
||||||
'';
|
'';
|
||||||
hotkeys = [
|
hotkeys = [
|
||||||
{
|
{
|
||||||
modifier = "${modifier}_CONTROL";
|
modifier = "${modifier}_CONTROL";
|
||||||
|
|
@ -76,7 +76,7 @@ in {
|
||||||
name = "bwotpmenu";
|
name = "bwotpmenu";
|
||||||
text = ''
|
text = ''
|
||||||
items="$(rbw list)"
|
items="$(rbw list)"
|
||||||
echo "$items" | ${my-deps.menu} | xargs -I_ rbw code _ | wl-copy
|
echo "$items" | ${my-deps.menu} | xargs -I_ rbw code _ | wl-copy -n
|
||||||
'';
|
'';
|
||||||
hotkeys = [
|
hotkeys = [
|
||||||
{
|
{
|
||||||
|
|
@ -148,7 +148,7 @@ in {
|
||||||
{
|
{
|
||||||
name = "picker";
|
name = "picker";
|
||||||
text = ''
|
text = ''
|
||||||
${my-deps.hyprpicker} | wl-copy && notify-send "Copied Colour" "$(wl-paste)"
|
${my-deps.hyprpicker} | wl-copy -n && notify-send "Copied Colour" "$(wl-paste)"
|
||||||
'';
|
'';
|
||||||
hotkeys = [
|
hotkeys = [
|
||||||
{
|
{
|
||||||
|
|
@ -309,7 +309,7 @@ in {
|
||||||
{
|
{
|
||||||
name = "select-emoji";
|
name = "select-emoji";
|
||||||
text = ''
|
text = ''
|
||||||
cat ${../../lib/emotes.txt} | ${my-deps.menu} | awk '{print $1}' | wl-copy
|
cat ${../../lib/emotes.txt} | ${my-deps.menu} | awk '{print $1}' | wl-copy -n
|
||||||
'';
|
'';
|
||||||
install = true;
|
install = true;
|
||||||
hotkeys = [
|
hotkeys = [
|
||||||
|
|
@ -322,7 +322,7 @@ in {
|
||||||
{
|
{
|
||||||
name = "select-word";
|
name = "select-word";
|
||||||
text = ''
|
text = ''
|
||||||
cat ${../../lib/words.txt} | ${my-deps.menu} | awk '{print $1}' | wl-copy
|
cat ${../../lib/words.txt} | ${my-deps.menu} | awk '{print $1}' | wl-copy -n
|
||||||
'';
|
'';
|
||||||
install = true;
|
install = true;
|
||||||
hotkeys = [
|
hotkeys = [
|
||||||
|
|
@ -335,7 +335,7 @@ in {
|
||||||
{
|
{
|
||||||
name = "tailscale-ip";
|
name = "tailscale-ip";
|
||||||
text = ''
|
text = ''
|
||||||
tailscale status | ${my-deps.menu} | awk '{ print $1 }' | wl-copy
|
tailscale status | ${my-deps.menu} | awk '{ print $1 }' | wl-copy -n
|
||||||
'';
|
'';
|
||||||
install = true;
|
install = true;
|
||||||
hotkeys = [
|
hotkeys = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue