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)
|
- Tagbar (actually not working)
|
||||||
- Markdown
|
- Markdown
|
||||||
- [ ] <https://github.com/0fie/Mika>
|
- [ ] <https://github.com/0fie/Mika>
|
||||||
|
- [ ] Scrips:
|
||||||
|
- [ ] Toggle hyprpanel
|
||||||
- [ ] Update docs
|
- [ ] Update docs
|
||||||
|
|
||||||
## Server
|
## Server
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
./sounds
|
./sounds
|
||||||
./brightness
|
./brightness
|
||||||
./caffeine
|
./caffeine
|
||||||
|
./hyprpanel
|
||||||
./night-shift
|
./night-shift
|
||||||
./screenshot
|
./screenshot
|
||||||
./nerdfont_fzf
|
./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; [
|
home.packages = with pkgs; [
|
||||||
qt5.qtwayland
|
qt5.qtwayland
|
||||||
qt6.qtwayland
|
qt6.qtwayland
|
||||||
|
qt5ct
|
||||||
|
qt6ct
|
||||||
|
|
||||||
hyprshot
|
hyprshot
|
||||||
hyprpicker
|
hyprpicker
|
||||||
swappy
|
swappy
|
||||||
@ -20,7 +23,6 @@
|
|||||||
wl-clipboard
|
wl-clipboard
|
||||||
brightnessctl
|
brightnessctl
|
||||||
gnome-themes-extra
|
gnome-themes-extra
|
||||||
qt5ct
|
|
||||||
libva
|
libva
|
||||||
dconf
|
dconf
|
||||||
wayland-utils
|
wayland-utils
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
../modules/fonts.nix
|
../modules/fonts.nix
|
||||||
../modules/nvidia.nix
|
../modules/nvidia.nix
|
||||||
../modules/prime.nix
|
../modules/prime.nix
|
||||||
|
../modules/xorg.nix
|
||||||
../modules/zsh.nix
|
../modules/zsh.nix
|
||||||
../modules/tuigreet.nix
|
../modules/tuigreet.nix
|
||||||
../modules/auto-upgrade.nix
|
../modules/auto-upgrade.nix
|
||||||
|
@ -44,4 +44,9 @@
|
|||||||
wget
|
wget
|
||||||
curl
|
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