nwg-launcher

This commit is contained in:
Sense T 2023-06-26 09:45:57 +08:00
parent 0f7dd37779
commit 163db4c80e
5 changed files with 13 additions and 7 deletions

View File

@ -15,3 +15,5 @@ nixos-rebuild switch --flake 'git+https://git.sense-t.eu.org/NixOS/gpd-configura
- [ ] waybar 微调 - [ ] waybar 微调
- [ ] 使用 pipewire - [ ] 使用 pipewire
- [ ] 电源选项 - [ ] 电源选项
- [ ] hyprland 微调
- [ ] nwg-launchers 微调+配置

View File

@ -96,12 +96,11 @@
"custom/launcher" ={ "custom/launcher" ={
format = " "; format = " ";
on-click = "rofi -show drun"; on-click = "nwggrid -o 0.6";
on-click-right = "killall rofi";
}; };
"custom/power" ={ "custom/power" ={
format = " "; format = " ";
on-click = "bash ~/.config/rofi/leave/leave.sh"; on-click = "nwgbar";
}; };
} }

View File

@ -33,7 +33,7 @@ input {
follow_mouse = 1 follow_mouse = 1
touchpad { touchpad {
natural_scroll = false natural_scroll = true
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.

View File

@ -12,8 +12,9 @@
icdiff icdiff
podman podman
jdk17 jdk17
rofi #rofi
rofi-rbw #rofi-rbw
nwg-launchers
]; ];
sessionPath = [ sessionPath = [
@ -34,7 +35,7 @@
".config/hypr/hyprland.conf".source = ./files/hyprland.conf; ".config/hypr/hyprland.conf".source = ./files/hyprland.conf;
# Use flatseal to change permissions. # Use flatseal to change permissions.
#".local/share/fonts".source = /run/current-system/sw/share/X11/fonts; ".local/share/fonts".source = /run/current-system/sw/share/X11/fonts;
# Fix flatpak fonts # Fix flatpak fonts
".local/share/flatpak/overrides/global".text = '' ".local/share/flatpak/overrides/global".text = ''

View File

@ -61,5 +61,9 @@
pinentry = "gnome3"; pinentry = "gnome3";
}; };
}; };
wlogout = {
enable = false;
};
}; };
} }