qol improvements
This commit is contained in:
parent
baec407444
commit
73ce9e321f
|
@ -84,12 +84,12 @@ with lib;
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = rec {
|
settings = rec {
|
||||||
initial_session = {
|
initial_session = {
|
||||||
# command = "hyprland";
|
command = "hyprland";
|
||||||
command = "dbus-run-session startplasma-wayland";
|
# command = "dbus-run-session startplasma-wayland";
|
||||||
user = "chris";
|
user = "chris";
|
||||||
};
|
};
|
||||||
default_session = {
|
default_session = {
|
||||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --window-padding 2 --cmd 'dbus-run-session startplasma-wayland' -s /etc/greetd/environments";
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --window-padding 2 --cmd 'hyprland' -s /etc/greetd/environments";
|
||||||
user = "greeter";
|
user = "greeter";
|
||||||
};
|
};
|
||||||
plasma_session = {
|
plasma_session = {
|
||||||
|
|
|
@ -22,7 +22,7 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
echo WAYLAND
|
echo WAYLAND
|
||||||
emacsrg=$(wlrctl window list | rg emacs | rg -v dired)
|
emacsrg=$(wlrctl window list | rg "emacs:" | rg -v dired)
|
||||||
echo $emacsrg
|
echo $emacsrg
|
||||||
|
|
||||||
emacswin=$(echo $emacsrg | sed 's/.*\: //')
|
emacswin=$(echo $emacsrg | sed 's/.*\: //')
|
||||||
|
@ -35,9 +35,9 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
|
||||||
|
|
||||||
else
|
else
|
||||||
if [ $(pgrep -c emacs) -gt 0 ]; then
|
if [ $(pgrep -c emacs) -gt 0 ]; then
|
||||||
alacritty -e emacs --daemon
|
|
||||||
exec emacsclient -c &
|
exec emacsclient -c &
|
||||||
else
|
else
|
||||||
|
alacritty -e emacs --daemon
|
||||||
exec emacsclient -c &
|
exec emacsclient -c &
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -15,14 +15,6 @@ batmon &
|
||||||
|
|
||||||
killall eww
|
killall eww
|
||||||
|
|
||||||
if [ $(hostname) = "syl" ]; then
|
eww open bar0 &
|
||||||
style="laptop"
|
|
||||||
eww open bar0 &
|
|
||||||
#echo "this is hidpi"
|
|
||||||
else
|
|
||||||
style="desktop"
|
|
||||||
eww open bar1 &
|
|
||||||
#echo "this is not hidpi"
|
|
||||||
fi
|
|
||||||
eww open notifications &
|
eww open notifications &
|
||||||
eww open sidebar &
|
eww open sidebar &
|
||||||
|
|
Loading…
Reference in a new issue