Lithium sway conf
This commit is contained in:
parent
2c96b6f98d
commit
98abace782
2 changed files with 12 additions and 16 deletions
|
@ -36,13 +36,19 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
displayManager = {
|
greetd = {
|
||||||
sddm = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
wayland.enable = true;
|
settings = {
|
||||||
|
initial_session = {
|
||||||
|
command = "${pkgs.sway}/bin/sway";
|
||||||
|
user = "vili";
|
||||||
|
};
|
||||||
|
default_session = {
|
||||||
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway";
|
||||||
|
user = "greeter";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
avahi = {
|
avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -51,15 +57,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.uwsm = {
|
|
||||||
enable = true;
|
|
||||||
waylandCompositors.sway = {
|
|
||||||
prettyName = "Sway";
|
|
||||||
comment = "Sway compositor managed by UWSM";
|
|
||||||
binPath = "/run/current-system/sw/bin/sway";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# rtkit is optional but recommended
|
# rtkit is optional but recommended
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
|
|
|
@ -114,14 +114,13 @@ let
|
||||||
bindsym $mod+Return exec "alacritty --config-file ${alacritty-conf}"
|
bindsym $mod+Return exec "alacritty --config-file ${alacritty-conf}"
|
||||||
bindsym $mod+d exec --no-startup-id "rofi -theme 'Arc-Dark' -show combi -combi-modes 'run' -modes combi"
|
bindsym $mod+d exec --no-startup-id "rofi -theme 'Arc-Dark' -show combi -combi-modes 'run' -modes combi"
|
||||||
|
|
||||||
set $mode_system "(l)ock, (e)xit, (s)uspend, (h)ibernate, (r)eboot, (S)hutdown"
|
set $mode_system "(l)ock, (s)uspend, (h)ibernate, (r)eboot, (S)hutdown"
|
||||||
bindsym $mod+Shift+p mode $mode_system
|
bindsym $mod+Shift+p mode $mode_system
|
||||||
mode $mode_system {
|
mode $mode_system {
|
||||||
bindsym l exec --no-startup-id swaylock, mode "default"
|
bindsym l exec --no-startup-id swaylock, mode "default"
|
||||||
bindsym s exec --no-startup-id "swaylock; systemctl suspend", mode "default"
|
bindsym s exec --no-startup-id "swaylock; systemctl suspend", mode "default"
|
||||||
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
|
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
|
||||||
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
||||||
bindsym e exec --no-startup-id loginctl terminate-session self, mode "default"
|
|
||||||
bindsym Shift+s exec --no-startup-id systemctl poweroff, mode "default"
|
bindsym Shift+s exec --no-startup-id systemctl poweroff, mode "default"
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue