attempt at fixing wayland on plasma with kaladin

This commit is contained in:
Chris Cochrun 2022-07-05 16:46:05 -05:00
parent 2635e8f930
commit b859c4bd4d
4 changed files with 31 additions and 9 deletions

View file

@ -249,6 +249,7 @@ gzip
usbutils usbutils
binutils binutils
hunspell hunspell
caffeine-ng
hunspellDicts.en_US hunspellDicts.en_US
git git
transmission transmission
@ -350,6 +351,7 @@ python
Here are some dev tools that I often have on a few devices. Here are some dev tools that I often have on a few devices.
#+NAME: dev-tools #+NAME: dev-tools
#+begin_src nix #+begin_src nix
direnv
android-tools android-tools
nix-index nix-index
meson meson
@ -428,7 +430,7 @@ Emacs service
#+begin_src nix #+begin_src nix
services.emacs = { services.emacs = {
enable = true; enable = true;
package = with pkgs; ((emacsPackagesFor emacsNativeComp).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 ]));
}; };
#+end_src #+end_src
@ -703,7 +705,13 @@ Kaladin is my desktop machine. A powerhouse for the most part with a recent i7 a
# NVIDIA # NVIDIA
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
hardware = { hardware = {
opengl.enable = true; opengl = {
enable = true;
extraPackages = with pkgs; [
vaapiVdpau
libvdpau-va-gl
];
};
nvidia.modesetting.enable = true; nvidia.modesetting.enable = true;
}; };
@ -765,7 +773,7 @@ Kaladin is my desktop machine. A powerhouse for the most part with a recent i7 a
<<general-packages>> <<general-packages>>
blender blender
neofetch neofetch
ethminer # ethminer
lutris lutris
protonup protonup
# Dev tools # Dev tools

View file

@ -6,8 +6,12 @@ num=$(dbus-send --print-reply --dest=org.kde.KWin \
/Scripting org.kde.kwin.Scripting.loadScript \ /Scripting org.kde.kwin.Scripting.loadScript \
string:"$script" | awk 'END {print $2}' ) string:"$script" | awk 'END {print $2}' )
dbus-send --print-reply --dest=org.kde.KWin /$num \ echo $num
org.kde.kwin.Script.run
wins=$(dbus-send --print-reply --dest=org.kde.KWin /$num \
org.kde.kwin.Script.run | sed 's/p/p/')
echo $wins
# I'm not sure if some delay is in order here to let your script complete? # I'm not sure if some delay is in order here to let your script complete?
sleep 1 sleep 1
dbus-send --print-reply --dest=org.kde.KWin /$num \ dbus-send --print-reply --dest=org.kde.KWin /$num \

View file

@ -49,7 +49,13 @@
# NVIDIA # NVIDIA
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
hardware = { hardware = {
opengl.enable = true; opengl = {
enable = true;
extraPackages = with pkgs; [
vaapiVdpau
libvdpau-va-gl
];
};
nvidia.modesetting.enable = true; nvidia.modesetting.enable = true;
}; };
@ -161,6 +167,7 @@
usbutils usbutils
binutils binutils
hunspell hunspell
caffeine-ng
hunspellDicts.en_US hunspellDicts.en_US
git git
transmission transmission
@ -259,10 +266,11 @@
# hyprland # hyprland
blender blender
neofetch neofetch
ethminer # ethminer
lutris lutris
protonup protonup
# Dev tools # Dev tools
direnv
android-tools android-tools
nix-index nix-index
meson meson
@ -329,7 +337,7 @@
services.emacs = { services.emacs = {
enable = true; enable = true;
package = with pkgs; ((emacsPackagesFor emacsNativeComp).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 ]));
}; };
services.samba-wsdd.enable = true; services.samba-wsdd.enable = true;
services.samba = { services.samba = {

View file

@ -175,6 +175,7 @@
usbutils usbutils
binutils binutils
hunspell hunspell
caffeine-ng
hunspellDicts.en_US hunspellDicts.en_US
git git
transmission transmission
@ -280,6 +281,7 @@
fet-sh fet-sh
macchina macchina
# Dev tools # Dev tools
direnv
android-tools android-tools
nix-index nix-index
meson meson
@ -346,7 +348,7 @@
services.emacs = { services.emacs = {
enable = true; enable = true;
package = with pkgs; ((emacsPackagesFor emacsNativeComp).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 ]));
}; };
services.samba-wsdd.enable = true; services.samba-wsdd.enable = true;
services.samba = { services.samba = {