basic i3 in kde setup
This commit is contained in:
parent
6450344ae2
commit
ded7406ee6
|
@ -11,6 +11,7 @@ in {
|
||||||
./git.nix
|
./git.nix
|
||||||
./gpg.nix
|
./gpg.nix
|
||||||
./hm-settings.nix
|
./hm-settings.nix
|
||||||
|
./i3.nix
|
||||||
./launcher.nix
|
./launcher.nix
|
||||||
./media.nix
|
./media.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
|
|
|
@ -68,6 +68,10 @@
|
||||||
fzf
|
fzf
|
||||||
bottom
|
bottom
|
||||||
virt-manager-qt
|
virt-manager-qt
|
||||||
|
i3
|
||||||
|
wmctrl
|
||||||
|
picom
|
||||||
|
xwallpaper
|
||||||
]) ++ [
|
]) ++ [
|
||||||
extra.agda
|
extra.agda
|
||||||
unstable.zoom-us
|
unstable.zoom-us
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
dbus-update-activation-environment DISPLAY XAUTHORITY
|
dbus-update-activation-environment DISPLAY XAUTHORITY
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
xwallpaper --focus ${extra.wall}
|
||||||
|
export KDEWM=i3
|
||||||
exec startplasma-x11
|
exec startplasma-x11
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
35
home-manager/i3.nix
Normal file
35
home-manager/i3.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{ extra, ... }:
|
||||||
|
{
|
||||||
|
home.file.".config/i3/config".text = ''
|
||||||
|
# i3 config file (v4)
|
||||||
|
exec --no-startup-id wmctrl -c Plasma
|
||||||
|
for_window [title="Desktop @*"] kill; floating enable; border none
|
||||||
|
|
||||||
|
exec --no-startup-id picom -b
|
||||||
|
|
||||||
|
gaps inner 10px
|
||||||
|
gaps outer 5px
|
||||||
|
|
||||||
|
for_window [class="plasmashell"] floating enable
|
||||||
|
for_window [class="Kmix"] floating enable; border none
|
||||||
|
for_window [class="kruler"] floating enable; border none
|
||||||
|
for_window [class="Plasma"] floating enable; border none
|
||||||
|
for_window [class="Klipper"] floating enable; border none
|
||||||
|
for_window [class="krunner"] floating enable; border none
|
||||||
|
for_window [class="Plasmoidviewer"] floating enable; border none
|
||||||
|
for_window [title="plasma-desktop"] floating enable; border none
|
||||||
|
for_window [class="plasmashell" window_type="notification"] floating enable, border none, move position 1450px 20px
|
||||||
|
no_focus [class="plasmashell" window_type="notification"]
|
||||||
|
|
||||||
|
for_window [window_role="pop-up"] floating enable
|
||||||
|
for_window [window_role="bubble"] floating enable
|
||||||
|
for_window [window_role="task_dialog"] floating enable
|
||||||
|
for_window [window_role="Preferences"] floating enable
|
||||||
|
for_window [window_role="About"] floating enable
|
||||||
|
for_window [window_type="dialog"] floating enable
|
||||||
|
for_window [window_type="menu"] floating enable
|
||||||
|
for_window [instance="__scratchpad"] floating enable
|
||||||
|
|
||||||
|
exec --no-startup-id xwallpaper --focus ${extra.wall}
|
||||||
|
'';
|
||||||
|
}
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
workspace = {
|
workspace = {
|
||||||
lookAndFeel = "org.kde.breezedark.desktop";
|
lookAndFeel = "org.kde.breezedark.desktop";
|
||||||
wallpaper = "${extra.wall}";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
kscreenlocker = {
|
kscreenlocker = {
|
||||||
|
@ -130,6 +129,10 @@
|
||||||
"Mouse"."X11LibInputXAccelProfileFlat" = true;
|
"Mouse"."X11LibInputXAccelProfileFlat" = true;
|
||||||
"Mouse"."XLbInptPointerAcceleration" = 0;
|
"Mouse"."XLbInptPointerAcceleration" = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
configFile."startkderc" = {
|
||||||
|
"General"."systemdBoot" = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user