Miscellaneous desktop stuff
This commit is contained in:
parent
6790e3ac3b
commit
4a107f660c
8 changed files with 45 additions and 15 deletions
|
@ -204,7 +204,7 @@ window {
|
||||||
}
|
}
|
||||||
|
|
||||||
.hostname {
|
.hostname {
|
||||||
font-weight: 600;
|
font-weight: 500;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
color: rgba(255, 255, 255, 0.6);
|
color: rgba(255, 255, 255, 0.6);
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
|
@ -213,7 +213,7 @@ window {
|
||||||
.workspace-button-big {
|
.workspace-button-big {
|
||||||
color: white;
|
color: white;
|
||||||
font-family: "sans-serif";
|
font-family: "sans-serif";
|
||||||
font-weight: 400;
|
font-weight: 500;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ window {
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-name {
|
.workspace-name {
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -238,7 +238,7 @@ window {
|
||||||
.system-stats-title {
|
.system-stats-title {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.currently-playing-big {
|
.currently-playing-big {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Application } from "./application.js";
|
import { Application } from "./application.js";
|
||||||
import { on_window_event } from "../../state.js";
|
import { on_window_event } from "../../state.js";
|
||||||
const { query } = await Service.import("applications");
|
const { query, reload } = await Service.import("applications");
|
||||||
|
|
||||||
const Launcher = () => {
|
const Launcher = () => {
|
||||||
let applications = query("").map(Application);
|
let applications = query("").map(Application);
|
||||||
|
@ -13,6 +13,7 @@ const Launcher = () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
function repopulate() {
|
function repopulate() {
|
||||||
|
reload();
|
||||||
applications = query("").map(Application);
|
applications = query("").map(Application);
|
||||||
list.children = applications;
|
list.children = applications;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
./cursor.nix
|
./cursor.nix
|
||||||
./dunst.nix
|
./dunst.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./lf.nix
|
|
||||||
./gtk.nix
|
./gtk.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./sway.nix
|
./sway.nix
|
||||||
|
./qt.nix
|
||||||
];
|
];
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
@ -15,6 +15,7 @@
|
||||||
fastfetch
|
fastfetch
|
||||||
inkscape
|
inkscape
|
||||||
kdePackages.ark
|
kdePackages.ark
|
||||||
|
kdePackages.qtwayland
|
||||||
libreoffice-qt
|
libreoffice-qt
|
||||||
obs-studio
|
obs-studio
|
||||||
picard
|
picard
|
||||||
|
@ -23,6 +24,7 @@
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
nsxiv
|
nsxiv
|
||||||
osu-lazer-bin
|
osu-lazer-bin
|
||||||
|
pcmanfm-qt
|
||||||
playerctl
|
playerctl
|
||||||
prismlauncher
|
prismlauncher
|
||||||
qbittorrent
|
qbittorrent
|
||||||
|
@ -32,6 +34,8 @@
|
||||||
element-desktop
|
element-desktop
|
||||||
vesktop
|
vesktop
|
||||||
swww
|
swww
|
||||||
|
lxqt.lxqt-policykit
|
||||||
|
qdiskinfo
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
services.dunst = {
|
services.dunst = {
|
||||||
enable = true;
|
enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
timeout = 3;
|
timeout = 3;
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
"ctrl+alt+9" = "goto_tab 9";
|
"ctrl+alt+9" = "goto_tab 9";
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
"background_opacity" = "0.6";
|
"background_opacity" = "0.85";
|
||||||
"dynamic_background_opacity" = true;
|
"dynamic_background_opacity" = true;
|
||||||
"force_ltr" = "yes";
|
"force_ltr" = "yes";
|
||||||
"disable_ligatures" = "never";
|
"disable_ligatures" = "never";
|
||||||
|
@ -32,6 +32,6 @@
|
||||||
"tab_title_template" =
|
"tab_title_template" =
|
||||||
"{title}{' :{}:'.format(num_windows) if num_windows > 1 else ''}";
|
"{title}{' :{}:'.format(num_windows) if num_windows > 1 else ''}";
|
||||||
};
|
};
|
||||||
theme = "Tokyo Night";
|
themeFile = "Catppuccin-Mocha";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
programs.lf = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
29
hosts/totsugeki/home-manager/desktop/qt.nix
Normal file
29
hosts/totsugeki/home-manager/desktop/qt.nix
Normal 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}";
|
||||||
|
};
|
||||||
|
}
|
|
@ -57,6 +57,7 @@ in {
|
||||||
"${Super}+Shift+0" = "move container to workspace number 10";
|
"${Super}+Shift+0" = "move container to workspace number 10";
|
||||||
# Window management
|
# Window management
|
||||||
"${Super}+W" = "kill";
|
"${Super}+W" = "kill";
|
||||||
|
"${Super}+E" = "exec pcmanfm-qt";
|
||||||
"${Super}+${cfg.left}" = "focus left";
|
"${Super}+${cfg.left}" = "focus left";
|
||||||
"${Super}+${cfg.right}" = "focus right";
|
"${Super}+${cfg.right}" = "focus right";
|
||||||
"${Super}+${cfg.up}" = "focus up";
|
"${Super}+${cfg.up}" = "focus up";
|
||||||
|
@ -109,6 +110,7 @@ in {
|
||||||
{ command = "swww-daemon"; }
|
{ command = "swww-daemon"; }
|
||||||
{ command = "autotiling"; }
|
{ command = "autotiling"; }
|
||||||
{ command = "ags"; }
|
{ command = "ags"; }
|
||||||
|
{ command = "lxqt-policykit-agent"; }
|
||||||
];
|
];
|
||||||
terminal = "kitty";
|
terminal = "kitty";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue