Skip to content

Commit 7ec6323

Browse files
committed
feat: hyprpanel use
1 parent ba69a12 commit 7ec6323

File tree

9 files changed

+103
-147
lines changed

9 files changed

+103
-147
lines changed

flake.lock

Lines changed: 1 addition & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@
9393
inputs.nixpkgs.follows = "nixpkgs";
9494
};
9595

96-
nixos-cosmic = {
97-
url = "github:lilyinstarlight/nixos-cosmic";
98-
inputs.nixpkgs.follows = "nixpkgs";
99-
};
96+
# nixos-cosmic = {
97+
# url = "github:lilyinstarlight/nixos-cosmic";
98+
# inputs.nixpkgs.follows = "nixpkgs";
99+
# };
100100

101101
zen-browser.url = "github:0xc000022070/zen-browser-flake";
102102

@@ -139,7 +139,7 @@
139139
systems,
140140
kmonad,
141141
lanzaboote,
142-
nixos-cosmic,
142+
# nixos-cosmic,
143143
zen-browser,
144144
# ghostty,
145145
# zed-editor,
@@ -193,7 +193,7 @@
193193
altair = lib.nixosSystem {
194194
specialArgs = specialArgs;
195195
modules = [
196-
nixos-cosmic.nixosModules.default
196+
# nixos-cosmic.nixosModules.default
197197
lanzaboote.nixosModules.lanzaboote
198198
home-manager.nixosModules.home-manager
199199
{ home-manager.extraSpecialArgs = specialArgs; }
@@ -230,12 +230,12 @@
230230
homeConfigurations = {
231231
# Desktop home
232232
"denrei@altair" = lib.homeManagerConfiguration {
233-
# pkgs = pkgsFor.x86_64-linux;
234233
pkgs = import nixpkgs {
235-
inherit pkgsFor;
234+
system = "x86_64-linux";
236235
overlays = [
237236
inputs.hyprpanel.overlay
238237
];
238+
config.allowUnfree = true;
239239
};
240240
extraSpecialArgs = specialArgs;
241241
modules = [

home/denrei/altair.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#################### Host-specific Optional Configs ####################
88
common/optional/theme.nix
99
common/optional/sops.nix
10-
common/optional/ags.nix
10+
# common/optional/ags.nix
1111
common/optional/starship.nix
1212
common/optional/gdrive.nix
1313
# common/optional/solana.nix
@@ -18,7 +18,7 @@
1818
common/optional/browsers
1919
common/optional/media
2020

21-
# common/optional/hyprpanel
21+
common/optional/hyprpanel
2222
];
2323

2424
home = {

home/denrei/common/optional/desktops/hyprland/default.nix

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
# inputs,
2+
inputs,
33
pkgs,
44
...
55
}:
@@ -30,10 +30,10 @@ in
3030
enable = true;
3131
package = null;
3232
portalPackage = null;
33-
systemd.enable = true;
33+
# systemd.enable = true;
3434
xwayland.enable = true;
3535
plugins = [
36-
# inputs.hyprland-hyprspace.packages.${pkgs.system}.default
36+
inputs.hyprland-hyprspace.packages.${pkgs.system}.default
3737
# plugins.hyprexpo
3838
# plugins.hyprbars
3939
# plugins.borderspp
@@ -44,13 +44,14 @@ in
4444
"NIXOS_OZONE_WL, 1" # for ozone-based and electron apps to run on wayland
4545
"MOZ_ENABLE_WAYLAND, 1" # for firefox to run on wayland
4646
"MOZ_WEBRENDER, 1" # for firefox to run on wayland
47-
"XDG_SESSION_TYPE,wayland"
48-
"WLR_NO_HARDWARE_CURSORS,1"
49-
"WLR_RENDERER_ALLOW_SOFTWARE,1"
47+
"XDG_SESSION_TYPE, wayland"
48+
"WLR_NO_HARDWARE_CURSORS, 1"
49+
"WLR_RENDERER_ALLOW_SOFTWARE, 1"
5050
# "QT_QPA_PLATFORM,wayland"
5151
];
5252
exec-once = [
53-
"ags -b hypr"
53+
# "hyprpanel"
54+
# "ags -b hypr"
5455
"hyprctl setcursor Qogir 24"
5556
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
5657
# "transmission-gtk"
@@ -65,6 +66,8 @@ in
6566
general = {
6667
layout = "dwindle";
6768
resize_on_border = true;
69+
gaps_in = 5;
70+
gaps_out = 10;
6871
};
6972

7073
misc = {
@@ -116,7 +119,7 @@ in
116119
(f "xdg-desktop-portal")
117120
(f "xdg-desktop-portal-gnome")
118121
# (f "transmission-gtk")
119-
(f "com.github.Aylur.ags")
122+
# (f "com.github.Aylur.ags")
120123
(f "it.mijorus.smile")
121124
(f "Picture-in-Picture")
122125
];
@@ -145,7 +148,8 @@ in
145148
mvactive = binding "SUPER ALT" "moveactive";
146149
mvtows = binding "SUPER SHIFT" "movetoworkspace";
147150
mvtowssilent = binding "SUPER SHIFT CTRL" "movetoworkspacesilent";
148-
e = "exec, ags -b hypr";
151+
# e = "exec, ags -b hypr";
152+
e = "exec, hyprpanel";
149153
arr = [
150154
1
151155
2
@@ -157,16 +161,17 @@ in
157161
];
158162
in
159163
[
160-
"SUPER CTRL SHIFT, R, ${e} quit; ags -b hypr"
161-
"SUPER, R, ${e} -t launcher"
162-
"SUPER, Tab, ${e} -t overview"
163-
"SUPER,BACKSPACE,${e} -t 'powermenu'"
164-
",XF86PowerOff, ${e} -r 'powermenu.shutdown()'"
165-
"SUPER, bracketleft, ${e} -r 'recorder.start()'"
166-
"SUPER, bracketright, ${e} -r 'recorder.stop()'"
167-
",Print, ${e} -r 'recorder.screenshot()'"
168-
"SHIFT,Print, ${e} -r 'recorder.screenshot(true)'"
169-
"SUPER, V, ${e} -r 'launcher.open(\":ch \")'"
164+
# "SUPER CTRL SHIFT, R, ${e} quit; ags -b hypr"
165+
"SUPER CTRL SHIFT, R, ${e} q; hyprpanel"
166+
# "SUPER, R, ${e} -t launcher"
167+
# "SUPER, Tab, ${e} -t overview"
168+
"SUPER,BACKSPACE,${e} t powermenu"
169+
# ",XF86PowerOff, ${e} -r 'powermenu.shutdown()'"
170+
# "SUPER, bracketleft, ${e} -r 'recorder.start()'"
171+
# "SUPER, bracketright, ${e} -r 'recorder.stop()'"
172+
# ",Print, ${e} -r 'recorder.screenshot()'"
173+
# "SHIFT,Print, ${e} -r 'recorder.screenshot(true)'"
174+
# "SUPER, V, ${e} -r 'launcher.open(\":ch \")'"
170175
# "SUPER, period, ${e} -r 'launcher.open(\":em \")'"
171176
"SUPER, period, exec, smile"
172177
"SUPER, Return, exec, wezterm -e"
@@ -235,6 +240,7 @@ in
235240
];
236241

237242
decoration = {
243+
rounding = 10;
238244
shadow = {
239245
enabled = true;
240246
range = 8;

0 commit comments

Comments
 (0)