ghostty, wlogout, xwayland
This commit is contained in:
parent
353499a037
commit
6337ffc3b4
12 changed files with 206 additions and 116 deletions
|
@ -68,8 +68,8 @@ in
|
|||
];
|
||||
"Mod+F".action.spawn = "firefox";
|
||||
"Mod+E".action.spawn = "nautilus";
|
||||
"Mod+Return".action.spawn = "kitty";
|
||||
"Mod+Shift+E".action.spawn = "wleave";
|
||||
"Mod+Return".action.spawn = "ghostty";
|
||||
"Mod+Shift+E".action.spawn = "wlogout";
|
||||
"Mod+Equal".action.spawn = "bitwarden";
|
||||
"Mod+Shift+Q".action = actions.close-window;
|
||||
"Mod+Shift+S".action = actions.screenshot;
|
||||
|
|
|
@ -14,5 +14,8 @@
|
|||
icon = ../assets/fb_msg.png;
|
||||
};
|
||||
};
|
||||
hm.home.packages = [ pkgs.cinny-desktop ];
|
||||
hm.home.packages = [
|
||||
pkgs.cinny-desktop
|
||||
pkgs.zoom-us
|
||||
];
|
||||
}
|
||||
|
|
|
@ -6,11 +6,12 @@
|
|||
let
|
||||
inherit (config) rice;
|
||||
pal = rice.palette.hex;
|
||||
pkg = pkgs.wlogout;
|
||||
in
|
||||
{
|
||||
hm.programs.wlogout = {
|
||||
enable = true;
|
||||
package = pkgs.wleave;
|
||||
package = pkg;
|
||||
layout = builtins.fromJSON (builtins.readFile ./logout/layout);
|
||||
style =
|
||||
with pal;
|
||||
|
@ -25,8 +26,8 @@ in
|
|||
"#WINLOGO"
|
||||
]
|
||||
[
|
||||
"${pkgs.wlogout}/share/wlogout"
|
||||
"${pkgs.wlogout}/etc/wlogout"
|
||||
"${pkg}/share/wlogout"
|
||||
"${pkg}/etc/wlogout"
|
||||
util.bg
|
||||
bright.yellow
|
||||
util.bg
|
||||
|
@ -41,5 +42,5 @@ in
|
|||
);
|
||||
};
|
||||
|
||||
hm.home.packages = [ pkgs.wleave ];
|
||||
hm.home.packages = [ pkg ];
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
networking.networkmanager.enable = true;
|
||||
systemd.services.NetworkManager-wait-online.enable = true;
|
||||
|
@ -12,4 +12,9 @@
|
|||
dnssec = "false";
|
||||
};
|
||||
services.mullvad-vpn.enable = true;
|
||||
|
||||
environment.systemPackages = [ pkgs.ciscoPacketTracer8 ];
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"libxml2-2.13.8"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
};
|
||||
monospace = {
|
||||
name = "Fira Code";
|
||||
size = 10;
|
||||
size = 11;
|
||||
package = pkgs.fira-code;
|
||||
};
|
||||
emoji = {
|
||||
|
|
|
@ -41,7 +41,6 @@ in
|
|||
|
||||
hm.quickServices = {
|
||||
"swaync" = "${getExe pkgs.swaynotificationcenter}";
|
||||
"swaybg" = "${getExe pkgs.swaybg} -m fill -i ${rice.bg.src}";
|
||||
"swayidle" =
|
||||
let
|
||||
niri = inputs.niri.packages.${pkgs.system}.niri-unstable;
|
||||
|
|
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 2.7 MiB |
|
@ -11,6 +11,30 @@ import QtQuick
|
|||
import QtQuick.Controls
|
||||
|
||||
ShellRoot {
|
||||
|
||||
// bg
|
||||
Variants {
|
||||
model: Quickshell.screens.filter(s => s.name == "DP-2")
|
||||
delegate: PanelWindow {
|
||||
id: bg
|
||||
anchors {
|
||||
top: true
|
||||
bottom: true
|
||||
left: true
|
||||
right: true
|
||||
}
|
||||
exclusionMode: ExclusionMode.Ignore
|
||||
WlrLayershell.layer: WlrLayer.Bottom
|
||||
|
||||
Image {
|
||||
asynchronous: true
|
||||
width: 2560
|
||||
height: 1440
|
||||
source: "assets/wallpaper.jpg"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// rhs main
|
||||
Variants {
|
||||
model: Quickshell.screens.filter(s => s.name == "DP-2")
|
||||
|
|
|
@ -1,41 +1,92 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
hm.programs.kitty =
|
||||
# hm.programs.kitty =
|
||||
# let
|
||||
# inherit (config) rice;
|
||||
# in
|
||||
# {
|
||||
# enable = true;
|
||||
# font = {
|
||||
# inherit (rice.fonts.monospace) name size;
|
||||
# };
|
||||
# settings = with rice.palette.hex; {
|
||||
# foreground = util.fg;
|
||||
# background = util.bg;
|
||||
# inherit (util) cursor;
|
||||
# cursor_text = util.bg;
|
||||
# selection_foreground = util.fg_sel;
|
||||
# selection_background = util.bg_sel;
|
||||
# color0 = normal.black;
|
||||
# color1 = normal.red;
|
||||
# color2 = normal.green;
|
||||
# color3 = normal.yellow;
|
||||
# color4 = normal.blue;
|
||||
# color5 = normal.magenta;
|
||||
# color6 = normal.cyan;
|
||||
# color7 = normal.white;
|
||||
# color8 = bright.black;
|
||||
# color9 = bright.red;
|
||||
# color10 = bright.green;
|
||||
# color11 = bright.yellow;
|
||||
# color12 = bright.blue;
|
||||
# color13 = bright.magenta;
|
||||
# color14 = bright.cyan;
|
||||
# color15 = bright.white;
|
||||
# sync_to_monitor = "yes";
|
||||
# shell = "fish";
|
||||
# cursor_trail = 100;
|
||||
# };
|
||||
# };
|
||||
|
||||
hm.programs.ghostty =
|
||||
let
|
||||
inherit (config) rice;
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
font = {
|
||||
inherit (rice.fonts.monospace) name size;
|
||||
};
|
||||
settings = with rice.palette.hex; {
|
||||
foreground = util.fg;
|
||||
background = util.bg;
|
||||
inherit (util) cursor;
|
||||
cursor_text = util.bg;
|
||||
selection_foreground = util.fg_sel;
|
||||
selection_background = util.bg_sel;
|
||||
color0 = normal.black;
|
||||
color1 = normal.red;
|
||||
color2 = normal.green;
|
||||
color3 = normal.yellow;
|
||||
color4 = normal.blue;
|
||||
color5 = normal.magenta;
|
||||
color6 = normal.cyan;
|
||||
color7 = normal.white;
|
||||
color8 = bright.black;
|
||||
color9 = bright.red;
|
||||
color10 = bright.green;
|
||||
color11 = bright.yellow;
|
||||
color12 = bright.blue;
|
||||
color13 = bright.magenta;
|
||||
color14 = bright.cyan;
|
||||
color15 = bright.white;
|
||||
sync_to_monitor = "yes";
|
||||
shell = "fish";
|
||||
cursor_trail = 100;
|
||||
installBatSyntax = true;
|
||||
enableFishIntegration = true;
|
||||
clearDefaultKeybinds = false;
|
||||
|
||||
themes.rice =
|
||||
let
|
||||
inherit (rice.palette.shortHex) util;
|
||||
inherit (rice.palette.hex) normal bright;
|
||||
in
|
||||
{
|
||||
foreground = util.fg;
|
||||
background = util.bg;
|
||||
cursor-color = util.cursor;
|
||||
palette = [
|
||||
"0=${normal.black}"
|
||||
"1=${normal.red}"
|
||||
"2=${normal.green}"
|
||||
"3=${normal.yellow}"
|
||||
"4=${normal.blue}"
|
||||
"5=${normal.magenta}"
|
||||
"6=${normal.cyan}"
|
||||
"7=${normal.white}"
|
||||
"8=${bright.black}"
|
||||
"9=${bright.red}"
|
||||
"10=${bright.green}"
|
||||
"11=${bright.yellow}"
|
||||
"12=${bright.blue}"
|
||||
"13=${bright.magenta}"
|
||||
"14=${bright.cyan}"
|
||||
"15=${bright.white}"
|
||||
];
|
||||
selection-foreground = util.fg_sel;
|
||||
selection-background = util.bg_sel;
|
||||
};
|
||||
settings = {
|
||||
theme = "rice";
|
||||
font-size = rice.fonts.monospace.size;
|
||||
font-family = rice.fonts.monospace.name;
|
||||
window-decoration = "server";
|
||||
gtk-titlebar = false;
|
||||
gtk-single-instance = true;
|
||||
linux-cgroup = "always";
|
||||
gtk-wide-tabs = false;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
mainUser,
|
||||
inputs,
|
||||
config,
|
||||
|
@ -62,6 +63,10 @@ in
|
|||
clip-to-geometry = true;
|
||||
}
|
||||
];
|
||||
xwayland-satellite = {
|
||||
enable = true;
|
||||
path = lib.getExe inputs.niri.packages.${pkgs.system}.xwayland-satellite-unstable;
|
||||
};
|
||||
};
|
||||
|
||||
services.greetd = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue