From Nihal Jere to ~noocsharp/public-inbox
Sorry for the delay, but it's applied, thanks!
From Nihal Jere to ~noocsharp/public-inbox
Hi, On Tue, Oct 04, 2022 at 06:49:21PM +0200, Matěj Cepl wrote: > Hi, > > I appreciate the simplicity of wayclip, but there is one thing I would > really like it to have: ability to distinguish between different clipboard > (primary clipboard, secondary clipboard, and selection). Not only I would > consider clipboard program without that insufficient, but contrary to some > other functionality it cannot be substituted by some shell scripts or > similar shenanigans. Multiple clipboard support is the job of a clipboard manager. wayclip is only intended to provide a command-line interface to the wlr-data-control
From Nihal Jere to ~noocsharp/public-inbox
> Here is a workflow in which waycopy doesn't work. I create a script test.sh: > > #! /usr/bin/sh > > echo "Hello" | waycopy > read -p "Press any key to continue" > > I use sway as a window manager. I bind the script to the following shortcuts > in .config/sway/config > > bindsym $mod+m exec foot --title="test.sh" test.sh > > After reloading sway if I execute the script with mod+m, > as long as the new terminal is open, I can paste "Hello". When the terminal
From Nihal Jere to ~noocsharp/public-inbox
On Thu, Sep 22, 2022 at 03:00:41PM +0000, Cedric wrote: > Hello, > > I would like to switch from wl-clipboard to wayclip. Unfortunately > I can't use my actual workflow and if I understand it right, it's > because the copy isn't persistent. Copying is persistent. waycopy forks into the background (becoming a child of PID 1), meaning it shouldn't terminate when the terminal that calls it is closed. It used to stay in the foreground, but I decided to change it because, as you know, it is more convenient default behavior. After you close the second terminal, use pgrep to check that waycopy is indeed running. If not, then something bad is happening.
From Nihal Jere to ~sircmpwn/hare-dev
This uses the same logic from the Olson code, which treats this condition as invalid. Signed-off-by: Nihal Jere <nihal@nihaljere.xyz> --- Sorry, forgot to sign off and put a subject prefix. time/chrono/tzdb.ha | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/time/chrono/tzdb.ha b/time/chrono/tzdb.ha index f7fbcdfa..541d40b5 100644 --- a/time/chrono/tzdb.ha +++ b/time/chrono/tzdb.ha [message trimmed]
From Nihal Jere to ~sircmpwn/hare-dev
This uses the same logic from the Olson code, which treats this condition as invalid. --- time/chrono/tzdb.ha | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/time/chrono/tzdb.ha b/time/chrono/tzdb.ha index f7fbcdfa..541d40b5 100644 --- a/time/chrono/tzdb.ha +++ b/time/chrono/tzdb.ha @@ -135,19 +135,11 @@ fn parse_tzif( return invalidtzif; }; [message trimmed]
From Nihal Jere to ~sircmpwn/hare-dev
Ping
From Nihal Jere to ~sircmpwn/hare-dev
This is stolen from musl, adjusted to deal with the way datetime stores yeardays and weekdays. Signed-off-by: Nihal Jere <nihal@nihaljere.xyz> --- datetime/chronology.ha | 22 ++++++++++++++++++++++ datetime/date.ha | 34 ++++++++++++++++++++++++++++++++++ datetime/datetime.ha | 2 ++ datetime/format.ha | 3 +-- 4 files changed, 59 insertions(+), 2 deletions(-) diff --git a/datetime/chronology.ha b/datetime/chronology.ha index 86957629..8d1e9297 100644 --- a/datetime/chronology.ha [message trimmed]
From Nihal Jere to ~sircmpwn/hare-dev
Signed-off-by: Nihal Jere <nihal@nihaljere.xyz> --- wayland/scanner/scan.ha | 8 ++++++++ wayland/scanner/types.ha | 2 ++ 2 files changed, 10 insertions(+) diff --git a/wayland/scanner/scan.ha b/wayland/scanner/scan.ha index efa7c65..0ad72c0 100644 --- a/wayland/scanner/scan.ha +++ b/wayland/scanner/scan.ha @@ -41,6 +41,8 @@ fn scan_proto(par: *xml::parser) (protocol | error) = { }; let name = ""; [message trimmed]
From Nihal Jere to ~sircmpwn/hare-dev
Signed-off-by: Nihal Jere <nihal@nihaljere.xyz> --- main.ha | 2 +- wayland/client/client.ha | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/main.ha b/main.ha index e39297d..9c67c64 100644 --- a/main.ha +++ b/main.ha @@ -11,5 +11,5 @@ export fn main() void = { case client::noruntime => fmt::fatalf("Error connecting to Wayland: No runtime"); }; [message trimmed]