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

update 

This commit is contained in:
azikx 2024-10-22 21:32:05 +09:00
parent dc11d96595
commit e01aedb45d
9 changed files with 82 additions and 69 deletions

View file

@ -38,11 +38,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1729536995,
"narHash": "sha256-hGEP6lUG91rBLPlgXxBxW6GlHldR8inZddRXt2mHzm0=",
"lastModified": 1729586408,
"narHash": "sha256-AKwhtCoD5p+5hPYptTPC6FqHixxTx7vvhAvTxd8Yb4A=",
"owner": "ayugram-port",
"repo": "ayugram-desktop",
"rev": "fcc6ed09b3caf2a20f6379abf1fdb8088a818b07",
"rev": "a9c2ab851ee62a7421e7215c61615f284b6bb7bb",
"type": "github"
},
"original": {
@ -539,11 +539,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1728018373,
"narHash": "sha256-NOiTvBbRLIOe5F6RbHaAh6++BNjsb149fGZd1T4+KBg=",
"lastModified": 1729070438,
"narHash": "sha256-KOTTUfPkugH52avUvXGxvWy8ibKKj4genodIYUED+Kc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "bc947f541ae55e999ffdb4013441347d83b00feb",
"rev": "5785b6bb5eaae44e627d541023034e1601455827",
"type": "github"
},
"original": {

View file

@ -8,7 +8,7 @@
space = "file_picker_in_current_directory";
f = "file_picker_in_current_directory";
F = "file_picker";
"b: Buffers" = {
b = {
b = "buffer_picker";
n = ":buffer-next";
p = ":buffer-previous";

View file

@ -1,8 +1,9 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
(callPackage ./anicliru/anicli-ru.nix { })
(callPackage ./ayugram/default.nix.nix { })
# (callPackage ./vivaldi/default.nix { })
# (callPackage ./torrserver/default.nix { })
];
home.packages = with pkgs;
[
(callPackage ./anicliru/anicli-ru.nix { })
# (callPackage ./ayugram/default.nix { })
# (callPackage ./vivaldi/default.nix { })
# (callPackage ./torrserver/default.nix { })
];
}

View file

@ -5,7 +5,7 @@
vesktop
tor-browser
qbittorrent-enhanced
obsidian
(obsidian.override { commandLineArgs = [ "--ozone-platform=wayland" ]; })
mousai
komikku
@ -29,6 +29,6 @@
})
inputs.zen-browser.packages."${system}".specific
# inputs.ayugram-desktop.packages.${pkgs.system}.ayugram-desktop
inputs.ayugram-desktop.packages.${pkgs.system}.ayugram-desktop
];
}

View file

@ -9,12 +9,10 @@
hyprcursor
hyprpicker
hyprpaper
kitty
mako
nwg-drawer
grimblast
wf-recorder
light
grimblast
wl-clipboard
wf-recorder
];
}

View file

@ -6,6 +6,9 @@ let # WORKSPACES 1...10 + SHIFT
"$mod, ${ws}, workspace, ${toString (x + 1)}"
"$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
]) 10);
aud = "alsa_output.pci-0000_2b_00.1.hdmi-stereo.monitor";
pic = "$(xdg-user-dir PICTURES)/$(date +'scr_%d-%m-%y|%H:%M:%S.png')";
vid = "$(xdg-user-dir VIDEOS)/$(date +'vid_%d-%m-%y|%H:%M:%S.mp4')";
in {
wayland.windowManager.hyprland.settings = {
# SHORTCUTS
@ -31,14 +34,14 @@ in {
"$m, $sp, togglefloating"
"$m, Q, killactive"
"$m, C, centerwindow"
"$m $s, F, fullscreen"
"$m, F, fullscreen"
"$m $s, F, centerwindow"
"$m, X, pseudo"
"$m $s, X, pin"
"$m, O, cyclenext"
"$m $s, O, swapnext "
"$m, C, cyclenext"
"$m $s, C, swapnext "
"$m, G, togglegroup"
"$m $s, G, changegroupactive"
@ -83,14 +86,20 @@ in {
"$m, T, exec, bottles"
"$m $s, T, exec, prismlauncher"
# PLAYER CONTROL
"$m, XF86WakeUp, exec, playerctl play-pause"
"$m, XF86Go, exec, playerctl next"
"$m, Cancel, exec, playerctl previous"
", $p, exec, grimblast copysave area $(xdg-user-dir PICTURES)/$(date +'scr_%d-%m-%y|%H:%M:%S.png')"
"$s, $p, exec, grimblast copysave output $(xdg-user-dir PICTURES)/$(date +'scr_%d-%m-%y|%H:%M:%S.png')"
"$a, $p, exec, grimblast copysave active $(xdg-user-dir PICTURES)/$(date +'scr_%d-%m-%y|%H:%M:%S.png')"
"$a $s, $p, exec, hyprpicker -a"
# SCREENSHOTTER & VIDEO
", $p, exec, grimblast copysave area"
"$s, $p, exec, grimblast copysave output ${pic}"
"$a, $p, exec, grimblast copysave active ${pic}"
"$c, $p, exec, hyprpicker -a"
"$m, R, exec, wf-recorder -a ${aud} -f ${vid}"
"$m $s, R, exec, bash ~/.config/hypr/wfrec"
"$m $a, R, exec, killall -s SIGINT wf-recorder"
] ++ workspaces;
# HOLDING BUTTONS
@ -159,4 +168,13 @@ in {
"$m $s, mouse:273, resizewindow 1"
];
};
# SELECT AREA FOR VIDEO RECORD
xdg.configFile."hypr/wfrec" = {
text = ''
#!/usr/bin/env bash
wf-recorder -a ${aud} -f ${vid} -g "$(slurp -b '#181926CC' -c '#8bd5caFF' -w '3')"
'';
executable = true;
};
}

View file

@ -1,43 +1,51 @@
{ config, ... }: {
{ config, ... }:
let
cl = "class:^";
tl = "title:^";
in {
wayland.windowManager.hyprland.settings = with config.lib.stylix.colors; {
windowrulev2 = [
# WORKSPACE RULES
"workspace 2 silent, class:^(firefox)$"
"workspace 2 silent, class:^(floorp)$"
"workspace 2 silent, class:^(zen-alpha)$"
"workspace 3 silent, class:^(Spotify)$"
"workspace 4 silent, class:^(com.ayugram)$"
"workspace 4 silent, class:^(vesktop)$"
"workspace 5 silent, class:^(obsidian)$"
"workspace 6 silent, class:^(anicli)$"
"workspace 2 silent, ${cl}(firefox)$"
"workspace 2 silent, ${cl}(floorp)$"
"workspace 2 silent, ${cl}(zen-alpha)$"
"workspace 3 silent, ${cl}(Spotify)$"
"workspace 4 silent, ${cl}(com.ayugram)$"
"workspace 4 silent, ${cl}(vesktop)$"
"workspace 5 silent, ${cl}(obsidian)$"
"workspace 6 silent, ${cl}(anicli)$"
# TERMINAL RULES
"float, class:^(termfloat)$"
"size 650 430, class:^(termfloat)$"
"move center, class:^(termfloat)$"
"float, ${cl}(termfloat)$"
"size 650 430, ${cl}(termfloat)$"
"move center, ${cl}(termfloat)$"
# FILE MANAGER
"float, class:^(tfm)$"
"size 800 350, class:^(tfm)$"
"move center, class:^(tfm)$"
"float, ${cl}(tfm)$"
"size 800 350, ${cl}(tfm)$"
"move center, ${cl}(tfm)$"
# AYUGRAM
"minsize 540 680, class:^(com.ayugram)$"
"float, title:^(Media viewer)$"
"fullscreen, title:^(Media viewer)$"
"size 670 540, title:^(Media viewer)$"
"float, title:^(Choose Files)$"
"size 650 450, title:^Choose Files()$"
"minsize 540 680, ${cl}(com.ayugram)$"
"float, ${tl}(Media viewer)$"
"fullscreen, ${tl}(Media viewer)$"
"size 670 540, ${tl}(Media viewer)$"
"float, ${tl}(Choose Files)$"
"size 650 450, ${tl}(Choose Files)$"
# XDG
"float, class:^(xdg-desktop-portal-gtk)$"
"size 807 570, class:^(xdg-desktop-portal-gtk)$"
"float, ${cl}(xdg-desktop-portal-gtk)$"
"size 807 570, ${cl}(xdg-desktop-portal-gtk)$"
# MPV & ANIME
"nodim, class:^(mpv)$"
"float, class:^(anicliru)$"
"size 660 630, class:^(anicliru)$"
"bordercolor rgb(${base08}) rgb(${base09}) 45deg, class:^(anicliru)$"
"nodim, ${cl}(mpv)$"
"float, ${cl}(anicliru)$"
"size 660 630, ${cl}(anicliru)$"
"bordercolor rgb(${base08}) rgb(${base09}) 45deg, ${cl}(anicliru)$"
# KOMIKKU
"size 700 980, ${cl}(info.febvre.Komikku)$"
"pseudo, ${cl}(info.febvre.Komikku)$"
];
};
}

View file

@ -1,14 +1,9 @@
{ config, lib, inputs, ... }:
let wal = inputs.walls;
in {
{ config, lib, inputs, ... }: {
wayland.windowManager.hyprland = {
settings = with config.lib.stylix.colors; {
monitor = ", 1920x1080@60, auto, 1";
env = [ "SLURP_ARGS, -b ${base00}CC -c ${base06}FF -B ${base0F}CC" ];
exec-once = [
"mako"
# "swaybg -i ${config.stylix.image}"
];
env = [ "SLURP_ARGS, -b ${base00}CC -c ${base0F}FF -B ${base02}CC" ];
exec-once = [ "mako" ];
# APPERANCE
general = {
@ -99,7 +94,6 @@ in {
pseudotile = true;
preserve_split = true;
smart_resizing = true;
# no_gaps_when_only = true;
force_split = 2;
};
@ -116,11 +110,5 @@ in {
background_color = lib.mkForce "rgb(${base00})";
};
};
extraConfig = ''
device {
name = tpps/2-elan-trackpoint
accel_profile = flat
}
'';
};
}

Binary file not shown.