refactor: simplify hyprland config
This commit is contained in:
parent
9910a2fddb
commit
624ca5314e
1 changed files with 2 additions and 4 deletions
|
|
@ -1,8 +1,6 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
scripts = ./scripts;
|
||||
modifier = "SUPER";
|
||||
terminal = "alacritty";
|
||||
in {
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
|
|
@ -19,8 +17,8 @@ in {
|
|||
brightness-disp = ''${scripts}/multimedia Brightness "" brightnessctl $(brightnessctl -e -m | cut -d, -f4 | tr -d "%")'';
|
||||
brightness = x: "brightnessctl -e set ${x} && ${brightness-disp}";
|
||||
in {
|
||||
"$mod" = modifier;
|
||||
"$terminal" = terminal;
|
||||
"$mod" = "SUPER";
|
||||
"$terminal" = "alacritty";
|
||||
"$menu" = "rofi -show drun";
|
||||
|
||||
env = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue