configures cliphist
This commit is contained in:
parent
44e1b85f74
commit
1407b6964d
7 changed files with 29 additions and 18 deletions
|
|
@ -45,6 +45,7 @@
|
||||||
../modules/fish
|
../modules/fish
|
||||||
../modules/firefox
|
../modules/firefox
|
||||||
../modules/wm/swaync
|
../modules/wm/swaync
|
||||||
|
../modules/wm/cliphist
|
||||||
../modules/wm/awww
|
../modules/wm/awww
|
||||||
../modules/wm/fuzzel
|
../modules/wm/fuzzel
|
||||||
../modules/wm/ironbar
|
../modules/wm/ironbar
|
||||||
|
|
|
||||||
|
|
@ -151,6 +151,14 @@
|
||||||
enableSSHSupport = true;
|
enableSSHSupport = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = [
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
pkgs.xdg-desktop-portal-gnome
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
|
|
||||||
# Pipewire
|
# Pipewire
|
||||||
|
|
|
||||||
9
modules/wm/cliphist/default.nix
Normal file
9
modules/wm/cliphist/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.cliphist = {
|
||||||
|
enable = true;
|
||||||
|
allowImages = true;
|
||||||
|
systemdTargets = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -21,7 +21,6 @@
|
||||||
colors = {
|
colors = {
|
||||||
background = "0f0b15f5";
|
background = "0f0b15f5";
|
||||||
text = "ffffffff";
|
text = "ffffffff";
|
||||||
message = "bf8a9fff";
|
|
||||||
prompt = "807c9fff";
|
prompt = "807c9fff";
|
||||||
input = "ffffffff";
|
input = "ffffffff";
|
||||||
match = "c57fafff";
|
match = "c57fafff";
|
||||||
|
|
|
||||||
|
|
@ -246,16 +246,6 @@ window-rule {
|
||||||
// open-on-workspace "chat"
|
// open-on-workspace "chat"
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// Work around WezTerm's initial configure bug
|
|
||||||
// by setting an empty default-column-width.
|
|
||||||
// window-rule {
|
|
||||||
// // This regular expression is intentionally made as specific as possible,
|
|
||||||
// // since this is the default config, and we want no false positives.
|
|
||||||
// // You can get away with just app-id="wezterm" if you want.
|
|
||||||
// match app-id=r#"^org\.wezfurlong\.wezterm$"#
|
|
||||||
// default-column-width {}
|
|
||||||
// }
|
|
||||||
|
|
||||||
// Open the Firefox picture-in-picture player as floating by default.
|
// Open the Firefox picture-in-picture player as floating by default.
|
||||||
window-rule {
|
window-rule {
|
||||||
// This app-id regular expression will work for both:
|
// This app-id regular expression will work for both:
|
||||||
|
|
@ -305,10 +295,10 @@ binds {
|
||||||
Mod+Shift+Slash { show-hotkey-overlay; }
|
Mod+Shift+Slash { show-hotkey-overlay; }
|
||||||
|
|
||||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||||
Mod+Return hotkey-overlay-title="Open a terminal" { spawn "wezterm"; }
|
Mod+T hotkey-overlay-title="Open a terminal" { spawn "ghostty +new-window"; }
|
||||||
Mod+Space hotkey-overlay-title="Launcher" { spawn "fuzzel"; }
|
Mod+Space hotkey-overlay-title="Launcher" { spawn "fuzzel"; }
|
||||||
Mod+B hotkey-overlay-title="Browser" { spawn "firefox"; }
|
Mod+B hotkey-overlay-title="Browser" { spawn "firefox"; }
|
||||||
Mod+M hotkey-overlay-title="System Monitor" { spawn-sh "wezterm start -- btop"; }
|
Mod+M hotkey-overlay-title="System Monitor" { spawn-sh "ghostty -e btop"; }
|
||||||
Mod+N hotkey-overlay-title="File Manager" { spawn "nautilus"; }
|
Mod+N hotkey-overlay-title="File Manager" { spawn "nautilus"; }
|
||||||
Mod+Alt+L hotkey-overlay-title="Lock the Screen: hyprlock" { spawn "hyprlock"; }
|
Mod+Alt+L hotkey-overlay-title="Lock the Screen: hyprlock" { spawn "hyprlock"; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,5 @@
|
||||||
services.polkit-gnome.enable = true;
|
services.polkit-gnome.enable = true;
|
||||||
|
|
||||||
# WM Utilities (split out if they need additional config)
|
# WM Utilities (split out if they need additional config)
|
||||||
# TODO configure ironbar
|
|
||||||
programs.hyprlock.enable = true;
|
programs.hyprlock.enable = true;
|
||||||
# TODO: Install idle manager
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,10 @@
|
||||||
@define-color silver #b8c6d5;
|
@define-color silver #b8c6d5;
|
||||||
@define-color silver_bright #ffffff;
|
@define-color silver_bright #ffffff;
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: "VictorMono NF SemiBold";
|
||||||
|
}
|
||||||
|
|
||||||
notificationwindow, blankwindow, blankwindow {
|
notificationwindow, blankwindow, blankwindow {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
@ -438,14 +442,16 @@ notificationwindow, blankwindow, blankwindow {
|
||||||
.widget-buttons-grid flowboxchild > button {
|
.widget-buttons-grid flowboxchild > button {
|
||||||
padding: 12px 0;
|
padding: 12px 0;
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
background-color: @magenta_subtle_bg_darker;
|
background-color: @magenta;
|
||||||
color: @magenta_brighter;
|
color: @fg;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-buttons-grid flowboxchild > button:hover {
|
.widget-buttons-grid flowboxchild > button:hover {
|
||||||
padding: 12px 0;
|
padding: 12px 0;
|
||||||
background-color: @magenta_subtle_bg;
|
background-color: @magenta;
|
||||||
|
box-shadow: inset 0px 0px 15px 3px rgba(0,0,0,0.8);
|
||||||
|
transition: none;
|
||||||
color: @fg;
|
color: @fg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue