1
0
Fork 0
mirror of https://git.sr.ht/~azikx/karbur synced 2024-10-30 07:26:20 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
azikx f471e598c9 update  2024-10-22 09:52:33 +09:00
azikx 1aef8225b9 update  2024-10-22 09:48:42 +09:00
8 changed files with 738 additions and 734 deletions

View file

@ -4,7 +4,7 @@
./floorp ./floorp
./qutebrowser ./qutebrowser
# ./ayugram # ./ayugram
./obsidian # ./obsidian
./spotify ./spotify
./obs-studio ./obs-studio
./qbittorrent ./qbittorrent

File diff suppressed because it is too large Load diff

View file

@ -7,6 +7,9 @@
qbittorrent-enhanced qbittorrent-enhanced
obsidian obsidian
mousai
komikku
xdg-user-dirs xdg-user-dirs
onlyoffice-bin onlyoffice-bin
@ -20,9 +23,7 @@
ventoy ventoy
bottles bottles
cartridges
mangohud mangohud
steam-tui
(prismlauncher.override { (prismlauncher.override {
jdks = [ temurin-bin-21 temurin-bin-17 temurin-bin-8 ]; jdks = [ temurin-bin-21 temurin-bin-17 temurin-bin-8 ];
}) })

View file

@ -125,7 +125,6 @@ in {
"x-scheme-handler/about" = "zen.${ds}"; "x-scheme-handler/about" = "zen.${ds}";
"x-scheme-handler/unknown" = "zen.${ds}"; "x-scheme-handler/unknown" = "zen.${ds}";
# OTHER # OTHER
"inode/directory" = "yazi.${ds}";
}; };
}; };
userDirs = { userDirs = {

View file

@ -13,12 +13,12 @@
{ {
name = "vi-mode"; name = "vi-mode";
src = pkgs.zsh-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"; name = "zsh-bd";
src = pkgs.zsh-bd; src = pkgs.zsh-bd;
file = "share/zsh-bd/bd.zsh"; file = "share/zsh-bd/bd.plugin.zsh";
} }
]; ];
}; };

View file

@ -1,5 +1,5 @@
{ ... }: { ... }:
let let # WORKSPACES 1...10 + SHIFT
workspaces = builtins.concatLists (builtins.genList (x: workspaces = builtins.concatLists (builtins.genList (x:
let ws = let c = (x + 1) / 10; in builtins.toString (x + 1 - (c * 10)); let ws = let c = (x + 1) / 10; in builtins.toString (x + 1 - (c * 10));
in [ in [
@ -25,23 +25,17 @@ in {
"$md" = "mouse_down"; "$md" = "mouse_down";
"$mu" = "mouse_up"; "$mu" = "mouse_up";
# MOUSE
bindm = [
"$m, mouse:272, movewindow"
"$m, mouse:273, resizewindow"
"$m $s, mouse:273, resizewindow 1"
];
# KEYBOARD # KEYBOARD
bind = [ bind = [
# BUILTIN COMMANDS # BUILTIN COMMANDS
"$m, $sp, togglefloating" "$m, $sp, togglefloating"
# "$m $s, $sp, hyprexpo:expo, toggle"
"$m, Q, killactive" "$m, Q, killactive"
"$m, C, centerwindow" "$m, C, centerwindow"
"$m, F, fullscreen" "$m $s, F, fullscreen"
"$m, X, pseudo" "$m, X, pseudo"
"$m, P, pin" "$m $s, X, pin"
"$m, O, cyclenext" "$m, O, cyclenext"
"$m $s, O, swapnext " "$m $s, O, swapnext "
@ -157,5 +151,12 @@ in {
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" ", 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" ", 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"
];
}; };
} }

View file

@ -11,8 +11,10 @@
keepEnv = true; keepEnv = true;
persist = true; persist = true;
}]; }];
extraConfig = extraConfig = ''
" permit nopass dragora as root cmd light\n permit nopass dragora as root cmd tee\n"; permit nopass dragora as root cmd light
permit nopass dragora as root cmd tee
'';
}; };
pam = { # SOMTHING WITH FPRINT pam = { # SOMTHING WITH FPRINT
services = { swaylock.fprintAuth = true; }; services = { swaylock.fprintAuth = true; };

View file

@ -1,4 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }: {
system.stateVersion = "24.05";
users = { users = {
users = { # USERS users = { # USERS
dragora = { dragora = {
@ -8,5 +9,4 @@
}; };
}; };
}; };
system.stateVersion = "24.05";
} }