This commit is contained in:
2024-06-11 17:11:49 +01:00
parent d7549af76f
commit 3b6a816df6
6 changed files with 90 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
{config, ...}: {
imports = [
# ./i3
./i3
# ./i3status-rust
# ./polybar
./hyprland

View File

@@ -64,7 +64,7 @@ in {
fonts = {
size = 11.0;
};
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs /home/daniel/.config/i3status-rust/config-main.toml";
# statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs /home/daniel/.config/i3status-rust/config-main.toml";
position = "top";
}
];
@@ -205,14 +205,14 @@ in {
modifier = mod;
startup = [
{
command = "$HOME/bin/scripts/flower";
always = true;
}
{
command = "feh --bg-fill $HOME/wallpapers/wallpaper.jpg";
always = false;
}
# {
# command = "$HOME/bin/scripts/flower";
# always = true;
# }
# {
# command = "feh --bg-fill $HOME/wallpapers/wallpaper.jpg";
# always = false;
# }
];
terminal = "kitty";

View File

@@ -9,7 +9,7 @@
wlr-randr
];
wayland.windowManager.river = {
enable = true;
enable = false;
package = pkgs.river.overrideAttrs (finalAttrs: previousAttrs: {
version = "2024-11-04";

View File

@@ -30,6 +30,19 @@ in {
};
wayland.windowManager.sway = {
enable = true;
extraOptions = [
"--unsupported-gpu"
];
checkConfig = false;
extraSessionCommands = ''
export WLR_RENDERER=vulkan
export WLR_NO_HARDWARE_CURSORS=1
export XWAYLAND_NO_GLAMOR=1
export LIBVA_DRIVER_NAME=nvidia
export XDG_SESSION_TYPE=wayland
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
'';
config = {
bars = [
{
@@ -88,11 +101,22 @@ in {
eDP-1 = {
scale = "1.33";
};
DP-2 = {
position = "0 0";
scale = "1.33";
};
HDMI-A-2 = {
scale = "1.33";
};
};
keybindings = {
"${mod}+Return" = "exec kitty";
"${mod}+q" = "${closer}/bin/closer";
"${mod}+d" = "exec tofi-drun --drun-launch=true";
"${hyper}+Return" = "exec kitty";
"${hyper}+q" = "${closer}/bin/closer";
"${hyper}+d" = "exec tofi-drun --drun-launch=true";
"${mod}+h" = "focus left";
"${mod}+j" = "focus down";