mirror of
https://git.sr.ht/~azikx/karbur
synced 2024-10-30 07:26:20 +00:00
update
This commit is contained in:
parent
86fda4720a
commit
1aef8225b9
|
@ -4,7 +4,7 @@
|
|||
./floorp
|
||||
./qutebrowser
|
||||
# ./ayugram
|
||||
./obsidian
|
||||
# ./obsidian
|
||||
./spotify
|
||||
./obs-studio
|
||||
./qbittorrent
|
||||
|
|
|
@ -1,21 +1,20 @@
|
|||
{ config, ... }: {
|
||||
home.file = {
|
||||
".obsidian/.obsidian/themes/stylix/manifest.json".text = ''
|
||||
home.file."Documents/vault/.obsidian/themes/Stylix/manifest.json".text = ''
|
||||
{
|
||||
"name": "Stylix",
|
||||
"version": "1.1.1",
|
||||
"minAppVersion": "1.1.1",
|
||||
"author": "Hezaki & azikx",
|
||||
"authorUrl": "https://sr.ht/~azikx"
|
||||
"author": "Hezaki",
|
||||
"authorUrl": "https://github.com/hezaki"
|
||||
}
|
||||
'';
|
||||
".obsidian/.obsidian/themes/stylix/theme.css".text =
|
||||
home.file."Documents/vault/.obsidian/themes/Stylix/theme.css".text =
|
||||
with config.lib.stylix.colors; ''
|
||||
.theme-dark,
|
||||
.theme-light{
|
||||
/* Actual colors*/
|
||||
--background-primary: #${base00};
|
||||
--background-primary-alt: #${base00};
|
||||
--background-primary-alt: #${base02};
|
||||
--background-secondary: #${base00};
|
||||
--background-secondary-alt: #${base00};
|
||||
--text-normal: #${base05};
|
||||
|
@ -46,7 +45,7 @@
|
|||
--dracula-Comment: #${base03};
|
||||
--dracula-keyword: #${base0E};
|
||||
--dracula-definition: #${base0B};
|
||||
--dracula-variable: #${base05};
|
||||
--dracula-variable: #${base05}; /*"variable" tags are used everywhere in code, but Dracula usually only uses orange color only for declaration inputs, thus white is less annoying to look at*/
|
||||
--dracula-number: #${base0E};
|
||||
--dracula-function: #${base0D};
|
||||
--dracula-string: #${base09};
|
||||
|
@ -259,7 +258,7 @@
|
|||
/* borders */
|
||||
|
||||
.cm-s-obsidian span.cm-inline-code {
|
||||
border: 1px solid #525660;
|
||||
border: 1px solid #${base00};
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
|
@ -416,7 +415,7 @@
|
|||
}
|
||||
|
||||
.side-dock-ribbon-tab.is-active .side-dock-ribbon-tab-inner:hover {
|
||||
color: #6272a4 !important;
|
||||
color: #${base0E} !important;
|
||||
background-color: var(--background-secondary);
|
||||
}
|
||||
|
||||
|
@ -465,7 +464,7 @@
|
|||
}
|
||||
|
||||
/* .nav-file-tag {
|
||||
color: #59a2c5;
|
||||
color: #${base0C};
|
||||
} /* for the PNG text, but can't specifically target "PNG", just all of those filetype tags. */
|
||||
|
||||
.nav-file.is-active .nav-file-tag {
|
||||
|
@ -770,7 +769,7 @@
|
|||
ul ul::before {
|
||||
content: "";
|
||||
border-left: 1px solid;
|
||||
color: #92CDD6;
|
||||
color: #${base0D};
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
@ -789,7 +788,7 @@
|
|||
/* ul, li & ol colors in editor */
|
||||
|
||||
.cm-s-obsidian span.cm-formatting-list {
|
||||
color: #8abeb7;
|
||||
color: #${base0D};
|
||||
}
|
||||
|
||||
ol {
|
||||
|
@ -810,19 +809,21 @@
|
|||
background-color: var(--blockquote-border)!important;
|
||||
}
|
||||
|
||||
/* PDF */
|
||||
@media print {
|
||||
@page {
|
||||
margin: 0mm 0mm 0mm 0mm;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.print .markdown-preview-view {
|
||||
-webkit-print-color-adjust: exact;
|
||||
background-color: #282a36;
|
||||
color: #f8f8f2;
|
||||
background-color: #${base00};
|
||||
color: #${base05};
|
||||
}
|
||||
.markdown-rendered code {
|
||||
color: #BABABA !important;
|
||||
color: #${base05} !important;
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
qbittorrent-enhanced
|
||||
obsidian
|
||||
|
||||
mousai
|
||||
komikku
|
||||
|
||||
xdg-user-dirs
|
||||
onlyoffice-bin
|
||||
|
||||
|
@ -20,9 +23,7 @@
|
|||
ventoy
|
||||
|
||||
bottles
|
||||
cartridges
|
||||
mangohud
|
||||
steam-tui
|
||||
(prismlauncher.override {
|
||||
jdks = [ temurin-bin-21 temurin-bin-17 temurin-bin-8 ];
|
||||
})
|
||||
|
|
|
@ -125,7 +125,6 @@ in {
|
|||
"x-scheme-handler/about" = "zen.${ds}";
|
||||
"x-scheme-handler/unknown" = "zen.${ds}";
|
||||
# OTHER
|
||||
"inode/directory" = "yazi.${ds}";
|
||||
};
|
||||
};
|
||||
userDirs = {
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
{
|
||||
name = "vi-mode";
|
||||
src = pkgs.zsh-vi-mode;
|
||||
file = "share/zsh-vi-mode/zsh-vi-mode.zsh";
|
||||
file = "share/zsh-vi-mode/zsh-vi-mode.plugin.zsh";
|
||||
}
|
||||
{
|
||||
name = "zsh-bd";
|
||||
src = pkgs.zsh-bd;
|
||||
file = "share/zsh-bd/bd.zsh";
|
||||
file = "share/zsh-bd/bd.plugin.zsh";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ ... }:
|
||||
let
|
||||
let # WORKSPACES 1...10 + SHIFT
|
||||
workspaces = builtins.concatLists (builtins.genList (x:
|
||||
let ws = let c = (x + 1) / 10; in builtins.toString (x + 1 - (c * 10));
|
||||
in [
|
||||
|
@ -25,23 +25,17 @@ in {
|
|||
"$md" = "mouse_down";
|
||||
"$mu" = "mouse_up";
|
||||
|
||||
# MOUSE
|
||||
bindm = [
|
||||
"$m, mouse:272, movewindow"
|
||||
"$m, mouse:273, resizewindow"
|
||||
"$m $s, mouse:273, resizewindow 1"
|
||||
];
|
||||
|
||||
# KEYBOARD
|
||||
bind = [
|
||||
# BUILTIN COMMANDS
|
||||
"$m, $sp, togglefloating"
|
||||
# "$m $s, $sp, hyprexpo:expo, toggle"
|
||||
"$m, Q, killactive"
|
||||
|
||||
"$m, C, centerwindow"
|
||||
"$m, F, fullscreen"
|
||||
"$m $s, F, fullscreen"
|
||||
|
||||
"$m, X, pseudo"
|
||||
"$m, P, pin"
|
||||
"$m $s, X, pin"
|
||||
|
||||
"$m, O, cyclenext"
|
||||
"$m $s, O, swapnext "
|
||||
|
@ -157,5 +151,12 @@ in {
|
|||
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
", XF86AudioMicMute, exec, fixf4=$(cat /sys/class/leds/platform::micmute/brightness); echo $((1-fixf4)) | doas tee /sys/class/leds/platform::micmute/brightness; wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
|
||||
];
|
||||
|
||||
# MOUSE
|
||||
bindm = [
|
||||
"$m, mouse:272, movewindow"
|
||||
"$m, mouse:273, resizewindow"
|
||||
"$m $s, mouse:273, resizewindow 1"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue