start kanshi and swayidle independent of sway/hyprland
This commit is contained in:
parent
ea29753230
commit
4d0b092f9b
3 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
services.kanshi = {
|
services.kanshi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
systemdTarget = "graphical-session.target";
|
||||||
profiles = {
|
profiles = {
|
||||||
undocked = {
|
undocked = {
|
||||||
outputs = [
|
outputs = [
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
services.swayidle = {
|
services.swayidle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
systemdTarget = "graphical-session.target";
|
||||||
events = [
|
events = [
|
||||||
{
|
{
|
||||||
event = "before-sleep";
|
event = "before-sleep";
|
||||||
|
|
|
@ -110,8 +110,6 @@ in
|
||||||
|
|
||||||
exec-once = ${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1
|
exec-once = ${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1
|
||||||
exec-once = ${hyprctl} setcursor ${config.gtk.cursorTheme.name} 24
|
exec-once = ${hyprctl} setcursor ${config.gtk.cursorTheme.name} 24
|
||||||
exec-once = systemctl --user start kanshi.service
|
|
||||||
exec-once = systemctl --user start swayidle.service
|
|
||||||
exec-once = ${change-wallpaper}
|
exec-once = ${change-wallpaper}
|
||||||
|
|
||||||
bindm = SUPER,mouse:272, movewindow
|
bindm = SUPER,mouse:272, movewindow
|
||||||
|
@ -122,8 +120,10 @@ in
|
||||||
bind = SUPER_SHIFT,F, fullscreen,0
|
bind = SUPER_SHIFT,F, fullscreen,0
|
||||||
|
|
||||||
bind = SUPER_SHIFT,C, exec, ${hyprctl} reload
|
bind = SUPER_SHIFT,C, exec, ${hyprctl} reload
|
||||||
bind = SUPER_SHIFT,C, exec, systemctl --user restart waybar.service
|
bind = SUPER_SHIFT,C, exec, systemctl --user restart swayidle.service
|
||||||
bind = SUPER_SHIFT,C, exec, systemctl --user restart kanshi.service
|
bind = SUPER_SHIFT,C, exec, systemctl --user restart kanshi.service
|
||||||
|
bind = SUPER_SHIFT,C, exec, systemctl --user reload waybar.service
|
||||||
|
|
||||||
bind = SUPER,Return, exec, ${kitty} ${tmux} new
|
bind = SUPER,Return, exec, ${kitty} ${tmux} new
|
||||||
bind = SUPER_SHIFT,Return, exec, ${kitty}
|
bind = SUPER_SHIFT,Return, exec, ${kitty}
|
||||||
bind = SUPER,d, exec, ${rofi} -show drun
|
bind = SUPER,d, exec, ${rofi} -show drun
|
||||||
|
|
Loading…
Reference in a new issue