Update
This commit is contained in:
parent
804e6b255e
commit
7f1c7446f8
@ -12,6 +12,8 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
|
||||
- Tagbar (actually not working)
|
||||
- Markdown
|
||||
- [ ] <https://github.com/0fie/Mika>
|
||||
- [ ] Scrips:
|
||||
- [ ] Toggle hyprpanel
|
||||
- [ ] Update docs
|
||||
|
||||
## Server
|
||||
|
@ -4,6 +4,7 @@
|
||||
./sounds
|
||||
./brightness
|
||||
./caffeine
|
||||
./hyprpanel
|
||||
./night-shift
|
||||
./screenshot
|
||||
./nerdfont_fzf
|
||||
|
13
home/scripts/hyprpanel/default.nix
Normal file
13
home/scripts/hyprpanel/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
hyprpanel-toggle = pkgs.writeShellScriptBin "hyprpanel-toggle" ''
|
||||
hyprpanel -t bar-0
|
||||
hyprpanel -t bar-1
|
||||
hyprpanel -t bar-2
|
||||
hyprpanel -t bar-3
|
||||
'';
|
||||
hyprpanel-reload = pkgs.writeShellScriptBin "hyprpanel-reload" ''
|
||||
[ $(pgrep "ags") ] && pkill ags
|
||||
hyprctl dispatch exec hyprpanel
|
||||
'';
|
||||
in { home.packages = [ hyprpanel-toggle hyprpanel-reload ]; }
|
@ -11,6 +11,9 @@
|
||||
home.packages = with pkgs; [
|
||||
qt5.qtwayland
|
||||
qt6.qtwayland
|
||||
qt5ct
|
||||
qt6ct
|
||||
|
||||
hyprshot
|
||||
hyprpicker
|
||||
swappy
|
||||
@ -20,7 +23,6 @@
|
||||
wl-clipboard
|
||||
brightnessctl
|
||||
gnome-themes-extra
|
||||
qt5ct
|
||||
libva
|
||||
dconf
|
||||
wayland-utils
|
||||
|
@ -3,6 +3,7 @@
|
||||
../modules/fonts.nix
|
||||
../modules/nvidia.nix
|
||||
../modules/prime.nix
|
||||
../modules/xorg.nix
|
||||
../modules/zsh.nix
|
||||
../modules/tuigreet.nix
|
||||
../modules/auto-upgrade.nix
|
||||
|
@ -44,4 +44,9 @@
|
||||
wget
|
||||
curl
|
||||
];
|
||||
|
||||
services.logind.extraConfig = ''
|
||||
# don’t shutdown when power button is short-pressed
|
||||
HandlePowerKey=ignore
|
||||
'';
|
||||
}
|
||||
|
10
hosts/modules/xorg.nix
Normal file
10
hosts/modules/xorg.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ pkgs, ... }: {
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
config.common.default = "*";
|
||||
wlr.enable = true;
|
||||
xdgOpenUsePortal = true;
|
||||
extraPortals =
|
||||
[ pkgs.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-gtk ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user