giving up on flameshot

This commit is contained in:
Rouven Seifert 2023-01-21 14:44:23 +01:00
parent e905a929d0
commit fd3f3dd2a7
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
6 changed files with 27 additions and 11 deletions

View file

@ -24,11 +24,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1674082145,
"narHash": "sha256-4IpEt5Jc6VrNcpIcrKMCZAyeJMLXaaHk+yOV9HusO/A=",
"lastModified": 1674250603,
"narHash": "sha256-SBolFspxBHpW3hCCDNAFXUiO2mucmkVmf17UmSIK3Cs=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "7026e1a934abfa02623c9870378dbcdac3cd7f80",
"rev": "275ab728912006eecb549338a50f24f294a7cfb7",
"type": "github"
},
"original": {
@ -47,11 +47,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1674143063,
"narHash": "sha256-CfP6ZYjxLeC1Q6W4f+RCd2sokIX8RnyTA8wYzYmx9XE=",
"lastModified": 1674296335,
"narHash": "sha256-jUvjOqKGuEk1XfZNPXU3hcPtIJKkSNzwUm5yN1EFYZA=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "5112056fdbda989191310364444f328240bbf6f1",
"rev": "fcbfd193930dd146b141531a9cf5301d55f26907",
"type": "github"
},
"original": {
@ -122,11 +122,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1673796341,
"narHash": "sha256-1kZi9OkukpNmOaPY7S5/+SlCDOuYnP3HkXHvNDyLQcc=",
"lastModified": 1674120619,
"narHash": "sha256-xLT1FQl7/jNPOEq5q/vmc3AExt1V9LtcjM+QY2+MUpA=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "6dccdc458512abce8d19f74195bb20fdb067df50",
"rev": "d7705c01ef0a39c8ef532d1033bace8845a07d35",
"type": "github"
},
"original": {

View file

@ -8,6 +8,8 @@
hyprland.inputs.nixpkgs.follows = "nixpkgs";
hyprpaper.url = github:hyprwm/hyprpaper;
hyprpaper.inputs.nixpkgs.follows = "nixpkgs";
#xdph.url = github:hyprwm/xdg-desktop-portal-hyprland;
#xdph.inputs.nixpkgs.follows = "nixpkgs";
sops-nix.url = github:Mic92/sops-nix;
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
nix-colors.url = github:Misterio77/nix-colors;

View file

@ -33,9 +33,17 @@
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
#hardware.pulseaudio.enable = true;
hardware.bluetooth.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
xdg.portal.wlr.enable = true;
programs.dconf.enable = true;
# control display backlight

View file

@ -4,7 +4,6 @@
[
./accounts
./alacritty
./flameshot # TODO fix
./fzf
./git
./gpg

View file

@ -10,8 +10,12 @@
'';
home.packages = with pkgs; [
wofi
wl-clipboard
grim
slurp
font-awesome
hyprpaper.packages.x86_64-linux.default
#xdph.packages.x86_64-linux.default
];
xdg.configFile."wofi/config".text = ''

View file

@ -139,3 +139,6 @@ bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Screenshot
bind = ,Print,exec, grim -g "$(slurp)" - | wl-copy -t image/png