🖼 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:
parent
fe1186f960
commit
69fff69c65
@ -11,6 +11,7 @@
|
|||||||
rustup
|
rustup
|
||||||
nodejs
|
nodejs
|
||||||
pnpm
|
pnpm
|
||||||
|
gcc # Required for C, Rust and others
|
||||||
# Formatters
|
# Formatters
|
||||||
nixd
|
nixd
|
||||||
];
|
];
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
gnomeExtensions.appindicator
|
gnomeExtensions.appindicator
|
||||||
gnome-extension-manager
|
gnome-extension-manager
|
||||||
loupe
|
loupe
|
||||||
|
gnome-calculator
|
||||||
|
gnome-disk-utility
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
@ -36,7 +36,7 @@ $menu = rofi -show drun
|
|||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
# Or execute your favorite apps at launch like this:
|
# Or execute your favorite apps at launch like this:
|
||||||
|
|
||||||
exec-once = $browser & $terminal & nextcloud
|
exec-once = $browser & [workspace 2] $terminal & nextcloud
|
||||||
|
|
||||||
# Status bar
|
# Status bar
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
@ -306,6 +306,7 @@ bind = $mainMod, P, pseudo, # dwindle
|
|||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
bind = $mainMod, B, exec, $browser
|
bind = $mainMod, B, exec, $browser
|
||||||
bind = $mainMod, L, exec, hyprlock
|
bind = $mainMod, L, exec, hyprlock
|
||||||
|
bind = $mainMod, K, exec, [float] gnome-calculator
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, left, movefocus, l
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
* {
|
* {
|
||||||
bg-col: #1e1e2e;
|
bg-col: #1e1e2e;
|
||||||
bg-col-light: #1e1e2e;
|
bg-col-light: #1e1e2e;
|
||||||
border-col: #1e1e2e;
|
border-col: #1e1e2e;
|
||||||
selected-col: #1e1e2e;
|
selected-col: #1e1e2e;
|
||||||
@ -12,9 +12,9 @@
|
|||||||
font: "JetBrainsMono Nerd Font 14";
|
font: "JetBrainsMono Nerd Font 14";
|
||||||
}
|
}
|
||||||
|
|
||||||
element-text, element-icon , mode-switcher {
|
element-text, element-icon, mode-switcher {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
window {
|
window {
|
||||||
@ -67,7 +67,7 @@ listview {
|
|||||||
element {
|
element {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
background-color: @bg-col;
|
background-color: @bg-col;
|
||||||
text-color: @fg-col ;
|
text-color: @fg-col;
|
||||||
}
|
}
|
||||||
|
|
||||||
element-icon {
|
element-icon {
|
||||||
@ -75,13 +75,13 @@ element-icon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
element selected {
|
element selected {
|
||||||
background-color: @selected-col ;
|
background-color: @selected-col;
|
||||||
text-color: @fg-col2 ;
|
text-color: @fg-col2;
|
||||||
}
|
}
|
||||||
|
|
||||||
mode-switcher {
|
mode-switcher {
|
||||||
spacing: 0;
|
spacing: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@ -92,8 +92,8 @@ button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
button selected {
|
button selected {
|
||||||
background-color: @bg-col;
|
background-color: @bg-col;
|
||||||
text-color: @blue;
|
text-color: @blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
message {
|
message {
|
||||||
|
19
home/rofi/config.rasi
Normal file
19
home/rofi/config.rasi
Normal 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"
|
@ -1,24 +1,32 @@
|
|||||||
# App runner
|
# App runner
|
||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.rofi = {
|
|
||||||
enable = true;
|
home.packages = with pkgs; [
|
||||||
# TODO get theme to work
|
rofi-wayland
|
||||||
# theme = lib.mkDefault ./catppuccin-mocha.rasi;
|
];
|
||||||
extraConfig = {
|
|
||||||
modi = "run,drun,window";
|
home.file.".config/rofi/config.rasi".source = ./config.rasi;
|
||||||
icon-theme = "Oranchelo";
|
home.file.".local/share/rofi/themes/catppuccin-mocha.rasi".source = ./catppuccin-mocha.rasi;
|
||||||
show-icons = true;
|
|
||||||
terminal = "kitty";
|
# TODO Use programs.rofi. Theme is not applied correctly
|
||||||
drun-display-format = "{icon} {name}";
|
# programs.rofi = {
|
||||||
disable-history = false;
|
# enable = true;
|
||||||
hide-scrollbar = true;
|
# theme = lib.mkDefault "catppuccin-mocha";
|
||||||
display-drun = " Apps ";
|
# extraConfig = {
|
||||||
display-run = " Run ";
|
# modi = "run,drun,window";
|
||||||
display-window = " Window";
|
# icon-theme = "Oranchelo";
|
||||||
display-Network = " Network";
|
# show-icons = true;
|
||||||
sidebar-mode = 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;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user