mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 07:08:12 +09:00
remove app list
This commit is contained in:
@@ -86,7 +86,10 @@ in
|
|||||||
"cpu-graph"
|
"cpu-graph"
|
||||||
"ram"
|
"ram"
|
||||||
];
|
];
|
||||||
center = [ "workspaces" ];
|
center = [
|
||||||
|
"app-launcher"
|
||||||
|
"workspaces"
|
||||||
|
];
|
||||||
end = [
|
end = [
|
||||||
"media"
|
"media"
|
||||||
"spacer"
|
"spacer"
|
||||||
@@ -104,6 +107,12 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
widget = {
|
widget = {
|
||||||
|
app-launcher = {
|
||||||
|
type = "custom_button";
|
||||||
|
glyph = "apps";
|
||||||
|
command = "vicinae toggle";
|
||||||
|
tooltip = "Applications";
|
||||||
|
};
|
||||||
cpu = {
|
cpu = {
|
||||||
type = "sysmon";
|
type = "sysmon";
|
||||||
stat = "cpu_usage";
|
stat = "cpu_usage";
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
{ lib, pkgs, ... }:
|
|
||||||
let
|
|
||||||
nwgDrawer = lib.getExe pkgs.nwg-drawer;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home.packages = [ pkgs.nwg-drawer ];
|
|
||||||
|
|
||||||
# Keep the application grid resident so touchpad gestures can show it
|
|
||||||
# immediately instead of rebuilding the desktop-entry cache each time.
|
|
||||||
systemd.user.services.nwg-drawer = {
|
|
||||||
Unit = {
|
|
||||||
Description = "Resident nwg-drawer application grid";
|
|
||||||
Documentation = [ "https://github.com/nwg-piotr/nwg-drawer" ];
|
|
||||||
PartOf = [ "graphical-session.target" ];
|
|
||||||
After = [ "graphical-session.target" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
Service = {
|
|
||||||
# Use niri's spawn action when available; nwg-drawer falls back to a
|
|
||||||
# direct launch under labwc.
|
|
||||||
ExecStart = "${nwgDrawer} -r -ovl -wm niri -closebtn right -fm nautilus -term ghostty";
|
|
||||||
Restart = "on-failure";
|
|
||||||
RestartSec = 2;
|
|
||||||
};
|
|
||||||
|
|
||||||
Install.WantedBy = [ "graphical-session.target" ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
description = "Full-screen Wayland application drawer";
|
|
||||||
}
|
|
||||||
@@ -50,9 +50,8 @@ when removing it from any supported host would make that host invalid.
|
|||||||
Select independent concerns independently in `hosts/default.nix`. For example,
|
Select independent concerns independently in `hosts/default.nix`. For example,
|
||||||
a NixOS desktop can combine `interface.labwc` and `interface.niri` to provide
|
a NixOS desktop can combine `interface.labwc` and `interface.niri` to provide
|
||||||
both sessions while sharing `interface.linux-desktop` and `interface.gui`.
|
both sessions while sharing `interface.linux-desktop` and `interface.gui`.
|
||||||
The shared Linux desktop profile provides the resident application drawer and
|
The shared Linux desktop profile provides the common desktop applications; both
|
||||||
four-finger pinch gesture service; both session profiles select ly. A
|
session profiles select ly. A daily-use macOS development machine can combine `interface.macos`,
|
||||||
daily-use macOS development machine can combine `interface.macos`,
|
|
||||||
`workload.development`, and `workload.personal`. Hardware support does not
|
`workload.development`, and `workload.personal`. Hardware support does not
|
||||||
implicitly select an interface or workload.
|
implicitly select an interface or workload.
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
"applications.gtk"
|
"applications.gtk"
|
||||||
"applications.nautilus"
|
"applications.nautilus"
|
||||||
"hardwares.graphics"
|
"hardwares.graphics"
|
||||||
"services.fusuma"
|
|
||||||
"systems.audio"
|
"systems.audio"
|
||||||
"systems.fonts"
|
"systems.fonts"
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,44 +0,0 @@
|
|||||||
{ lib, pkgs, ... }:
|
|
||||||
let
|
|
||||||
fusuma = lib.getExe pkgs.fusuma;
|
|
||||||
nwgDrawer = lib.getExe pkgs.nwg-drawer;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home.packages = [ pkgs.fusuma ];
|
|
||||||
|
|
||||||
xdg.configFile."fusuma/config.yml".text = ''
|
|
||||||
pinch:
|
|
||||||
4:
|
|
||||||
in:
|
|
||||||
command: "${nwgDrawer} -open"
|
|
||||||
out:
|
|
||||||
command: "${nwgDrawer} -close"
|
|
||||||
|
|
||||||
threshold:
|
|
||||||
pinch: 0.5
|
|
||||||
|
|
||||||
interval:
|
|
||||||
pinch: 0.5
|
|
||||||
'';
|
|
||||||
|
|
||||||
systemd.user.services.fusuma = {
|
|
||||||
Unit = {
|
|
||||||
Description = "Fusuma multitouch gesture recognizer";
|
|
||||||
Documentation = [ "https://github.com/iberianpig/fusuma" ];
|
|
||||||
Requires = [ "nwg-drawer.service" ];
|
|
||||||
PartOf = [ "graphical-session.target" ];
|
|
||||||
After = [
|
|
||||||
"graphical-session.target"
|
|
||||||
"nwg-drawer.service"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
Service = {
|
|
||||||
ExecStart = fusuma;
|
|
||||||
Restart = "on-failure";
|
|
||||||
RestartSec = 3;
|
|
||||||
};
|
|
||||||
|
|
||||||
Install.WantedBy = [ "graphical-session.target" ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
description = "Touchpad gesture recognition for Wayland sessions";
|
|
||||||
|
|
||||||
includes = [ "applications.nwg-drawer" ];
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{ primaryUser, ... }:
|
|
||||||
{
|
|
||||||
# Fusuma reads raw touchpad events through libinput.
|
|
||||||
users.users.${primaryUser}.extraGroups = [ "input" ];
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user