remove rofi

This commit is contained in:
chaos 2024-07-21 21:01:34 +01:00
parent d2be71c83c
commit c0d3d4ffa8
No known key found for this signature in database
4 changed files with 2 additions and 114 deletions

View file

@ -1 +0,0 @@
@theme "rofi-nord"

View file

@ -1,6 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [rofi];
home.file.".local/share/rofi/themes/rofi-nord.rasi".source = ./rofi-nord.rasi;
home.file.".config/rofi/config.rasi".source = ./config.rasi;
}

View file

@ -1,99 +0,0 @@
* {
font: "Comic Code 12";
nord0: #2e3440;
nord1: #3b4252;
nord2: #434c5e;
nord3: #4c566a;
nord4: #d8dee9;
nord5: #e5e9f0;
nord6: #eceff4;
nord7: #8fbcbb;
nord8: #88c0d0;
nord9: #81a1c1;
nord10: #5e81ac;
nord11: #bf616a;
nord12: #d08770;
nord13: #ebcb8b;
nord14: #a3be8c;
nord15: #b48ead;
background-color: transparent;
text-color: @nord4;
accent-color: @nord8;
margin: 0px;
padding: 0px;
spacing: 0px;
}
window {
background-color: @nord0;
border-color: @accent-color;
location: center;
width: 480px;
y-offset: -160px;
border: 1px;
}
inputbar {
padding: 8px 12px;
spacing: 12px;
children: [ prompt, entry ];
}
prompt, entry, element-text, element-icon {
vertical-align: 0.5;
}
prompt {
text-color: @accent-color;
}
listview {
lines: 8;
columns: 1;
fixed-height: false;
}
element {
padding: 8px;
spacing: 8px;
}
element normal urgent {
text-color: @nord13;
}
element normal active {
text-color: @accent-color;
}
element selected {
text-color: @nord0;
}
element selected normal {
background-color: @accent-color;
}
element selected urgent {
background-color: @nord13;
}
element selected active {
background-color: @nord8;
}
element-icon {
size: 0.75em;
}
element-text {
text-color: inherit;
}

View file

@ -25,7 +25,7 @@
isWayland = nixosConfig.services.xserver.displayManager.gdm.wayland;
in {
imports = with tree; [home.gui.base home.apps.kitty] ++ (optional isWayland home.apps.rofi);
imports = with tree; [home.gui.base home.apps.kitty];
home.packages = with pkgs; [
dconf2nix
@ -139,16 +139,10 @@ in {
screenshot-clip = ["Print"];
search = mkIf isWayland ["<Alt>d"];
custom-keybindings = [
# Rofi & Kitty
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/rofi/"
# Kitty
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/kitty/"
];
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/rofi" = mkIf (!isWayland) {
binding = "<Alt>d";
command = "rofi -show run";
name = "rofi";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/kitty" = {
binding = "<Alt>Return";
command = "kitty";