remove old niri stuff and use xwl satellite again
This commit is contained in:
parent
d99782af05
commit
e8c92c9d3c
7 changed files with 7 additions and 76 deletions
|
@ -6,7 +6,6 @@
|
|||
}: let
|
||||
inherit (lib) mkIf mkForce;
|
||||
inherit (config) conf;
|
||||
mkXwlWrapper = import ../niri/xwl-wrapper.nix;
|
||||
time = pkgs.makeDesktopItem {
|
||||
name = "peaclock-desktop";
|
||||
desktopName = "Time";
|
||||
|
@ -94,16 +93,10 @@ in
|
|||
fractal
|
||||
element-desktop
|
||||
papers
|
||||
prusa-slicer
|
||||
]
|
||||
++ [
|
||||
time
|
||||
]
|
||||
++ [
|
||||
(mkXwlWrapper {
|
||||
pkgs = pkgs;
|
||||
name = "Prusa";
|
||||
pkg = "prusa-slicer";
|
||||
})
|
||||
];
|
||||
|
||||
file = {
|
||||
|
|
|
@ -37,8 +37,8 @@ in
|
|||
|
||||
home-manager.users.${conf.username} = {
|
||||
home.packages = with pkgs; [
|
||||
swayidle
|
||||
wl-clipboard
|
||||
xwayland-satellite
|
||||
];
|
||||
|
||||
services.swayosd = {
|
||||
|
|
|
@ -127,8 +127,13 @@ in {
|
|||
|
||||
hotkey-overlay.skip-at-startup = true;
|
||||
|
||||
environment = {
|
||||
DISPLAY = ":3";
|
||||
};
|
||||
|
||||
spawn-at-startup = [
|
||||
{command = ["waybar"];}
|
||||
{command = ["xwayland-satellite" ":3"];}
|
||||
];
|
||||
|
||||
binds = {
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
{config, ...}: let
|
||||
base = config.theme.base;
|
||||
surface = config.theme.surface;
|
||||
text = config.theme.text;
|
||||
in {
|
||||
style = ''
|
||||
[General]
|
||||
# Password mask character
|
||||
passwordCharacter=*
|
||||
# Mask password characters or not ("true" or "false")
|
||||
passwordMask=true
|
||||
# value "1" is all display width, "0.5" is a half of display width etc.
|
||||
passwordInputWidth=0.5
|
||||
# Background color of password input
|
||||
passwordInputBackground=${surface}
|
||||
# Radius of password input corners
|
||||
passwordInputRadius=8
|
||||
# "true" for visible cursor, "false"
|
||||
passwordInputCursorVisible=false
|
||||
# Font size of password (in points)
|
||||
passwordFontSize=96
|
||||
passwordCursorColor=${text}
|
||||
passwordTextColor=
|
||||
|
||||
# Show or not sessions choose label
|
||||
showSessionsByDefault=false
|
||||
# Font size of sessions choose label (in points).
|
||||
sessionsFontSize=24
|
||||
|
||||
# Show or not users choose label
|
||||
showUsersByDefault=false
|
||||
# Font size of users choose label (in points)
|
||||
usersFontSize=48
|
||||
|
||||
# Path to background image
|
||||
background=
|
||||
# Or use just one color
|
||||
backgroundFill=${base}
|
||||
backgroundFillMode=aspect
|
||||
|
||||
# Default text color for all labels
|
||||
basicTextColor=${text}
|
||||
|
||||
# Radius of background blur
|
||||
blurRadius=
|
||||
'';
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 66 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.8 MiB |
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
name,
|
||||
pkg ? name,
|
||||
exe ? pkg,
|
||||
...
|
||||
}: let
|
||||
inherit (pkgs.lib) concatStrings;
|
||||
config = pkgs.writeTextFile {
|
||||
name = concatStrings ["i3-config" name];
|
||||
text = ''
|
||||
exec ${pkgs.${pkg}}/bin/${exe}
|
||||
'';
|
||||
};
|
||||
in
|
||||
pkgs.makeDesktopItem {
|
||||
name = name;
|
||||
desktopName = name;
|
||||
exec = "${pkgs.xwayland-run}/bin/xwayland-run -- ${pkgs.i3}/bin/i3 -c ${config}";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue