Added grimblast for screenshots

This commit is contained in:
Trevor Vallender 2023-04-28 19:09:55 +01:00
parent d2d6f7d956
commit 348bb76b20
5 changed files with 45 additions and 20 deletions

View File

@ -150,10 +150,28 @@
"type": "github" "type": "github"
} }
}, },
"hyprcontrib": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1682622679,
"narHash": "sha256-n/WK09WqCA7Tuq3KtqW9zX7+hF977vLmvyW2zz9JrIU=",
"owner": "hyprwm",
"repo": "contrib",
"rev": "82cd44dc3c7ed79963aa29cc743655089191cd1d",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "contrib",
"type": "github"
}
},
"hyprland": { "hyprland": {
"inputs": { "inputs": {
"hyprland-protocols": "hyprland-protocols", "hyprland-protocols": "hyprland-protocols",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_3",
"wlroots": "wlroots", "wlroots": "wlroots",
"xdph": "xdph" "xdph": "xdph"
}, },
@ -281,6 +299,22 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1658161305,
"narHash": "sha256-X/nhnMCa1Wx4YapsspyAs6QYz6T/85FofrI6NpdPDHg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e4d49de45a3b5dbcb881656b4e3986e666141ea9",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1680669251, "lastModified": 1680669251,
"narHash": "sha256-AVNE+0u4HlI3v96KCXE9risH7NKqj0QDLLfSckYXIbA=", "narHash": "sha256-AVNE+0u4HlI3v96KCXE9risH7NKqj0QDLLfSckYXIbA=",
@ -296,7 +330,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1681217261, "lastModified": 1681217261,
"narHash": "sha256-RbxCHWN3Vhyv/WEsXcJlDwF7bpvZ9NxDjfSouQxXEKo=", "narHash": "sha256-RbxCHWN3Vhyv/WEsXcJlDwF7bpvZ9NxDjfSouQxXEKo=",
@ -346,8 +380,9 @@
"devenv": "devenv", "devenv": "devenv",
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_3",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprcontrib": "hyprcontrib",
"hyprland": "hyprland", "hyprland": "hyprland",
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_4"
} }
}, },
"systems": { "systems": {

View File

@ -9,6 +9,7 @@
}; };
devenv.url = "github:cachix/devenv/latest"; devenv.url = "github:cachix/devenv/latest";
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
hyprcontrib.url = "github:hyprwm/contrib";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
codeium = { codeium = {
url = "github:jcdickinson/codeium.nvim"; url = "github:jcdickinson/codeium.nvim";
@ -16,7 +17,7 @@
}; };
}; };
outputs = inputs@{ nixpkgs, home-manager, devenv, hyprland, codeium, ... }: { outputs = inputs@{ nixpkgs, home-manager, devenv, hyprland, hyprcontrib, codeium, ... }: {
nixosConfigurations = { nixosConfigurations = {
ritchie = nixpkgs.lib.nixosSystem { ritchie = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";

View File

@ -108,6 +108,7 @@ in
}); });
}) })
inputs.codeium.overlays.x86_64-linux.default inputs.codeium.overlays.x86_64-linux.default
inputs.hyprcontrib.overlays.default
]; ];

View File

@ -39,6 +39,7 @@
gnumake gnumake
gnupg gnupg
gimp gimp
grimblast
heroku heroku
htop htop
hyprpaper hyprpaper

View File

@ -51,8 +51,6 @@ general {
} }
decoration { decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 5 rounding = 5
blur = yes blur = yes
blur_size = 3 blur_size = 3
@ -68,8 +66,6 @@ decoration {
animations { animations {
enabled = yes enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05 bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier animation = windows, 1, 7, myBezier
@ -81,34 +77,22 @@ animations {
} }
dwindle { dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this preserve_split = yes # you probably want this
} }
master { master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
new_is_master = true new_is_master = true
} }
gestures { gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = off workspace_swipe = off
} }
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
device:epic-mouse-v1 { device:epic-mouse-v1 {
sensitivity = -0.5 sensitivity = -0.5
} }
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER $mainMod = SUPER
@ -158,3 +142,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
bind = ,Print,exec,grimblast save active
bind = $mainMod,Print,exec,grimblast save area