start working on a gnome setup

This commit is contained in:
ChaotiCryptidz 2022-02-14 14:56:05 +00:00
parent 293794f1c3
commit 960ad1dfc2
9 changed files with 145 additions and 8 deletions

View file

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

View file

@ -0,0 +1,5 @@
{ 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

@ -0,0 +1,99 @@
* {
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

@ -0,0 +1 @@
{...}: {}

View file

@ -1,6 +1,6 @@
{ config, pkgs, lib, tree, ... }: {
# import default terminal
imports = with tree; [ home.apps.kitty ];
imports = with tree; [ home.apps.kitty home.apps.rofi ];
home.sessionVariables = {
XDG_CURRENT_DESKTOP = "sway";
@ -35,7 +35,7 @@
wrapperFeatures.gtk = true;
config = let
terminal = "${pkgs.kitty}/bin/kitty";
menu = "${pkgs.wofi}/bin/wofi -idbt ${pkgs.kitty}/bin/kitty -p '' -W 25%";
menu = "${pkgs.rofi}/bin/rofi -show run";
cfg = config.wayland.windowManager.sway.config;
pactl = "${pkgs.pulseaudio}/bin/pactl";
pacmd = "${pkgs.pulseaudio}/bin/pacmd";
@ -128,7 +128,7 @@
"Shift+Print" = ''
exec ${pkgs.grim}/bin/grim -t png -g "$(${pkgs.slurp}/bin/slurp -d)" - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png'';
"${cfg.modifier}+d" = "exec ${cfg.menu}";
"${cfg.modifier}+d" = "exec ${menu}";
"${cfg.modifier}+f" = "fullscreen";
"${cfg.modifier}+Shift+q" = "kill";

View file

@ -6,8 +6,13 @@
package = pkgs.papirus-icon-theme;
};
theme = {
name = "Adementary-dark";
package = pkgs.adementary-theme;
name = "Nordic";
package = pkgs.nordic;
};
font = {
name = "Comic Code";
size = 16;
package = pkgs.comic-code;
};
};
}

View file

@ -24,6 +24,7 @@
profiles.gui
profiles.gui.environments.sway
profiles.gui.environments.gnome
#profiles.gaming.steam
@ -43,6 +44,7 @@
home.gui
home.gui.environments.sway
home.gui.environment.gnome
#home.gaming.emulators.ds
#home.gaming.games.minecraft

View file

@ -0,0 +1,27 @@
_: {
services.xserver = {
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
environment.gnome.excludePackages = [
pkgs.gnome.cheese
pkgs.gnome-photos
pkgs.gnome.gnome-music
pkgs.gnome.gnome-terminal
pkgs.gnome.gedit
pkgs.epiphany
pkgs.evince
pkgs.gnome.gnome-characters
pkgs.gnome.totem
pkgs.gnome.tali
pkgs.gnome.iagno
pkgs.gnome.hitori
pkgs.gnome.atomix
pkgs.gnome-tour
pkgs.gnome.geary
];
environment.systemPackages = with pkgs; [ gnomeExtensions.appindicator ];
services.udev.packages = with pkgs; [ gnome3.gnome-settings-daemon ];
programs.dconf.enable = true;
}

View file

@ -1,3 +0,0 @@
_: {
}