Compare commits
5 Commits
57922fcfce
...
ca1745a8d9
| Author | SHA1 | Date | |
|---|---|---|---|
| ca1745a8d9 | |||
| 672e091d1c | |||
| 9e509537d8 | |||
| 1163e12cea | |||
| e0b5988688 |
BIN
config/backgrounds/kogami_psychopass.jpg
Executable file
BIN
config/backgrounds/kogami_psychopass.jpg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 191 KiB |
@ -51,7 +51,7 @@ wallframe {
|
|||||||
padding: 0em;
|
padding: 0em;
|
||||||
expand: false;
|
expand: false;
|
||||||
background-color: @main-bg;
|
background-color: @main-bg;
|
||||||
background-image: url("~/.dotfiles/config/backgrounds/aurora_borealis.png", width);
|
background-image: url("~/.dotfiles/config/backgrounds/aurora_borealis.png", height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
BIN
docs/demo.mp4
Normal file
BIN
docs/demo.mp4
Normal file
Binary file not shown.
@ -68,7 +68,7 @@
|
|||||||
editor = "neovim"; # neovim, vscode
|
editor = "neovim"; # neovim, vscode
|
||||||
|
|
||||||
# List all themes: $ nix build nixpkgs#base16-schemes && ls result/share/themes
|
# List all themes: $ nix build nixpkgs#base16-schemes && ls result/share/themes
|
||||||
theme = "catppuccin-mocha"; # tokyo-night-dark, one-dark
|
theme = "catppuccin-mocha"; # catppuccin-mocha, tokyo-night-dark, one-dark
|
||||||
background = "aurora_borealis.png";
|
background = "aurora_borealis.png";
|
||||||
|
|
||||||
plasma = false;
|
plasma = false;
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
libreoffice
|
libreoffice
|
||||||
localsend
|
localsend
|
||||||
kdePackages.kdeconnect-kde
|
kdePackages.kdeconnect-kde
|
||||||
vlc
|
mpv
|
||||||
openrocket
|
openrocket
|
||||||
spotube
|
spotube
|
||||||
inkscape
|
inkscape
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
cliphist
|
cliphist
|
||||||
(writeShellScriptBin "clipboard" ''
|
(writeShellScriptBin "clipboard" ''
|
||||||
export confDir="''${XDG_CONFIG_HOME:-$HOME/.config}"
|
export confDir="''${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||||
roconf="''${confDir}/rofi/clipboard.rasi"
|
roconf="''${confDir}/rofi/cliboard.rasi"
|
||||||
favoritesFile="''${HOME}/.cliphist_favorites"
|
favoritesFile="''${HOME}/.cliphist_favorites"
|
||||||
|
|
||||||
if printenv HYPRLAND_INSTANCE_SIGNATURE &> /dev/null; then
|
if printenv HYPRLAND_INSTANCE_SIGNATURE &> /dev/null; then
|
||||||
|
|||||||
@ -246,7 +246,7 @@
|
|||||||
"$mod, Tab, exec, ${pkgs.toybox}/bin/pkill -x rofi || ${pkgs.rofi-wayland}/bin/rofi -show window"
|
"$mod, Tab, exec, ${pkgs.toybox}/bin/pkill -x rofi || ${pkgs.rofi-wayland}/bin/rofi -show window"
|
||||||
"$mod+Shift, E, exec, ${pkgs.toybox}/bin/pkill -x rofi || ${pkgs.rofi-wayland}/bin/rofi -show emoji"
|
"$mod+Shift, E, exec, ${pkgs.toybox}/bin/pkill -x rofi || ${pkgs.rofi-wayland}/bin/rofi -show emoji"
|
||||||
# Clipboard manager
|
# Clipboard manager
|
||||||
"$mod, V, exec, ${pkgs.toybox}/bin/pkill -x rofi || clipboard"
|
"$mod, V, exec, ${pkgs.toybox}/bin/pkill -x rofi || clipboard d"
|
||||||
|
|
||||||
# Grouped Windows
|
# Grouped Windows
|
||||||
"$mod CTRL, H, changegroupactive, b"
|
"$mod CTRL, H, changegroupactive, b"
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
userSettings,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options = {
|
options = {
|
||||||
@ -9,7 +10,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./clipboard-rofi.nix
|
./clipboard-rofi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
config = lib.mkIf config.desktop.hyprland.rofi.enable {
|
config = lib.mkIf config.desktop.hyprland.rofi.enable {
|
||||||
@ -35,7 +36,7 @@
|
|||||||
font = "JetBrainsMono Nerd Font 10";
|
font = "JetBrainsMono Nerd Font 10";
|
||||||
icon-theme = "Tela-circle-dracula";
|
icon-theme = "Tela-circle-dracula";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Main window settings
|
# Main window settings
|
||||||
"window" = {
|
"window" = {
|
||||||
height = mkLiteral "35em";
|
height = mkLiteral "35em";
|
||||||
@ -49,7 +50,7 @@
|
|||||||
#border-color = mkLiteral "@main-br"; # replace with actual color hex if needed
|
#border-color = mkLiteral "@main-br"; # replace with actual color hex if needed
|
||||||
#background-color = mkLiteral "@main-bg";
|
#background-color = mkLiteral "@main-bg";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Mainbox settings
|
# Mainbox settings
|
||||||
"mainbox" = {
|
"mainbox" = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
@ -58,9 +59,9 @@
|
|||||||
orientation = mkLiteral "vertical";
|
orientation = mkLiteral "vertical";
|
||||||
children = ["inputbar" "listbox"];
|
children = ["inputbar" "listbox"];
|
||||||
background-color = mkLiteral "transparent";
|
background-color = mkLiteral "transparent";
|
||||||
background-image = mkLiteral "url(\"~/.dotfiles/config/backgrounds/aurora_borealis.png\", height)";
|
background-image = mkLiteral "url(\"~/.dotfiles/config/backgrounds/${userSettings.background}\", HEIGHT)";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Input bar settings
|
# Input bar settings
|
||||||
"inputbar" = {
|
"inputbar" = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
@ -68,9 +69,9 @@
|
|||||||
padding = mkLiteral "5em";
|
padding = mkLiteral "5em";
|
||||||
children = ["entry"];
|
children = ["entry"];
|
||||||
background-color = mkLiteral "transparent";
|
background-color = mkLiteral "transparent";
|
||||||
background-image = mkLiteral "url(\"~/.dotfiles/config/backgrounds/aurora_borealis.png\", width)";
|
background-image = mkLiteral "url(\"~/.dotfiles/config/backgrounds/${userSettings.background}\", WIDTH)";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Entry field settings
|
# Entry field settings
|
||||||
"entry" = {
|
"entry" = {
|
||||||
border-radius = mkLiteral "2em";
|
border-radius = mkLiteral "2em";
|
||||||
@ -80,7 +81,7 @@
|
|||||||
#text-color = mkLiteral "@main-fg";
|
#text-color = mkLiteral "@main-fg";
|
||||||
#background-color = mkLiteral "@main-bg";
|
#background-color = mkLiteral "@main-bg";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Listbox settings
|
# Listbox settings
|
||||||
"listbox" = {
|
"listbox" = {
|
||||||
padding = mkLiteral "0em";
|
padding = mkLiteral "0em";
|
||||||
@ -89,7 +90,7 @@
|
|||||||
children = ["listview" "mode-switcher"];
|
children = ["listview" "mode-switcher"];
|
||||||
#background-color = mkLiteral "@main-bg";
|
#background-color = mkLiteral "@main-bg";
|
||||||
};
|
};
|
||||||
|
|
||||||
# List view settings
|
# List view settings
|
||||||
"listview" = {
|
"listview" = {
|
||||||
padding = mkLiteral "1.5em";
|
padding = mkLiteral "1.5em";
|
||||||
@ -108,7 +109,7 @@
|
|||||||
background-color = mkLiteral "transparent";
|
background-color = mkLiteral "transparent";
|
||||||
#text-color = mkLiteral "@main-fg";
|
#text-color = mkLiteral "@main-fg";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Mode switcher settings
|
# Mode switcher settings
|
||||||
"mode-switcher" = {
|
"mode-switcher" = {
|
||||||
orientation = mkLiteral "vertical";
|
orientation = mkLiteral "vertical";
|
||||||
@ -118,7 +119,7 @@
|
|||||||
spacing = mkLiteral "1.5em";
|
spacing = mkLiteral "1.5em";
|
||||||
background-color = mkLiteral "transparent";
|
background-color = mkLiteral "transparent";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Button settings
|
# Button settings
|
||||||
"button" = {
|
"button" = {
|
||||||
cursor = "pointer";
|
cursor = "pointer";
|
||||||
@ -130,7 +131,7 @@
|
|||||||
#background-color = mkLiteral "@main-fg";
|
#background-color = mkLiteral "@main-fg";
|
||||||
#text-color = mkLiteral "@main-bg";
|
#text-color = mkLiteral "@main-bg";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Element settings
|
# Element settings
|
||||||
"element" = {
|
"element" = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
@ -144,7 +145,7 @@
|
|||||||
#background-color = mkLiteral "@select-bg";
|
#background-color = mkLiteral "@select-bg";
|
||||||
#text-color = mkLiteral "@select-fg";
|
#text-color = mkLiteral "@select-fg";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Icon element settings
|
# Icon element settings
|
||||||
"element-icon" = {
|
"element-icon" = {
|
||||||
size = mkLiteral "3em";
|
size = mkLiteral "3em";
|
||||||
@ -152,7 +153,7 @@
|
|||||||
#background-color = mkLiteral "transparent";
|
#background-color = mkLiteral "transparent";
|
||||||
#text-color = mkLiteral "inherit";
|
#text-color = mkLiteral "inherit";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Text element settings
|
# Text element settings
|
||||||
"element-text" = {
|
"element-text" = {
|
||||||
vertical-align = mkLiteral "0.5";
|
vertical-align = mkLiteral "0.5";
|
||||||
@ -161,7 +162,7 @@
|
|||||||
#background-color = mkLiteral "transparent";
|
#background-color = mkLiteral "transparent";
|
||||||
#text-color = mkLiteral "inherit";
|
#text-color = mkLiteral "inherit";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Error message settings
|
# Error message settings
|
||||||
"error-message" = {
|
"error-message" = {
|
||||||
#text-color = mkLiteral "@main-fg";
|
#text-color = mkLiteral "@main-fg";
|
||||||
@ -169,7 +170,7 @@
|
|||||||
text-transform = mkLiteral "capitalize";
|
text-transform = mkLiteral "capitalize";
|
||||||
children = ["textbox"];
|
children = ["textbox"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Textbox settings
|
# Textbox settings
|
||||||
"textbox" = {
|
"textbox" = {
|
||||||
#text-color = mkLiteral "inherit";
|
#text-color = mkLiteral "inherit";
|
||||||
@ -178,6 +179,6 @@
|
|||||||
horizontal-align = mkLiteral "0.5";
|
horizontal-align = mkLiteral "0.5";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -225,9 +225,9 @@
|
|||||||
format = "{}";
|
format = "{}";
|
||||||
rotate = 0;
|
rotate = 0;
|
||||||
exec = "echo ; echo clipboard history";
|
exec = "echo ; echo clipboard history";
|
||||||
on-click = "sleep 0.1 && cliphist.sh c";
|
on-click = "sleep 0.1 && clipboard d";
|
||||||
on-click-right = "sleep 0.1 && cliphist.sh d";
|
on-click-right = "sleep 0.1 && clipboard";
|
||||||
on-click-middle = "sleep 0.1 && cliphist.sh w";
|
on-click-middle = "sleep 0.1 && clipboard";
|
||||||
interval = 86400; # once every day;
|
interval = 86400; # once every day;
|
||||||
tooltip = true;
|
tooltip = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user