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

View file

@ -8,6 +8,8 @@
hyprland.inputs.nixpkgs.follows = "nixpkgs"; hyprland.inputs.nixpkgs.follows = "nixpkgs";
hyprpaper.url = github:hyprwm/hyprpaper; hyprpaper.url = github:hyprwm/hyprpaper;
hyprpaper.inputs.nixpkgs.follows = "nixpkgs"; 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.url = github:Mic92/sops-nix;
sops-nix.inputs.nixpkgs.follows = "nixpkgs"; sops-nix.inputs.nixpkgs.follows = "nixpkgs";
nix-colors.url = github:Misterio77/nix-colors; nix-colors.url = github:Misterio77/nix-colors;

View file

@ -33,9 +33,17 @@
# Enable sound. # Enable sound.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = true; #hardware.pulseaudio.enable = true;
hardware.bluetooth.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; programs.dconf.enable = true;
# control display backlight # control display backlight

View file

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

View file

@ -10,8 +10,12 @@
''; '';
home.packages = with pkgs; [ home.packages = with pkgs; [
wofi wofi
wl-clipboard
grim
slurp
font-awesome font-awesome
hyprpaper.packages.x86_64-linux.default hyprpaper.packages.x86_64-linux.default
#xdph.packages.x86_64-linux.default
]; ];
xdg.configFile."wofi/config".text = '' 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 # Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow bindm = $mainMod, mouse:273, resizewindow
# Screenshot
bind = ,Print,exec, grim -g "$(slurp)" - | wl-copy -t image/png