fix screenshot, add virtualbox

This commit is contained in:
2025-12-01 21:07:17 +03:00
parent abbea47279
commit bd29489055
2 changed files with 8 additions and 2 deletions
@@ -92,7 +92,8 @@
bindd = [ bindd = [
"${super}, M, Toggle power profile,exec, ~/.config/hypr/scripts/switch_config.sh" "${super}, M, Toggle power profile,exec, ~/.config/hypr/scripts/switch_config.sh"
"${super}+Shift, S, Screenshot, exec, hyprshot --freeze --clipboard-only --mode region --silent" # "${super}+Shift, S, Screenshot, exec, hyprshot --freeze --clipboard-only --mode region --silent"
", Print, Screenshot, exec, hyprshot --freeze --clipboard-only --mode region --silent"
"${super}+Shift, T, OCR, exec, hyprshot -m region --raw | tesseract stdin stdout" "${super}+Shift, T, OCR, exec, hyprshot -m region --raw | tesseract stdin stdout"
]; ];
@@ -115,7 +116,7 @@
'' ''
, XF86AudioNext, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"`'' , XF86AudioNext, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"`''
", XF86AudioPrev, exec, playerctl previous" ", XF86AudioPrev, exec, playerctl previous"
", Print, exec, hyprshot -m output" # ", Print, exec, hyprshot -m output"
]; ];
binde = [ binde = [
+5
View File
@@ -1,6 +1,11 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
# networkmanagerapplet and nm-applet
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "krosh" ];
services.udev.packages = [ pkgs.yubikey-personalization ]; services.udev.packages = [ pkgs.yubikey-personalization ];
services.pcscd.enable = true; services.pcscd.enable = true;