feat(hyprland): change up some settings.
This commit is contained in:
parent
1fbcf1809c
commit
a21862c771
1 changed files with 4 additions and 21 deletions
|
|
@ -59,18 +59,6 @@
|
||||||
esac
|
esac
|
||||||
'';
|
'';
|
||||||
grim = "${pkgs.grim}/bin/grim";
|
grim = "${pkgs.grim}/bin/grim";
|
||||||
vpn-toggle = pkgs.writeShellScriptBin "vpn-toggle" ''
|
|
||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
if [ "$(nmcli --overview -f GENERAL.STATE connection show hetz)" = "" ]; then
|
|
||||||
nmcli con up hetz
|
|
||||||
${pkgs.libnotify}/bin/notify-send "VPN" "UP"
|
|
||||||
else
|
|
||||||
nmcli con down hetz
|
|
||||||
${pkgs.libnotify}/bin/notify-send "VPN" "DOWN"
|
|
||||||
fi
|
|
||||||
|
|
||||||
'';
|
|
||||||
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
|
|
@ -84,8 +72,6 @@ in {
|
||||||
|
|
||||||
# Enable hyprpaper
|
# Enable hyprpaper
|
||||||
services.hyprpaper.enable = true;
|
services.hyprpaper.enable = true;
|
||||||
|
|
||||||
# Disable it by default and have it started manually by hyprland
|
|
||||||
systemd.user.services.hyprpaper.Install.WantedBy = lib.mkForce [];
|
systemd.user.services.hyprpaper.Install.WantedBy = lib.mkForce [];
|
||||||
|
|
||||||
# Setup portal for hyprland
|
# Setup portal for hyprland
|
||||||
|
|
@ -124,7 +110,6 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# Disable it by default and have it started manually by hyprland
|
|
||||||
systemd.user.services.hypridle.Install.WantedBy = lib.mkForce [];
|
systemd.user.services.hypridle.Install.WantedBy = lib.mkForce [];
|
||||||
|
|
||||||
# Setup and enable hyprland
|
# Setup and enable hyprland
|
||||||
|
|
@ -153,10 +138,9 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
cursor = {
|
cursor = {
|
||||||
# Breaks mouse in fullscreen
|
|
||||||
no_break_fs_vrr = 1;
|
no_break_fs_vrr = 1;
|
||||||
no_hardware_cursors = 1;
|
no_hardware_cursors = 1;
|
||||||
# use_cpu_buffer = 0;
|
use_cpu_buffer = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
|
|
@ -174,7 +158,7 @@ in {
|
||||||
"HDMI-A-1, 1920x1080@144, 0x0, 1"
|
"HDMI-A-1, 1920x1080@144, 0x0, 1"
|
||||||
"DP-1, 1920x1080@165, 0x0, 1"
|
"DP-1, 1920x1080@165, 0x0, 1"
|
||||||
"eDP-1, 1920x1080, 0x0, 1"
|
"eDP-1, 1920x1080, 0x0, 1"
|
||||||
"sunshine, 1920x1080@144, 0x0, 1"
|
"sunshine, 1920x1080@165, 0x0, 1"
|
||||||
];
|
];
|
||||||
|
|
||||||
animations = {
|
animations = {
|
||||||
|
|
@ -207,7 +191,7 @@ in {
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
kb_layout = "us,hr";
|
kb_layout = "us,hr";
|
||||||
kb_options = "caps:escape,grp:alt_space_toggle";
|
kb_options = "grp:alt_space_toggle";
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -230,7 +214,7 @@ in {
|
||||||
|
|
||||||
"$mod, F, fullscreen"
|
"$mod, F, fullscreen"
|
||||||
|
|
||||||
"$mod SHIFT, L, exec, hyprlock --immediate"
|
"$mod SHIFT, L, exec, hyprlock"
|
||||||
|
|
||||||
"$mod, B, exec, zen-beta"
|
"$mod, B, exec, zen-beta"
|
||||||
"$mod SHIFT, B, exec, librewolf"
|
"$mod SHIFT, B, exec, librewolf"
|
||||||
|
|
@ -238,7 +222,6 @@ in {
|
||||||
"$mod, G, exec, ${hyprgamemode}/bin/gamemode"
|
"$mod, G, exec, ${hyprgamemode}/bin/gamemode"
|
||||||
"$mod, F1, exec, ${toggle-sound-output}/bin/toggle-sound-output"
|
"$mod, F1, exec, ${toggle-sound-output}/bin/toggle-sound-output"
|
||||||
"$mod SHIFT, E, exec, ${power-menu}/bin/power-menu"
|
"$mod SHIFT, E, exec, ${power-menu}/bin/power-menu"
|
||||||
"$mod, w, exec, ${vpn-toggle}/bin/vpn-toggle"
|
|
||||||
|
|
||||||
"$mod, F12, exec, ${grim} ${config.xdg.userDirs.pictures}/screenshots/$(date +'%s_grim.png')"
|
"$mod, F12, exec, ${grim} ${config.xdg.userDirs.pictures}/screenshots/$(date +'%s_grim.png')"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue