cleaned dead config
This commit is contained in:
parent
5bae6c9d0e
commit
4d8cb7e83d
15 changed files with 87 additions and 147 deletions
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
programs.eww = {
|
||||
enable=false;
|
||||
configDir=../../dotfiles/eww;
|
||||
};
|
||||
}
|
||||
|
|
@ -5,6 +5,9 @@
|
|||
extraConfig = ''
|
||||
bind = SUPER, Return, exec, alacritty
|
||||
bind = CONTROL_SHIFT, W, exec, firefox
|
||||
bind = CONTROL_SHIFT, Lm, exec, rofi -show drun
|
||||
exec-once=/usr/lib/polkit-kde-authentication-agent-1
|
||||
exec-once=waybar
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,5 @@
|
|||
programs.starship = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
enableNushellIntegration = false;
|
||||
};
|
||||
}
|
||||
|
|
@ -2,6 +2,6 @@
|
|||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
tray.enable = true;
|
||||
tray.enable = false;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, lib, ...}:
|
||||
{ pkgs, config, lib, ...}:
|
||||
{
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
|
|
@ -7,22 +7,19 @@
|
|||
main_bar = {
|
||||
layer = "top";
|
||||
modules-left = [
|
||||
"custom/launcher"
|
||||
"cpu"
|
||||
"memory"
|
||||
"custom/media"
|
||||
"tray"
|
||||
];
|
||||
modules-center = [];
|
||||
modules-center = [
|
||||
"clock"
|
||||
];
|
||||
modules-right = [
|
||||
"custom/updates"
|
||||
"custom/wallpaper"
|
||||
"backlight"
|
||||
"custom/pw-volume"
|
||||
"clock"
|
||||
"battery"
|
||||
"custom/power"
|
||||
];
|
||||
|
||||
"custom/pipewire" = {
|
||||
"exec" = "pw-volume status";
|
||||
"return-type" = "json";
|
||||
|
|
@ -85,39 +82,6 @@
|
|||
"format" = " {}%";
|
||||
"max-length" = 10;
|
||||
};
|
||||
"custom/media" = {
|
||||
"interval" = 30;
|
||||
"format" = "{icon} {}";
|
||||
"return-type" = "json";
|
||||
"max-length" = 20;
|
||||
"format-icons" = {
|
||||
"spotify" = " ";
|
||||
"default" = " ";
|
||||
};
|
||||
"escape" = true;
|
||||
"exec" = "$HOME/.config/system_scripts/mediaplayer.py 2> /dev/null";
|
||||
"on-click" = "playerctl play-pause";
|
||||
};
|
||||
"custom/launcher" = {
|
||||
"format" = " ";
|
||||
"on-click" = "rofi -show drun";
|
||||
"on-click-right" = "killall rofi";
|
||||
};
|
||||
"custom/power" = {
|
||||
"format" = " ";
|
||||
"on-click" = "bash ~/.config/rofi/leave/leave.sh";
|
||||
};
|
||||
"custom/updates" = {
|
||||
"format" = "{} Update(s)";
|
||||
"exec" = "checkupdates | wc -l";
|
||||
"exec-if" = "[[ $(checkupdates | wc -l) != 0 ]]";
|
||||
"interval" = 15;
|
||||
"on-click" = "alacritty -e paru -Syu && notify-send 'The system has been updated' ";
|
||||
};
|
||||
"custom/wallpaper" = {
|
||||
"format" = " ";
|
||||
"on-click" = "bash ~/.config/system_scripts/pkill_bc";
|
||||
};
|
||||
};
|
||||
};
|
||||
style = ''
|
||||
|
|
@ -253,68 +217,6 @@
|
|||
color: #B5E8E0;
|
||||
background: #161320;
|
||||
}
|
||||
|
||||
#custom-launcher {
|
||||
font-size: 24px;
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 5px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #89DCEB;
|
||||
background: #161320;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
font-size: 20px;
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
margin-right: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 5px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #161320;
|
||||
background: #F28FAD;
|
||||
}
|
||||
|
||||
#custom-wallpaper {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #161320;
|
||||
background: #C9CBFF;
|
||||
}
|
||||
|
||||
#custom-updates {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #161320;
|
||||
background: #E8A2AF;
|
||||
}
|
||||
|
||||
#custom-media {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #161320;
|
||||
background: #F2CDCD;
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
@ -3,6 +3,5 @@
|
|||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableZshIntegration = lib.mkDefault true;
|
||||
# enableNushellIntegration = false;
|
||||
};
|
||||
}
|
||||
|
|
@ -14,12 +14,10 @@
|
|||
ls = "exa -l";
|
||||
lsa = "exa -al";
|
||||
cd = "z";
|
||||
osrb = "sudo nixos-rebuild $1 --flake ~/code/nix/nixos-config/#creatorforge-framework";
|
||||
osrb = "sudo nixos-rebuild $1 --flake ~/code/nixos-config/#katana";
|
||||
zel = "zellij -s";
|
||||
ns = "nix-shell";
|
||||
top = "btm";
|
||||
hx = "hx";
|
||||
cat = "bat";
|
||||
cat = "bat --decorations=never";
|
||||
extract = "~/.config/zsh/extract.sh";
|
||||
};
|
||||
localVariables = {
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
gnomeExtensions.dock-from-dash
|
||||
gnomeExtensions.pop-shell
|
||||
gnome.gnome-tweaks
|
||||
gnome-extension-manager
|
||||
];
|
||||
|
||||
services = {
|
||||
gnome = {
|
||||
core-utilities.enable = false;
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
xwayland.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
xdg= {
|
||||
xdg = {
|
||||
portal = { enable = lib.mkDefault true; };
|
||||
mime.defaultApplications = {
|
||||
"text/markdown" = "hx";
|
||||
|
|
|
|||
|
|
@ -1,11 +1,29 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
libsForQt5.polkit-kde-agent
|
||||
libsForQt5.qt5.qtwayland
|
||||
qt6.qtwayland
|
||||
waybar
|
||||
swww
|
||||
pw-volume
|
||||
];
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
nvidiaPatches = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
libsForQt5.polkit-kde-agent
|
||||
libsForQt5.qt5.qtwayland
|
||||
qt6.qtwayland
|
||||
waybar
|
||||
swww
|
||||
pw-volume
|
||||
rofi-wayland
|
||||
libnotify
|
||||
mako
|
||||
];
|
||||
sessionVariables = {
|
||||
WLR_NO_HARDWARE_CURSORS = "1";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
};
|
||||
hardware = {
|
||||
# opengl.enable = true;
|
||||
nvidia.modesetting.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
inputs.nixpkgs-wayland.packages.${system}.wayfire-unstable
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue