fixing small annoyances

This commit is contained in:
Chris Cochrun 2022-09-16 15:14:23 -05:00
parent 08db8e3b56
commit d7f84eb77b
4 changed files with 7 additions and 9 deletions

View file

@ -648,14 +648,13 @@ Notice how I am including all of my software here. It may be a big file, but hav
(import (builtins.fetchTarball { (import (builtins.fetchTarball {
url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz; url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz;
sha256 = "1wjp97qkq32y7bkajy3v3m4n2igxwzim7v4wbf5wphhsxqbsvir8";
})) }))
<<overlays>> <<overlays>>
]; ];
services.emacs = { services.emacs = {
enable = false; enable = true;
package = with pkgs; ((emacsPackagesFor emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ])); package = with pkgs; ((emacsPackagesFor emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
}; };
@ -1769,7 +1768,7 @@ I also use home-manager for managing dotfiles. This means that everything is con
jellyfin-mpv-shim = { jellyfin-mpv-shim = {
Unit = { Unit = {
Description = "Play Jellyfin media in mpv"; Description = "Play Jellyfin media in mpv";
After = "network.target"; After = "graphical-session-pre.target";
}; };
Service = { Service = {
@ -1798,7 +1797,7 @@ I also use home-manager for managing dotfiles. This means that everything is con
nextlcoud-client = { nextlcoud-client = {
Unit = { Unit = {
Description = "Nextcloud Client"; Description = "Nextcloud Client";
After = [ "plasma-workspace.target" ]; After = [ "graphical-session.target" ];
# PartOf = [ "plasma-workspace.target" ]; # PartOf = [ "plasma-workspace.target" ];
}; };

View file

@ -21,7 +21,7 @@ if [ $(pgrep -c firefox) -gt 0 ]; then
else else
if [ "$KDE_FULL_SESSION" = "true" ]; then if [ "$KDE_FULL_SESSION" = "true" ]; then
echo "KDE" echo "KDE"
exec /home/chris/bin/ww -f firefox -c firefox exec /home/chris/bin/ww -fa firefox -c firefox
exit exit
else else
# WAYLAND # WAYLAND

View file

@ -360,7 +360,6 @@
(import (builtins.fetchTarball { (import (builtins.fetchTarball {
url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz; url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz;
sha256 = "1wjp97qkq32y7bkajy3v3m4n2igxwzim7v4wbf5wphhsxqbsvir8";
})) }))
(self: super: (self: super:
@ -391,7 +390,7 @@
]; ];
services.emacs = { services.emacs = {
enable = false; enable = true;
package = with pkgs; ((emacsPackagesFor emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ])); package = with pkgs; ((emacsPackagesFor emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
}; };

View file

@ -507,7 +507,7 @@
jellyfin-mpv-shim = { jellyfin-mpv-shim = {
Unit = { Unit = {
Description = "Play Jellyfin media in mpv"; Description = "Play Jellyfin media in mpv";
After = "network.target"; After = "graphical-session-pre.target";
}; };
Service = { Service = {
@ -536,7 +536,7 @@
nextlcoud-client = { nextlcoud-client = {
Unit = { Unit = {
Description = "Nextcloud Client"; Description = "Nextcloud Client";
After = [ "plasma-workspace.target" ]; After = [ "graphical-session.target" ];
# PartOf = [ "plasma-workspace.target" ]; # PartOf = [ "plasma-workspace.target" ];
}; };