mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
chore: merge remote-tracking branch 'refs/remotes/origin/master'
This commit is contained in:
commit
a83e6f907a
22 changed files with 142 additions and 451 deletions
|
|
@ -36,11 +36,12 @@
|
|||
"mpDris2 &"
|
||||
"foot --server &"
|
||||
"hyprfloat &"
|
||||
"gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' &"
|
||||
];
|
||||
|
||||
input = {
|
||||
kb_layout = "us,jp";
|
||||
kb_options = "caps:ctrl_modifier";
|
||||
kb_options = "caps:ctrl_modifier,compose:ralt";
|
||||
numlock_by_default = true;
|
||||
follow_mouse = 1;
|
||||
sensitivity = 0;
|
||||
|
|
@ -171,6 +172,7 @@
|
|||
"$mainMod, Space, togglefloating,"
|
||||
"$mainMod, D, exec, bemenu-run -l 5 --ignorecase"
|
||||
"SUPER SHIFT, L, exec, swaylock --image /home/${username}/.local/share/bg.png"
|
||||
"SUPER, L, exec, swaylock --image /home/${username}/.local/share/bg.png"
|
||||
"$mainMod, E, exec, thunar"
|
||||
"$mainMod SHIFT, B, exec, pkill -SIGUSR1 .waybar-wrapped"
|
||||
"$mainMod, C,exec, hyprpicker -a"
|
||||
|
|
@ -269,6 +271,10 @@
|
|||
"$mainMod, XF86MonBrightnessDown, exec, brightnessctl set 100%-"
|
||||
];
|
||||
|
||||
bindl = [
|
||||
",switch:[Lid Switch], exec, hyprlock"
|
||||
];
|
||||
|
||||
# mouse binding
|
||||
bindm = [
|
||||
"$mainMod, mouse:272, movewindow"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
{ inputs, ... }:
|
||||
{ inputs, ... }:
|
||||
{
|
||||
imports = [ (import ./hyprland.nix) ]
|
||||
imports =
|
||||
[ (import ./hyprland.nix) ]
|
||||
++ [ (import ./config.nix) ]
|
||||
++ [ (import ./scripts.nix) ]
|
||||
++ [ (import ./variables.nix) ]
|
||||
# ++ [ (import ./hyprlock.nix) ]
|
||||
++ [ (import ./../hyprsunset.nix) ]
|
||||
++ [ (import ./../hyprlock.nix) ]
|
||||
++ [ inputs.hyprland.homeManagerModules.default ];
|
||||
}
|
||||
|
|
|
|||
16
modules/home/hyprsunset.nix
Normal file
16
modules/home/hyprsunset.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
services.hyprsunset.enable = true;
|
||||
|
||||
home.file.".config/hypr/hyprsunset.conf".text = ''
|
||||
max-gamma = 200;
|
||||
profile {
|
||||
time = 06:00;
|
||||
identity = true;
|
||||
}
|
||||
profile {
|
||||
time = 21:00;
|
||||
temperature = 5500;
|
||||
gamma = 0.8;
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
@ -198,11 +198,12 @@ in
|
|||
{ command = "swaycons &"; }
|
||||
# { command = "wlsunset -S '06:30' -s '19:30' -d 1800 "; }
|
||||
{ command = "foot --server &"; }
|
||||
{ command = "gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'"; }
|
||||
{ command = "footclient"; }
|
||||
];
|
||||
workspaceAutoBackAndForth = false;
|
||||
};
|
||||
# systemd.enable = true; # ???
|
||||
# systemd.enable = true; # why would anyone do this???
|
||||
wrapperFeatures = {
|
||||
gtk = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@
|
|||
},
|
||||
|
||||
"battery": {
|
||||
"bat": "BAT0",
|
||||
"bat": "BAT1",
|
||||
"interval": 20,
|
||||
"states": {
|
||||
"warning": 20,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue