Compare commits
6 Commits
a184270677
...
c918ccd996
| Author | SHA1 | Date | |
|---|---|---|---|
| c918ccd996 | |||
| 7c5fa5db31 | |||
| 1b31dfa8d5 | |||
| 3a7247d7b4 | |||
| 3eedc75c3a | |||
| aaa70ddf69 |
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
services.cliphist = {
|
services.cliphist = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,8 @@
|
|||||||
./network-manager.nix
|
./network-manager.nix
|
||||||
./rofi.nix
|
./rofi.nix
|
||||||
./cliphist.nix
|
./cliphist.nix
|
||||||
|
./wlogout.nix
|
||||||
|
./wlsunset.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.kitty.enable = true;
|
programs.kitty.enable = true;
|
||||||
@ -18,10 +20,10 @@
|
|||||||
inputs.hyprland-qtutils.packages."${pkgs.system}".default
|
inputs.hyprland-qtutils.packages."${pkgs.system}".default
|
||||||
pkgs.brightnessctl
|
pkgs.brightnessctl
|
||||||
pkgs.kdePackages.xwaylandvideobridge
|
pkgs.kdePackages.xwaylandvideobridge
|
||||||
pkgs.wl-clipboard
|
pkgs.wl-clipboard
|
||||||
|
|
||||||
pkgs.libsForQt5.qt5ct
|
pkgs.libsForQt5.qt5ct
|
||||||
pkgs.kdePackages.qt6ct
|
pkgs.kdePackages.qt6ct
|
||||||
];
|
];
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
@ -33,13 +35,13 @@
|
|||||||
bind =
|
bind =
|
||||||
[
|
[
|
||||||
"$mod, Return, exec, kitty"
|
"$mod, Return, exec, kitty"
|
||||||
"$mod, SPACE, exec, rofi -show run"
|
"$mod, SPACE, exec, walker"
|
||||||
"$mod, E, exec, dolphin"
|
"$mod, E, exec, dolphin"
|
||||||
|
|
||||||
"$mod SHIFT, V, togglefloating,"
|
"$mod SHIFT, V, togglefloating,"
|
||||||
"$mod SHIFT, Q, killactive,"
|
"$mod SHIFT, Q, killactive,"
|
||||||
|
|
||||||
"$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"
|
"$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"
|
||||||
]
|
]
|
||||||
++ (
|
++ (
|
||||||
# workspaces
|
# workspaces
|
||||||
@ -55,32 +57,32 @@
|
|||||||
9)
|
9)
|
||||||
);
|
);
|
||||||
|
|
||||||
bindm = [
|
bindm = [
|
||||||
"$mod, mouse:272, movewindow"
|
"$mod, mouse:272, movewindow"
|
||||||
"$mod, mouse:273, resizewindow"
|
"$mod, mouse:273, resizewindow"
|
||||||
];
|
];
|
||||||
|
|
||||||
bindel = [
|
bindel = [
|
||||||
",XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"
|
",XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 2%+"
|
||||||
",XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
",XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-"
|
||||||
",XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
",XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||||
",XF86MonBrightnessUp, exec, brightnessctl s 10%+"
|
",XF86MonBrightnessUp, exec, brightnessctl s 2%+"
|
||||||
",XF86MonBrightnessDown, exec, brightnessctl s 10%-"
|
",XF86MonBrightnessDown, exec, brightnessctl s 2%-"
|
||||||
];
|
];
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
touchpad = {
|
touchpad = {
|
||||||
natural_scroll = true;
|
natural_scroll = true;
|
||||||
};
|
scroll_factor = 0.2;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
resize_on_border = true;
|
resize_on_border = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
decoration = {
|
decoration = {
|
||||||
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
services.network-manager-applet = {
|
services.network-manager-applet = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
{pkgs, ... }: {
|
{pkgs, ...}: {
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
cycle = false;
|
cycle = false;
|
||||||
plugins = with pkgs; [
|
plugins = with pkgs; [
|
||||||
rofi-emoji-wayland
|
rofi-emoji-wayland
|
||||||
rofi-calc
|
rofi-calc
|
||||||
rofi-bluetooth
|
rofi-bluetooth
|
||||||
rofi-screenshot
|
rofi-screenshot
|
||||||
rofi-power-menu
|
rofi-power-menu
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
programs.walker = {
|
programs.walker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
runAsService = true;
|
runAsService = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
43
home/modules/wlogout.nix
Normal file
43
home/modules/wlogout.nix
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{
|
||||||
|
programs.wlogout = {
|
||||||
|
enable = true;
|
||||||
|
layout = [
|
||||||
|
{
|
||||||
|
label = "lock";
|
||||||
|
action = "loginctl lock-session";
|
||||||
|
text = "Lock";
|
||||||
|
keybind = "l";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = "hibernate";
|
||||||
|
action = "systemctl hibernate";
|
||||||
|
text = "Hibernate";
|
||||||
|
keybind = "h";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = "logout";
|
||||||
|
action = "sleep 1; hyprctl dispatch exit";
|
||||||
|
text = "Logout";
|
||||||
|
keybind = "e";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = "shutdown";
|
||||||
|
action = "systemctl poweroff";
|
||||||
|
text = "Shutdown";
|
||||||
|
keybind = "s";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = "suspend";
|
||||||
|
action = "systemctl suspend";
|
||||||
|
text = "Suspend";
|
||||||
|
keybind = "u";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = "reboot";
|
||||||
|
action = "systemctl reboot";
|
||||||
|
text = "Reboot";
|
||||||
|
keybind = "r";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
12
home/modules/wlsunset.nix
Normal file
12
home/modules/wlsunset.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
services.wlsunset = {
|
||||||
|
enable = true;
|
||||||
|
latitude = 39;
|
||||||
|
longitude = -121.2;
|
||||||
|
|
||||||
|
temperature = {
|
||||||
|
day = 6500;
|
||||||
|
night = 5000;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user