Skip to content

Commit 31c87fe

Browse files
committed
hyprland: add lxqt polkit agent for gui applications
1 parent 4770fa4 commit 31c87fe

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

hypr/.config/hypr/hyprland.conf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,21 @@ source=./keybinds.conf
55
monitor=,preferred,auto,auto
66
monitor=Virtual-1,1920x1080,auto,auto # VMs
77

8+
# exec-once = systemctl --user start hyprpolkitagent
9+
exec-once = hyprctl setcursor phinger-cursors-light 32
10+
exec-once = lxqt-policykit-agent
11+
812
exec = ~/.config/hypr/scripts/autostart.sh
913
exec = ~/.config/hypr/scripts/handle_lid_switch.sh
1014

1115
exec-once = [workspace 1 silent] firefox
1216
exec-once = [workspace 2 silent] kitty
1317
exec-once = [workspace special:magic silent] kitty
1418

15-
exec-once = hyprctl setcursor phinger-cursors-light 32
1619

1720
# Default env vars.
18-
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
21+
env = QT_QPA_PLATFORMTHEME,qt6ct
22+
env = QT_QUICK_CONTROLS_STYLE,Basic
1923

2024
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
2125
input {

nixos/modules/gui-applications.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,9 @@ in
2222
pkgs.brave
2323
pkgs.firefox
2424
pkgs.librewolf
25+
26+
# Utilities
27+
pkgs.kdePackages.partitionmanager
28+
pkgs.kdePackages.qt6ct
2529
];
2630
}

nixos/modules/hyprland.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
hypridle
1010
hyprlock
1111
hyprsunset
12+
lxqt.lxqt-policykit
1213
];
1314
}

0 commit comments

Comments
 (0)