🖼 Styled Rofi, calc and disk apps, gcc

- Formatted theme for Rofi
- Moved Rofi config to .rasi file, because of troubles styling with programs.rofi
- Added gnome-calculator and gnome-disk
- Added GCC
- Open Calc by pressing SUPER + K
- Opens terminal in workspace 2 at boot
This commit is contained in:
2025-01-01 19:00:38 +01:00
parent fe1186f960
commit 69fff69c65
6 changed files with 62 additions and 31 deletions

View File

@ -1,5 +1,5 @@
* {
bg-col: #1e1e2e;
bg-col: #1e1e2e;
bg-col-light: #1e1e2e;
border-col: #1e1e2e;
selected-col: #1e1e2e;
@ -12,9 +12,9 @@
font: "JetBrainsMono Nerd Font 14";
}
element-text, element-icon , mode-switcher {
element-text, element-icon, mode-switcher {
background-color: inherit;
text-color: inherit;
text-color: inherit;
}
window {
@ -67,7 +67,7 @@ listview {
element {
padding: 5px;
background-color: @bg-col;
text-color: @fg-col ;
text-color: @fg-col;
}
element-icon {
@ -75,25 +75,25 @@ element-icon {
}
element selected {
background-color: @selected-col ;
text-color: @fg-col2 ;
background-color: @selected-col;
text-color: @fg-col2;
}
mode-switcher {
spacing: 0;
}
}
button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
vertical-align: 0.5;
horizontal-align: 0.5;
}
button selected {
background-color: @bg-col;
text-color: @blue;
background-color: @bg-col;
text-color: @blue;
}
message {

19
home/rofi/config.rasi Normal file
View File

@ -0,0 +1,19 @@
configuration {
disable-history: false;
display-Network: " 󰤨 Network";
display-drun: "  Apps ";
display-run: "  Run ";
display-window: " 󰕰 Window";
drun-display-format: "{icon} {name}";
font: "DejaVu Sans Mono 10";
hide-scrollbar: true;
icon-theme: "Oranchelo";
location: 0;
modi: "run,drun,window";
show-icons: true;
sidebar-mode: true;
terminal: "kitty";
xoffset: 0;
yoffset: 0;
}
@theme "catppuccin-mocha"

View File

@ -1,24 +1,32 @@
# App runner
{ ... }:
{ pkgs, ... }:
{
programs.rofi = {
enable = true;
# TODO get theme to work
# theme = lib.mkDefault ./catppuccin-mocha.rasi;
extraConfig = {
modi = "run,drun,window";
icon-theme = "Oranchelo";
show-icons = true;
terminal = "kitty";
drun-display-format = "{icon} {name}";
disable-history = false;
hide-scrollbar = true;
display-drun = " Apps ";
display-run = " Run ";
display-window = " 󰕰 Window";
display-Network = " 󰤨 Network";
sidebar-mode = true;
};
};
home.packages = with pkgs; [
rofi-wayland
];
home.file.".config/rofi/config.rasi".source = ./config.rasi;
home.file.".local/share/rofi/themes/catppuccin-mocha.rasi".source = ./catppuccin-mocha.rasi;
# TODO Use programs.rofi. Theme is not applied correctly
# programs.rofi = {
# enable = true;
# theme = lib.mkDefault "catppuccin-mocha";
# extraConfig = {
# modi = "run,drun,window";
# icon-theme = "Oranchelo";
# show-icons = true;
# terminal = "kitty";
# drun-display-format = "{icon} {name}";
# disable-history = false;
# hide-scrollbar = true;
# display-drun = "  Apps ";
# display-run = "  Run ";
# display-window = " 󰕰 Window";
# display-Network = " 󰤨 Network";
# sidebar-mode = true;
# };
# };
}