chore: oxi programs to be compiled

This commit is contained in:
DashieTM 2024-04-18 18:08:46 +02:00
parent 912751b0df
commit 6ddb5d9e6b
21 changed files with 477 additions and 208 deletions

View file

@ -1,6 +1,9 @@
{ pkgs
, lib
, ...
}:
let callPackage = lib.callPackageWith (pkgs);
in
{
manual = {
html.enable = false;
@ -40,6 +43,24 @@
zenith
nh
amberol
(callPackage
../fix/ncspot.nix
{ })
(callPackage
../fix/oxinoti.nix
{ })
(callPackage
../fix/oxidash.nix
{ })
(callPackage
../fix/oxicalc.nix
{ })
(callPackage
../fix/oxipaste.nix
{ })
(callPackage
../fix/oxishut.nix
{ })
];
home.username = "dashie";

View file

@ -27,6 +27,7 @@ in
];
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.dashie.imports = [
{
_module = { args = { inherit inputs; }; };

View file

@ -24,5 +24,6 @@
kooha
hyprcursor
hyprpaper
hyprpicker
];
}

View file

@ -1,40 +1,38 @@
{
xdg.configFile."ncspot/config.toml" = {
text = ''
notify = true
shuffle = true
cover_max_scale = 2
audio_cache_size = 50000
initial_screen = "library"
library_tabs = ["playlists"]
[theme]
background = "#1a1b26"
primary = "#c0caf5"
secondary = "#1a1b26"
title = "#e0af68"
playing = "#7dcfff"
playing_selected = "#73daca"
playing_bg = "#1a1b26"
highlight = "#73daca"
highlight_bg = "#1a1b26"
error = "#c0caf5"
error_bg = "#f7768e"
statusbar = "#24283b"
statusbar_progress = "#73daca"
statusbar_bg = "#7dcfff"
cmdline_bg = "#24283b"
search_match = "#bb9af7"
[keybindings]
"j" = "move left 1"
"k" = "move down 1"
"l" = "move up 1"
";" = "move right 1"
[notification_format]
title = "%artists"
body = "%title"
'';
{ pkgs, ... }: {
xdg.configFile."ncspot/config.toml".source = (pkgs.formats.toml { }).generate "ncspot" {
notify = true;
shuffle = true;
cover_max_scale = 2;
initial_screen = "library";
library_tabs = [ "playlists" ];
theme = {
background = "#1a1b26";
primary = "#9aa5ce";
secondary = "#414868";
title = "#9ece6a";
playing = "#7aa2f7";
playing_selected = "#bb9af7";
playing_bg = "#24283b";
highlight = "#c0caf5";
highlight_bg = "#24283b";
error = "#414868";
error_bg = "#f7768e";
statusbar = "#ff9e64";
statusbar_progress = "#7aa2f7";
statusbar_bg = "#1a1b26";
cmdline = "#c0caf5";
cmdline_bg = "#24283b";
search_match = "#f7768e";
};
keybindings = {
"j" = "move left 1";
"k" = "move down 1";
"l" = "move up 1";
";" = "move right 1";
};
notification_format = {
title = "%artists";
body = "%title";
};
};
}

View file

@ -16,7 +16,7 @@
libreoffice-fresh
pdftk
# spotify
ncspot
#ncspot
# video editing
kdenlive
# image creation

View file

@ -5,6 +5,14 @@ let
disabled_colors=#ff6d728d, #ff1a1b26, #ff373949, #ff2b2c3b, #ff1a1b26, #ff2b2c3b, #ff6d728d, #ff6d728d, #ff6d728d, #ff1a1b26, #ff1a1b26, #19000000, #ff2b2c3b, #ff6d728d, #ff3584e4, #ff1b6acb, #ff1a1b26, #ff242530, #ff1a1b26, #ff6d728d, #ff6d728d
inactive_colors=#ff6d728d, #ff1a1b26, #ff373949, #ff2b2c3b, #ff1a1b26, #ff2b2c3b, #ff6d728d, #ff6d728d, #ff6d728d, #ff1a1b26, #ff1a1b26, #19000000, #ff2b2c3b, #ff6d728d, #ff3584e4, #ff1b6acb, #ff1a1b26, #ff242530, #ff1a1b26, #ff6d728d, #ff6d728d
'';
qss = ''
QTabBar::tab:selected {
color: palette(highlight);
}
QMenuBar, QMenu, QToolBar, QStatusBar, QFrame, QScrollBar {
border: none;
}
'';
in
{
xdg.configFile."qt5ct/colors/tokyonight.conf" = {
@ -14,15 +22,10 @@ in
text = "${color}";
};
xdg.configFile."qt5ct/qss/tab.qss" = {
text =
''
QTabBar::tab:selected {
color: palette(highlight);
}
QMenuBar, QMenu, QToolBar, QStatusBar, QFrame, QScrollBar {
border: none;
}
'';
text = "${qss}";
};
xdg.configFile."qt6ct/qss/tab.qss" = {
text = "${qss}";
};
xdg.configFile."qt5ct/qt5ct.conf" = {
text =