edits on greetd

This commit is contained in:
Chris Cochrun 2022-12-16 16:19:29 -06:00
parent b2a940dbe9
commit 24f375dd4a
6 changed files with 66 additions and 16 deletions

View file

@ -211,14 +211,28 @@ services.greetd = {
command = "/home/chris/bin/hyprland"; command = "/home/chris/bin/hyprland";
user = "chris"; user = "chris";
}; };
default_session = initial_session; default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --window-padding 2 --cmd /home/chris/bin/hyprland";
user = "greeter";
};
plasma_session = {
command = "dbus-run-session startplasma-wayland";
user = "chris";
};
hyprland_session = { hyprland_session = {
command = "${pkgs.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed ${pkgs.plasma-workspace}/bin/startplasma-wayland"; command = "/home/chris/bin/hyprland";
user = "chris"; user = "chris";
}; };
}; };
}; };
environment.etc."greetd/environments".text = ''
/home/chris/bin/hyprland
fish
bash
dbus-run-session startplasma-wayland
'';
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
}; };

View file

@ -141,7 +141,7 @@ font:
#style: Bold Italic #style: Bold Italic
# Point size # Point size
size: 11.0 size: 12.0
# Offset is the extra space around each character. `offset.y` can be thought of # Offset is the extra space around each character. `offset.y` can be thought of
# as modifying the line spacing, and `offset.x` as modifying the letter spacing. # as modifying the line spacing, and `offset.x` as modifying the letter spacing.

View file

@ -166,9 +166,12 @@ bind=SUPER,i,movewindow,left
bind=SUPERSHIFT,p,pin bind=SUPERSHIFT,p,pin
bind=SUPER,n,movetoworkspace,special bind=SUPER,n,movetoworkspace,special
binde=, XF86AudioMute, exec, pamixer -t
binde=, XF86AudioRaiseVolume, exec, /home/chris/bin/volup binde=, XF86AudioRaiseVolume, exec, /home/chris/bin/volup
binde=, XF86AudioLowerVolume, exec, /home/chris/bin/voldown binde=, XF86AudioLowerVolume, exec, /home/chris/bin/voldown
binde=, XF86AudioMute, exec, pamixer -t binde=,F1, exec, pamixer -t
binde=,F3, exec, /home/chris/bin/volup
binde=,F2, exec, /home/chris/bin/voldown
binde=, XF86MonBrightnessUp, exec, brightnessctl s +10% binde=, XF86MonBrightnessUp, exec, brightnessctl s +10%
binde=, XF86MonBrightnessDown, exec, brightnessctl s 10%- binde=, XF86MonBrightnessDown, exec, brightnessctl s 10%-

View file

@ -1,5 +1,18 @@
#!/bin/sh #!/bin/sh
rbw-agent &
systemctl --user stop jellyfin-mpv-shim.service &
systemctl --user stop nextcloud-client.service &
systemctl --user stop emacs.service &
/usr/lib/kdeconnectd &
nm-applet &
greenclip daemon &
emacs --daemon &
nextcloud --background &
jellyfin-mpv-shim &
killall eww
if [ $(hostname) = "syl" ]; then if [ $(hostname) = "syl" ]; then
style="laptop" style="laptop"
eww open bar0 & eww open bar0 &
@ -11,11 +24,3 @@ else
fi fi
eww open notifications & eww open notifications &
eww open sidebar & eww open sidebar &
rbw-agent &
systemctl --user restart jellyfin-mpv-shim.service &
systemctl --user restart nextcloud-client.service &
systemctl --user restart emacs.service &
/usr/lib/kdeconnectd &
nm-applet &
greenclip daemon &

View file

@ -123,14 +123,28 @@
command = "/home/chris/bin/hyprland"; command = "/home/chris/bin/hyprland";
user = "chris"; user = "chris";
}; };
default_session = initial_session; default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --window-padding 2 --cmd /home/chris/bin/hyprland";
user = "greeter";
};
plasma_session = {
command = "dbus-run-session startplasma-wayland";
user = "chris";
};
hyprland_session = { hyprland_session = {
command = "${pkgs.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed ${pkgs.plasma-workspace}/bin/startplasma-wayland"; command = "/home/chris/bin/hyprland";
user = "chris"; user = "chris";
}; };
}; };
}; };
environment.etc."greetd/environments".text = ''
/home/chris/bin/hyprland
fish
bash
dbus-run-session startplasma-wayland
'';
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
}; };

View file

@ -116,14 +116,28 @@
command = "/home/chris/bin/hyprland"; command = "/home/chris/bin/hyprland";
user = "chris"; user = "chris";
}; };
default_session = initial_session; default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --window-padding 2 --cmd /home/chris/bin/hyprland";
user = "greeter";
};
plasma_session = {
command = "dbus-run-session startplasma-wayland";
user = "chris";
};
hyprland_session = { hyprland_session = {
command = "${pkgs.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed ${pkgs.plasma-workspace}/bin/startplasma-wayland"; command = "/home/chris/bin/hyprland";
user = "chris"; user = "chris";
}; };
}; };
}; };
environment.etc."greetd/environments".text = ''
/home/chris/bin/hyprland
fish
bash
dbus-run-session startplasma-wayland
'';
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
}; };