fix!: migrate to wofi
This commit is contained in:
12
custom/wofi/config
Normal file
12
custom/wofi/config
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
style=$HOME/.config/wofi/style.css
|
||||||
|
xoffset=710
|
||||||
|
yoffset=275
|
||||||
|
show=drun
|
||||||
|
width=500
|
||||||
|
height=500
|
||||||
|
always_parse_args=true
|
||||||
|
show_all=true
|
||||||
|
print_command=true
|
||||||
|
layer=overlay
|
||||||
|
insensitive=true
|
||||||
|
prompt=
|
||||||
52
custom/wofi/style.css
Normal file
52
custom/wofi/style.css
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
window {
|
||||||
|
margin: 0px;
|
||||||
|
border: 2px solid #414868;
|
||||||
|
border-radius: 5px;
|
||||||
|
background-color: #24283b;
|
||||||
|
font-family: monospace;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input {
|
||||||
|
margin: 5px;
|
||||||
|
border: 1px solid #24283b;
|
||||||
|
color: #c0caf5;
|
||||||
|
background-color: #24283b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input image {
|
||||||
|
color: #c0caf5;
|
||||||
|
}
|
||||||
|
|
||||||
|
#inner-box {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
background-color: #24283b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#outer-box {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
background-color: #24283b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scroll {
|
||||||
|
margin: 0px;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
color: #c0caf5;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected {
|
||||||
|
background-color: #414868;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text:selected {
|
||||||
|
background-color: #414868;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
./kanata.nix
|
./kanata.nix
|
||||||
./pipewire.nix
|
./pipewire.nix
|
||||||
./keys.nix
|
./keys.nix
|
||||||
./rofi.nix
|
./wofi.nix
|
||||||
./desktop.nix
|
./desktop.nix
|
||||||
./zed-editor.nix
|
./zed-editor.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
prismlauncher
|
prismlauncher
|
||||||
feh
|
feh
|
||||||
dconf
|
dconf
|
||||||
rofi
|
|
||||||
papirus-icon-theme
|
papirus-icon-theme
|
||||||
pa_applet
|
pa_applet
|
||||||
libnotify
|
libnotify
|
||||||
@@ -50,7 +49,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
wayland = true;
|
wayland = true;
|
||||||
};
|
};
|
||||||
rofi.enable = true;
|
wofi.enable = true;
|
||||||
services.upower.enable = true;
|
services.upower.enable = true;
|
||||||
zed.enable = true;
|
zed.enable = true;
|
||||||
|
|
||||||
@@ -135,7 +134,7 @@
|
|||||||
settings = {
|
settings = {
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
"$terminal" = "ghostty";
|
"$terminal" = "ghostty";
|
||||||
"$menu" = "rofi -show drun -theme ~/.config/rofi/launcher.rasi";
|
"$menu" = "wofi -show drun";
|
||||||
bind =
|
bind =
|
||||||
[
|
[
|
||||||
"$mod, Return, exec, $terminal"
|
"$mod, Return, exec, $terminal"
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
];
|
];
|
||||||
programs.thunar.enable = true;
|
programs.thunar.enable = true;
|
||||||
services.tumbler.enable = true;
|
services.tumbler.enable = true;
|
||||||
rofi.enable = true;
|
# rofi.enable = true;
|
||||||
|
|
||||||
home-manager.users.luca = {
|
home-manager.users.luca = {
|
||||||
programs = {
|
programs = {
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
options.rofi = {
|
|
||||||
enable = lib.mkEnableOption "enable rofi";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf config.rofi.enable {
|
|
||||||
home-manager.users.luca = {
|
|
||||||
|
|
||||||
xdg.configFile = {
|
|
||||||
rofi.source = ../../custom/rofi;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
20
nix/modules/wofi.nix
Normal file
20
nix/modules/wofi.nix
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
options.wofi = {
|
||||||
|
enable = lib.mkEnableOption "enable wofi";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.wofi.enable {
|
||||||
|
environment.systemPackages = with pkgs; [ wofi ];
|
||||||
|
home-manager.users.luca = {
|
||||||
|
xdg.configFile = {
|
||||||
|
wofi.source = ../../custom/wofi;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user