Ver 1.1.1 - Clipboard
This commit is contained in:
parent
21ccd4afca
commit
bb74c0aaa8
1 changed files with 10 additions and 7 deletions
|
|
@ -1,10 +1,14 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
nixosVista,
|
nixosVista,
|
||||||
...
|
...
|
||||||
}: {
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
config = lib.mkIf nixosVista.enable {
|
config = lib.mkIf nixosVista.enable {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
cliphist
|
cliphist
|
||||||
|
|
@ -23,15 +27,14 @@
|
||||||
services.cliphist.enable = true;
|
services.cliphist.enable = true;
|
||||||
|
|
||||||
nixosVista.hyprland.fragments.internalClipboard = ''
|
nixosVista.hyprland.fragments.internalClipboard = ''
|
||||||
############################################################
|
############################################################
|
||||||
# This is configuration for the Clipboard
|
# Clipboard
|
||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
exec-once = wl-paste --type text --watch cliphist store
|
exec-once = wl-paste --type text --watch cliphist store
|
||||||
exec-once = wl-paste --type image --watch cliphist store
|
exec-once = wl-paste --type image --watch cliphist store
|
||||||
bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"
|
|
||||||
|
|
||||||
|
|
||||||
|
bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue