updates to desktop stuff

This commit is contained in:
Chris Cochrun 2023-01-12 09:49:44 -06:00
parent 1e6b8c68ab
commit 2c0699c544
8 changed files with 18 additions and 13 deletions

View file

@ -78,7 +78,7 @@ with lib;
user = "chris";
};
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --window-padding 2 --cmd 'dbus-run-session startplasma-wayland'";
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --window-padding 2 --cmd /home/chris/bin/hyprland -s /etc/greetd/environments";
user = "greeter";
};
plasma_session = {
@ -94,9 +94,9 @@ with lib;
environment.etc."greetd/environments".text = ''
/home/chris/bin/hyprland
dbus-run-session startplasma-wayland
fish
bash
dbus-run-session startplasma-wayland
'';
programs.hyprland = {

View file

@ -51,6 +51,7 @@ with lib;
wlrctl
hyprpaper
swaylock-fancy
swayidle
aha
glxinfo
vulkan-tools
@ -118,7 +119,7 @@ with lib;
python3
airshipper
# hyprland
(import /home/chris/.dotfiles/ydotool { inherit lib stdenv util-linux cmake scdoc fetchFromGitHub; })
(callPackage ../ydotool { })
# (libsForQt5.callPackage /home/chris/dev/LightlyShaders {}) # LightlyShaders
# (libsForQt5.callPackage /home/chris/dev/church-presenter {}) # librepresenter
nix-index

View file

@ -4,7 +4,7 @@
imports =
[
./hardware-configuration.nix
/etc/nixos/cachix.nix
../../cachix/default.nix
../../pkgs/base-packages.nix
../../pkgs/desktop-packages.nix
../../modules/base.nix

View file

@ -257,7 +257,6 @@
services.espanso = {
enable = true;
settings = {
toggle_key = "RIGHT_CTRL";
matches = [
{ # dates

View file

@ -109,12 +109,12 @@
windowrule=float,dolphin
${if builtins.readFile "/etc/hostname" == "syl\n" then "# this is a kaladin space" else "windowrule=workspace 1,mpv"}
windowrule=float,mpv
${if builtins.readFile "/etc/hostname" == "syl\n" then "windowrule=size 90% 76%,mpv" else "windowrule=size 85% 85%,mpv"}
windowrule=size ${if builtins.readFile "/etc/hostname" == "syl\n" then "90% 76%" else "85% 85%"},mpv
windowrule=center,mpv
windowrule=pin,mpv
windowrule=float,pulsemixer
windowrule=workspace 1,firefox
windowrule=workspace 2,emacs
windowrule=workspace ${if builtins.readFile "/etc/hostname" == "syl\n" then "2" else "1"},firefox
windowrule=workspace ${if builtins.readFile "/etc/hostname" == "syl\n" then "1" else "2"},emacs
windowrule=float,btop
windowrule=size 70% 70%,btop
windowrule=center,btop
@ -210,6 +210,7 @@
exec-once = dbus-update-activation-environment --systemd --all
exec-once = jellyfin-mpv-shim
exec-once = hyprctl setcursor phinger-cursors-light
'';
exec-once = swayidle -w timeout 600 "swaylock-fancy -t Password: -f 'VictorMono Nerd Font' -F" timeout 1200 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep "swaylock-fancy -t Password: -f 'VictorMono Nerd Font' -F"
'';
};
}

View file

@ -5,5 +5,8 @@ parse_action=true
allow_images=true
dynamic_lines=true
term=alacritty
normal_window=true
no_actions=true
key_forward=Control_L-j
key_backward=Control_L-k
key_backward=Control_L-k
key_expand=Tab

View file

@ -19,6 +19,7 @@
window {
margin: 100px;
background-color: @base00;
/* border-radius: 20px; */
}
#input {

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "ydotool";
version = "1.0.2";
version = "1.0.3";
src = fetchFromGitHub {
owner = "ReimuNotMoe";
repo = "ydotool";
rev = "1d5d227e3a6dc9b70147960e99f17695d9f6804e";
sha256 = "sha256-maXXGCqB8dkGO8956hsKSwM4HQdYn6z1jBFENQ9sKcA=";
rev = "v${version}";
sha256 = "sha256-RcPHQFXD3YgfF11OFpcnSowPlEjxy2c2RWhGYr30GhI=";
};
strictDeps = true;