updates to desktop stuff
This commit is contained in:
parent
1e6b8c68ab
commit
2c0699c544
|
@ -78,7 +78,7 @@ with lib;
|
||||||
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'";
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --window-padding 2 --cmd /home/chris/bin/hyprland -s /etc/greetd/environments";
|
||||||
user = "greeter";
|
user = "greeter";
|
||||||
};
|
};
|
||||||
plasma_session = {
|
plasma_session = {
|
||||||
|
@ -94,9 +94,9 @@ with lib;
|
||||||
|
|
||||||
environment.etc."greetd/environments".text = ''
|
environment.etc."greetd/environments".text = ''
|
||||||
/home/chris/bin/hyprland
|
/home/chris/bin/hyprland
|
||||||
|
dbus-run-session startplasma-wayland
|
||||||
fish
|
fish
|
||||||
bash
|
bash
|
||||||
dbus-run-session startplasma-wayland
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
|
|
|
@ -51,6 +51,7 @@ with lib;
|
||||||
wlrctl
|
wlrctl
|
||||||
hyprpaper
|
hyprpaper
|
||||||
swaylock-fancy
|
swaylock-fancy
|
||||||
|
swayidle
|
||||||
aha
|
aha
|
||||||
glxinfo
|
glxinfo
|
||||||
vulkan-tools
|
vulkan-tools
|
||||||
|
@ -118,7 +119,7 @@ with lib;
|
||||||
python3
|
python3
|
||||||
airshipper
|
airshipper
|
||||||
# hyprland
|
# 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/LightlyShaders {}) # LightlyShaders
|
||||||
# (libsForQt5.callPackage /home/chris/dev/church-presenter {}) # librepresenter
|
# (libsForQt5.callPackage /home/chris/dev/church-presenter {}) # librepresenter
|
||||||
nix-index
|
nix-index
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
/etc/nixos/cachix.nix
|
../../cachix/default.nix
|
||||||
../../pkgs/base-packages.nix
|
../../pkgs/base-packages.nix
|
||||||
../../pkgs/desktop-packages.nix
|
../../pkgs/desktop-packages.nix
|
||||||
../../modules/base.nix
|
../../modules/base.nix
|
||||||
|
|
|
@ -257,7 +257,6 @@
|
||||||
services.espanso = {
|
services.espanso = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
toggle_key = "RIGHT_CTRL";
|
toggle_key = "RIGHT_CTRL";
|
||||||
matches = [
|
matches = [
|
||||||
{ # dates
|
{ # dates
|
||||||
|
|
|
@ -109,12 +109,12 @@
|
||||||
windowrule=float,dolphin
|
windowrule=float,dolphin
|
||||||
${if builtins.readFile "/etc/hostname" == "syl\n" then "# this is a kaladin space" else "windowrule=workspace 1,mpv"}
|
${if builtins.readFile "/etc/hostname" == "syl\n" then "# this is a kaladin space" else "windowrule=workspace 1,mpv"}
|
||||||
windowrule=float,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=center,mpv
|
||||||
windowrule=pin,mpv
|
windowrule=pin,mpv
|
||||||
windowrule=float,pulsemixer
|
windowrule=float,pulsemixer
|
||||||
windowrule=workspace 1,firefox
|
windowrule=workspace ${if builtins.readFile "/etc/hostname" == "syl\n" then "2" else "1"},firefox
|
||||||
windowrule=workspace 2,emacs
|
windowrule=workspace ${if builtins.readFile "/etc/hostname" == "syl\n" then "1" else "2"},emacs
|
||||||
windowrule=float,btop
|
windowrule=float,btop
|
||||||
windowrule=size 70% 70%,btop
|
windowrule=size 70% 70%,btop
|
||||||
windowrule=center,btop
|
windowrule=center,btop
|
||||||
|
@ -210,6 +210,7 @@
|
||||||
exec-once = dbus-update-activation-environment --systemd --all
|
exec-once = dbus-update-activation-environment --systemd --all
|
||||||
exec-once = jellyfin-mpv-shim
|
exec-once = jellyfin-mpv-shim
|
||||||
exec-once = hyprctl setcursor phinger-cursors-light
|
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"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,5 +5,8 @@ parse_action=true
|
||||||
allow_images=true
|
allow_images=true
|
||||||
dynamic_lines=true
|
dynamic_lines=true
|
||||||
term=alacritty
|
term=alacritty
|
||||||
|
normal_window=true
|
||||||
|
no_actions=true
|
||||||
key_forward=Control_L-j
|
key_forward=Control_L-j
|
||||||
key_backward=Control_L-k
|
key_backward=Control_L-k
|
||||||
|
key_expand=Tab
|
|
@ -19,6 +19,7 @@
|
||||||
window {
|
window {
|
||||||
margin: 100px;
|
margin: 100px;
|
||||||
background-color: @base00;
|
background-color: @base00;
|
||||||
|
/* border-radius: 20px; */
|
||||||
}
|
}
|
||||||
|
|
||||||
#input {
|
#input {
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ydotool";
|
pname = "ydotool";
|
||||||
version = "1.0.2";
|
version = "1.0.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ReimuNotMoe";
|
owner = "ReimuNotMoe";
|
||||||
repo = "ydotool";
|
repo = "ydotool";
|
||||||
rev = "1d5d227e3a6dc9b70147960e99f17695d9f6804e";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-maXXGCqB8dkGO8956hsKSwM4HQdYn6z1jBFENQ9sKcA=";
|
sha256 = "sha256-RcPHQFXD3YgfF11OFpcnSowPlEjxy2c2RWhGYr30GhI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
Loading…
Reference in a new issue