1
0
Fork 0

Miscellaneous desktop stuff

This commit is contained in:
Avery 2024-10-11 21:13:47 +02:00
parent 6790e3ac3b
commit 4a107f660c
Signed by: Avery
GPG key ID: B684FD451B692E04
8 changed files with 45 additions and 15 deletions

View file

@ -204,7 +204,7 @@ window {
}
.hostname {
font-weight: 600;
font-weight: 500;
font-size: 1.1em;
color: rgba(255, 255, 255, 0.6);
font-family: monospace;
@ -213,7 +213,7 @@ window {
.workspace-button-big {
color: white;
font-family: "sans-serif";
font-weight: 400;
font-weight: 500;
padding: 4px 8px;
}
@ -222,7 +222,7 @@ window {
}
.workspace-name {
font-weight: 500;
font-weight: 600;
font-size: 1.2em;
}
@ -238,7 +238,7 @@ window {
.system-stats-title {
font-family: sans-serif;
font-size: 1.2em;
font-weight: 500;
font-weight: 600;
}
.currently-playing-big {

View file

@ -1,6 +1,6 @@
import { Application } from "./application.js";
import { on_window_event } from "../../state.js";
const { query } = await Service.import("applications");
const { query, reload } = await Service.import("applications");
const Launcher = () => {
let applications = query("").map(Application);
@ -13,6 +13,7 @@ const Launcher = () => {
});
function repopulate() {
reload();
applications = query("").map(Application);
list.children = applications;
}

View file

@ -4,10 +4,10 @@
./cursor.nix
./dunst.nix
./firefox.nix
./lf.nix
./gtk.nix
./kitty.nix
./sway.nix
./qt.nix
];
home = {
packages = with pkgs; [
@ -15,6 +15,7 @@
fastfetch
inkscape
kdePackages.ark
kdePackages.qtwayland
libreoffice-qt
obs-studio
picard
@ -23,6 +24,7 @@
noto-fonts-cjk-sans
nsxiv
osu-lazer-bin
pcmanfm-qt
playerctl
prismlauncher
qbittorrent
@ -32,6 +34,8 @@
element-desktop
vesktop
swww
lxqt.lxqt-policykit
qdiskinfo
];
};
nixpkgs.config.allowUnfree = true;

View file

@ -1,6 +1,6 @@
{ ... }: {
services.dunst = {
enable = true;
enable = false;
settings = {
global = {
timeout = 3;

View file

@ -17,7 +17,7 @@
"ctrl+alt+9" = "goto_tab 9";
};
settings = {
"background_opacity" = "0.6";
"background_opacity" = "0.85";
"dynamic_background_opacity" = true;
"force_ltr" = "yes";
"disable_ligatures" = "never";
@ -32,6 +32,6 @@
"tab_title_template" =
"{title}{' :{}:'.format(num_windows) if num_windows > 1 else ''}";
};
theme = "Tokyo Night";
themeFile = "Catppuccin-Mocha";
};
}

View file

@ -1,6 +0,0 @@
{ ... }: {
programs.lf = {
enable = true;
};
}

View file

@ -0,0 +1,29 @@
{ pkgs, ... }:
let
variant = "Mocha";
accent = "Mauve";
catppuccin-kvantum =
pkgs.catppuccin-kvantum.override { inherit variant accent; };
in {
home = {
packages = with pkgs;
[
kdePackages.qtstyleplugin-kvantum
libsForQt5.qtstyleplugin-kvantum
kdePackages.qtsvg
kora-icon-theme
] ++ [ catppuccin-kvantum ];
};
qt = {
enable = true;
platformTheme.name = "qtct";
};
xdg.configFile = {
"Kvantum/kvantum.kvconfig".text = ''
[General]
theme=Catppuccin-${variant}-${accent}
'';
"Kvantum/Catppuccin-${variant}-${accent}".source =
"${catppuccin-kvantum}/share/Kvantum/Catppuccin-${variant}-${accent}";
};
}

View file

@ -57,6 +57,7 @@ in {
"${Super}+Shift+0" = "move container to workspace number 10";
# Window management
"${Super}+W" = "kill";
"${Super}+E" = "exec pcmanfm-qt";
"${Super}+${cfg.left}" = "focus left";
"${Super}+${cfg.right}" = "focus right";
"${Super}+${cfg.up}" = "focus up";
@ -109,6 +110,7 @@ in {
{ command = "swww-daemon"; }
{ command = "autotiling"; }
{ command = "ags"; }
{ command = "lxqt-policykit-agent"; }
];
terminal = "kitty";
};