Add rtprio, change the waybar and simplify apps
This commit is contained in:
parent
a589e07a6c
commit
590430f296
|
@ -6,9 +6,9 @@
|
|||
};
|
||||
|
||||
config.displays = {
|
||||
d1 = "DP-2";
|
||||
d2 = "DP-3";
|
||||
d3 = "DP-1";
|
||||
d1 = "DP-1";
|
||||
d2 = "DP-2";
|
||||
d3 = "DP-3";
|
||||
d4 = "HDMI-A-1";
|
||||
dI = "eDP-1";
|
||||
};
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
pane_icon_size=16
|
||||
thumbnail_size=128
|
||||
show_thumbnail=1
|
||||
shadow_hidden=1
|
||||
shadow_hidden=0
|
||||
|
||||
[places]
|
||||
places_home=1
|
||||
|
|
|
@ -128,9 +128,9 @@
|
|||
(pkgs.writeScriptBin "rofiscripts" ''
|
||||
# Scratchpad function
|
||||
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
|
||||
Gotop) foot -a gotop -T Gotop gotop;;
|
||||
Btop) foot -a btop -T Btop btop;;
|
||||
Music) foot -a music -T Music ncmpcpp;;
|
||||
Sound) foot -a sound -T Sound pulsemixer;;
|
||||
EasyEffects) easyeffects;;
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
vesktop
|
||||
fractal
|
||||
telegram-desktop
|
||||
];
|
||||
}
|
|
@ -2,7 +2,6 @@
|
|||
{
|
||||
imports = [
|
||||
./avtools
|
||||
./chat
|
||||
./gaming
|
||||
./general
|
||||
./headless
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
vesktop
|
||||
fractal
|
||||
telegram-desktop
|
||||
libreoffice
|
||||
bc
|
||||
];
|
||||
|
|
|
@ -142,7 +142,6 @@
|
|||
icon-size = 19;
|
||||
icon-spacing = 3;
|
||||
tooltip = true;
|
||||
tooltip-format = "Gamemode On";
|
||||
};
|
||||
|
||||
privacyModule = {
|
||||
|
@ -410,11 +409,17 @@
|
|||
background: #${config.look.colors.light};
|
||||
}
|
||||
#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;
|
||||
}
|
||||
#custom-clock-long, #custom-clock-short {
|
||||
margin: 0 2px 0 2px;
|
||||
}
|
||||
#cpu {
|
||||
border-bottom: 3px solid #f90000;
|
||||
}
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
hide_edge_borders --i3 smart
|
||||
titlebar_padding 10 1
|
||||
primary_selection disabled
|
||||
mouse_warping container
|
||||
|
||||
# Include extra window icons
|
||||
include ${pkgs.fetchurl {
|
||||
|
|
|
@ -4,5 +4,6 @@
|
|||
./apparmor
|
||||
./doas
|
||||
./polkit
|
||||
./rtprio
|
||||
];
|
||||
}
|
||||
|
|
11
modules/system/programs/security/rtprio/default.nix
Normal file
11
modules/system/programs/security/rtprio/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ ... }:
|
||||
{
|
||||
security.pam.loginLimits = [
|
||||
{
|
||||
domain = "@users";
|
||||
item = "rtprio";
|
||||
type = "-";
|
||||
value = 1;
|
||||
}
|
||||
];
|
||||
}
|
|
@ -8,7 +8,22 @@
|
|||
vt = 2;
|
||||
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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue