Compare commits

...

2 Commits

Author SHA1 Message Date
84d9817933
🖼 Emojis in Rofi, some styling changes
- Added rofimoji and wl-clipboard to Rofi
- Changed font to JetBrains Mono
- Added SSH window
- Changed width and round corners
2025-01-01 19:59:09 +01:00
69fff69c65
🖼 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
2025-01-01 19:00:38 +01:00
7 changed files with 74 additions and 32 deletions

@ -11,6 +11,7 @@
rustup
nodejs
pnpm
gcc # Required for C, Rust and others
# Formatters
nixd
];

@ -12,6 +12,8 @@
gnomeExtensions.appindicator
gnome-extension-manager
loupe
gnome-calculator
gnome-disk-utility
];
programs = {

@ -36,7 +36,7 @@ $menu = rofi -show drun
# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:
exec-once = $browser & $terminal & nextcloud
exec-once = $browser & [workspace 2] $terminal & nextcloud
# Status bar
exec-once = waybar
@ -306,6 +306,7 @@ bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, B, exec, $browser
bind = $mainMod, L, exec, hyprlock
bind = $mainMod, K, exec, [float] gnome-calculator
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l

@ -1,5 +1,5 @@
* {
bg-col: #1e1e2e;
bg-col: #1e1e2e;
bg-col-light: #1e1e2e;
border-col: #1e1e2e;
selected-col: #1e1e2e;
@ -8,18 +8,19 @@
fg-col2: #f38ba8;
grey: #6c7086;
width: 600;
font: "JetBrainsMono Nerd Font 14";
width: 750;
font: "JetBrainsMono Nerd Font 12";
}
element-text, element-icon , mode-switcher {
element-text, element-icon, mode-switcher {
background-color: inherit;
text-color: inherit;
text-color: inherit;
}
window {
height: 360px;
border: 3px;
border-radius: 5px;
border-color: @border-col;
background-color: @bg-col;
}
@ -67,7 +68,7 @@ listview {
element {
padding: 5px;
background-color: @bg-col;
text-color: @fg-col ;
text-color: @fg-col;
}
element-icon {
@ -75,25 +76,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 {

21
home/rofi/config.rasi Normal file

@ -0,0 +1,21 @@
configuration {
disable-history: false;
display-Network: " 󰤨 Network";
display-drun: "  Apps ";
display-run: "  Run ";
display-window: " 󰕰 Window";
display-ssh: "  SSH";
display-rofimoji: " 😎 Emojis";
drun-display-format: "{icon} {name}";
font: "JetBrains Mono 12";
hide-scrollbar: true;
icon-theme: "Oranchelo";
location: 0;
modi: [run,drun,window,ssh,rofimoji];
show-icons: true;
sidebar-mode: true;
terminal: "kitty";
xoffset: 0;
yoffset: 0;
}
@theme "catppuccin-mocha"

@ -1,24 +1,37 @@
# 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
rofimoji
wl-clipboard
];
home.file = {
".config/rofi/config.rasi".source = ./config.rasi;
".config/rofi/scripts/rofimoji".source = "${pkgs.rofimoji}/bin/rofimoji";
".local/share/rofi/themes/catppuccin-mocha.rasi".source = ./catppuccin-mocha.rasi;
".config/rofimoji.rc".source = ./rofimoji.rc;
};
# 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;
# };
# };
}

3
home/rofi/rofimoji.rc Normal file

@ -0,0 +1,3 @@
action = copy
files = [emojis, math]
skin-tone = moderate