[container-dev] Switch to rootless docker. [nvim] Update snacks options. [hyprland] Use clipboard fixes globally
This commit is contained in:
@@ -50,10 +50,6 @@ in
|
||||
|
||||
# WoW addon updater
|
||||
wowup-cf
|
||||
|
||||
# For clipboard management. See below.
|
||||
wl-clipboard
|
||||
xclip
|
||||
];
|
||||
|
||||
# xdg.dataFile."applications/wowup-cf.desktop" = {
|
||||
@@ -61,14 +57,6 @@ in
|
||||
# source = "${patched-desktop}/wowup-cf.desktop";
|
||||
# };
|
||||
|
||||
wayland.windowManager.hyprland.settings.exec-once = [
|
||||
# Hyprland doesn't paste into Wine apps. This program is a workaround.
|
||||
# See https://github.com/hyprwm/Hyprland/issues/2319
|
||||
# -t text = Only handle text
|
||||
# -w xclip -selection clipboard = Watch for events and invoke xclip
|
||||
"wl-paste -t text -w xclip -selection clipboard"
|
||||
];
|
||||
|
||||
# wowup needs options to work under wayland.
|
||||
xdg.desktopEntries.wowup-cf = local.electronDesktopEntry {
|
||||
name = "WowUp";
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
swaynotificationcenter # notifications
|
||||
hyprpolkitagent # Privilege managent
|
||||
hyprshot # Screenshot utility
|
||||
|
||||
# For clipboard management. See below.
|
||||
wl-clipboard
|
||||
xclip
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
@@ -37,6 +41,11 @@
|
||||
|
||||
"gsettings set org.gnome.desktop.interface color-scheme \"prefer-dark\""
|
||||
"gsettings set org.gnome.desktop.interface gtk-theme \"Adwaita-dark\""
|
||||
# Hyprland doesn't paste into Firefox or Wine apps. This program is a workaround.
|
||||
# See https://github.com/hyprwm/Hyprland/issues/2319
|
||||
# -t text = Only handle text
|
||||
# -w xclip -selection clipboard = Watch for events and invoke xclip
|
||||
"wl-paste -t text -w xclip -selection clipboard"
|
||||
];
|
||||
|
||||
env = [
|
||||
|
||||
@@ -1,6 +1,18 @@
|
||||
return {
|
||||
"folke/snacks.nvim",
|
||||
---@type snacks.Config
|
||||
opts = {
|
||||
matcher = {
|
||||
-- Enable frecensy for matchers
|
||||
frecency = true,
|
||||
},
|
||||
picker = {
|
||||
smart = {
|
||||
-- Remove the "recent" picker so we don't get things from other directories.
|
||||
multi = { "buffers", "files" },
|
||||
},
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader><space>",
|
||||
|
||||
Reference in New Issue
Block a user