fixed i3
This commit is contained in:
@@ -2,7 +2,7 @@ set $mod Mod4
|
|||||||
set $term kitty
|
set $term kitty
|
||||||
set $menu dmenu_run
|
set $menu dmenu_run
|
||||||
|
|
||||||
exec_always --no-startup-id xrandr --output DP-1 --mode 1920x1080 --rate 60 --pos 0x0 --rotate normal --output DP-2 --mode 1920x1080 --rate 60 --pos 1920x0 --rotate normal --output HDMI-A-1 --mode 1920x1080 --rate 60 --pos -1920x0 --rotate normal
|
exec --no-startup-id xrandr --output HDMI-1 --mode 1920x1080 --rate 60 --pos -1920x0 --output DP-1 --mode 1920x1080 --rate 60 --pos 0x0 --output DP-2 --mode 1920x1080 --rate 60 --pos 1920x0
|
||||||
|
|
||||||
font pango:FiraMono Nerd Font 10
|
font pango:FiraMono Nerd Font 10
|
||||||
|
|
||||||
@@ -58,3 +58,14 @@ bindsym $mod+Shift+p move container to workspace number 10
|
|||||||
|
|
||||||
# Logout menu
|
# Logout menu
|
||||||
bindsym $mod+Shift+a exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
bindsym $mod+Shift+a exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||||
|
|
||||||
|
# Reload
|
||||||
|
bindsym $mod+Shift+m reload
|
||||||
|
|
||||||
|
# Drag windows with titlebar
|
||||||
|
tiling_drag modifier titlebar
|
||||||
|
|
||||||
|
# Bar
|
||||||
|
bar {
|
||||||
|
status_command i3status
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
self,
|
|
||||||
inputs,
|
inputs,
|
||||||
moduleWithSystem,
|
moduleWithSystem,
|
||||||
...
|
...
|
||||||
@@ -7,7 +6,6 @@
|
|||||||
flake.nixosModules.i3 = moduleWithSystem ({
|
flake.nixosModules.i3 = moduleWithSystem ({
|
||||||
pkgs,
|
pkgs,
|
||||||
self',
|
self',
|
||||||
inputs',
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
@@ -20,18 +18,28 @@
|
|||||||
windowManager.i3 = {
|
windowManager.i3 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = self'.packages.i3;
|
package = self'.packages.i3;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs;
|
||||||
dmenu
|
[
|
||||||
i3status
|
dmenu
|
||||||
xinit
|
i3status
|
||||||
];
|
xinit
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
perSystem = {pkgs, ...}: {
|
perSystem = {pkgs, self', ...}: {
|
||||||
packages.i3 = inputs.wrappers.lib.wrapPackage ({...}: {
|
packages.i3 = inputs.wrappers.lib.wrapPackage ({...}: {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
package = pkgs.i3;
|
package = pkgs.i3;
|
||||||
|
runtimePkgs = with pkgs;
|
||||||
|
[
|
||||||
|
xrandr
|
||||||
|
firefox
|
||||||
|
]
|
||||||
|
++ (with self'.packages; [
|
||||||
|
kitty
|
||||||
|
nemo
|
||||||
|
]);
|
||||||
flags = {
|
flags = {
|
||||||
"-c" = ./config;
|
"-c" = ./config;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user