fix: satty now uses wl-copy for copy action
This commit is contained in:
parent
8b93cf4bde
commit
f9fcd1fd77
1 changed files with 3 additions and 5 deletions
|
@ -59,6 +59,8 @@ lib.mkIf osConfig.programs.sway.enable {
|
|||
keybindings =
|
||||
let
|
||||
mod = config.wayland.windowManager.sway.config.modifier;
|
||||
cliphist = getExe pkgs.cliphist;
|
||||
copy = getExe' pkgs.wl-clipboard "wl-copy";
|
||||
in
|
||||
lib.mkOptionDefault {
|
||||
"${mod}+p" = "exec ${getExe pkgs.hyprlock}";
|
||||
|
@ -73,10 +75,6 @@ lib.mkIf osConfig.programs.sway.enable {
|
|||
# Start launcher
|
||||
"${mod}+d" = "exec ${getExe desktop.runner.package}";
|
||||
"${mod}+s" =
|
||||
let
|
||||
cliphist = getExe pkgs.cliphist;
|
||||
copy = getExe' pkgs.wl-clipboard "wl-copy";
|
||||
in
|
||||
mkIf cliphistEnabled "exec ${cliphist} list | ${desktop.runner.dmenu} | ${cliphist} decode | ${copy}";
|
||||
# Toggle the current focus between tiling and floating mode
|
||||
"${mod}+Shift+space" = "floating toggle";
|
||||
|
@ -99,7 +97,7 @@ lib.mkIf osConfig.programs.sway.enable {
|
|||
"${mod}+u" =
|
||||
"exec ${getExe pkgs.hyprshot} -o ${config.xdg.userDirs.pictures}/screenshots -m region";
|
||||
"${mod}+Shift+u" =
|
||||
"exec ${getExe pkgs.hyprshot} --raw -m region | ${getExe pkgs.satty} -f - --fullscreen";
|
||||
"exec ${getExe pkgs.hyprshot} --raw -m region | ${getExe pkgs.satty} -f - --fullscreen --copy-command ${copy}";
|
||||
|
||||
#: Workspace movement {{{
|
||||
"--input-device=${inputs.kb.builtin} ${mod}+ampersand" = "workspace number 1";
|
||||
|
|
Loading…
Add table
Reference in a new issue