Add rtprio, change the waybar and simplify apps

This commit is contained in:
Jimbo 2024-12-06 17:49:20 -05:00
parent a589e07a6c
commit 590430f296
11 changed files with 46 additions and 19 deletions

View file

@ -6,9 +6,9 @@
}; };
config.displays = { config.displays = {
d1 = "DP-2"; d1 = "DP-1";
d2 = "DP-3"; d2 = "DP-2";
d3 = "DP-1"; d3 = "DP-3";
d4 = "HDMI-A-1"; d4 = "HDMI-A-1";
dI = "eDP-1"; dI = "eDP-1";
}; };

View file

@ -67,7 +67,7 @@
pane_icon_size=16 pane_icon_size=16
thumbnail_size=128 thumbnail_size=128
show_thumbnail=1 show_thumbnail=1
shadow_hidden=1 shadow_hidden=0
[places] [places]
places_home=1 places_home=1

View file

@ -128,9 +128,9 @@
(pkgs.writeScriptBin "rofiscripts" '' (pkgs.writeScriptBin "rofiscripts" ''
# Scratchpad function # Scratchpad function
scratchpads() { scratchpads() {
SCRATCHPADS=$(echo -e "Gotop\nMusic\nSound\nEasyEffects" | rofi -dmenu -i -p "Scratchpads") SCRATCHPADS=$(echo -e "Btop\nMusic\nSound\nEasyEffects" | rofi -dmenu -i -p "Scratchpads")
case $SCRATCHPADS in case $SCRATCHPADS in
Gotop) foot -a gotop -T Gotop gotop;; Btop) foot -a btop -T Btop btop;;
Music) foot -a music -T Music ncmpcpp;; Music) foot -a music -T Music ncmpcpp;;
Sound) foot -a sound -T Sound pulsemixer;; Sound) foot -a sound -T Sound pulsemixer;;
EasyEffects) easyeffects;; EasyEffects) easyeffects;;

View file

@ -1,8 +0,0 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
vesktop
fractal
telegram-desktop
];
}

View file

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
./avtools ./avtools
./chat
./gaming ./gaming
./general ./general
./headless ./headless

View file

@ -1,6 +1,9 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
vesktop
fractal
telegram-desktop
libreoffice libreoffice
bc bc
]; ];

View file

@ -142,7 +142,6 @@
icon-size = 19; icon-size = 19;
icon-spacing = 3; icon-spacing = 3;
tooltip = true; tooltip = true;
tooltip-format = "Gamemode On";
}; };
privacyModule = { privacyModule = {
@ -410,11 +409,17 @@
background: #${config.look.colors.light}; background: #${config.look.colors.light};
} }
#scratchpad { #scratchpad {
margin-left: 2px; margin-left: 4px;
} }
#cpu, #memory, #custom-vram, #mpd, #custom-clock-long, #custom-clock-short, #backlight, #battery, #custom-weather, #custom-weather2, #custom-notifs { #privacy {
margin-left: 4px;
}
#cpu, #memory, #custom-vram, #mpd, #backlight, #battery, #custom-weather, #custom-weather2, #custom-notifs {
margin: 0 5px 0 2px; margin: 0 5px 0 2px;
} }
#custom-clock-long, #custom-clock-short {
margin: 0 2px 0 2px;
}
#cpu { #cpu {
border-bottom: 3px solid #f90000; border-bottom: 3px solid #f90000;
} }

View file

@ -20,6 +20,7 @@
hide_edge_borders --i3 smart hide_edge_borders --i3 smart
titlebar_padding 10 1 titlebar_padding 10 1
primary_selection disabled primary_selection disabled
mouse_warping container
# Include extra window icons # Include extra window icons
include ${pkgs.fetchurl { include ${pkgs.fetchurl {

View file

@ -4,5 +4,6 @@
./apparmor ./apparmor
./doas ./doas
./polkit ./polkit
./rtprio
]; ];
} }

View file

@ -0,0 +1,11 @@
{ ... }:
{
security.pam.loginLimits = [
{
domain = "@users";
item = "rtprio";
type = "-";
value = 1;
}
];
}

View file

@ -8,7 +8,22 @@
vt = 2; vt = 2;
switch = true; switch = true;
}; };
default_session.command = "${pkgs.greetd.tuigreet}/bin/tuigreet"; default_session.command = ''
${pkgs.greetd.tuigreet}/bin/tuigreet --remember --remember-user-session --user-menu --asterisks --sessions /etc/greetd/environments
'';
}; };
}; };
environment.etc = {
"greetd/environments/sway.desktop".text = ''
[Desktop Entry]
Name=Sway
Exec=sway --unsupported-gpu
'';
"greetd/environments/niri.desktop".text = ''
[Desktop Entry]
Name=Niri
Exec=niri-session
'';
};
} }