Compare commits
No commits in common. "e72e9a26884f4dfecd681eec9285874156477028" and "b8cd22e425cf4f419f616de261a28d687f12a63b" have entirely different histories.
e72e9a2688
...
b8cd22e425
4 changed files with 7 additions and 33 deletions
|
@ -37,6 +37,8 @@ in
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
|
# Always pick the first monitor, this is fine since I only ever use a single monitor
|
||||||
|
wlr.settings.screencast.chooser_type = "none";
|
||||||
# gtk portal needed to make gtk apps happy
|
# gtk portal needed to make gtk apps happy
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||||
};
|
};
|
||||||
|
@ -72,7 +74,7 @@ in
|
||||||
user = "lelgenio";
|
user = "lelgenio";
|
||||||
};
|
};
|
||||||
default_session = {
|
default_session = {
|
||||||
command = "dbus-run-session -- ${pkgs.sway}/bin/sway --config ${swayConfig}";
|
command = "${pkgs.sway}/bin/sway --config ${swayConfig}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -76,19 +76,10 @@ in
|
||||||
};
|
};
|
||||||
output = {
|
output = {
|
||||||
"*" = {
|
"*" = {
|
||||||
|
adaptive_sync = "on";
|
||||||
bg = "${theme.background} fill";
|
bg = "${theme.background} fill";
|
||||||
};
|
|
||||||
"AOC 24G2W1G4 ATNM6XA004804" = {
|
|
||||||
position = "0,0";
|
|
||||||
adaptive_sync = "on";
|
|
||||||
mode = "1920x1080@144.000Hz";
|
mode = "1920x1080@144.000Hz";
|
||||||
};
|
};
|
||||||
"LG Electronics 25UM58G 0x01010101" = {
|
|
||||||
position = "1920,215";
|
|
||||||
adaptive_sync = "on";
|
|
||||||
scale = "1.2";
|
|
||||||
mode = "2560x1080@74.991Hz";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
fonts = {
|
fonts = {
|
||||||
names = [ font.interface ];
|
names = [ font.interface ];
|
||||||
|
|
|
@ -8,24 +8,6 @@ in
|
||||||
config.services.kanshi = lib.mkIf cfg.enable {
|
config.services.kanshi = lib.mkIf cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = [
|
settings = [
|
||||||
{
|
|
||||||
profile = {
|
|
||||||
name = "home";
|
|
||||||
outputs = [
|
|
||||||
{
|
|
||||||
criteria = "AOC 24G2W1G4 ATNM6XA004804";
|
|
||||||
position = "0,0";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
criteria = "LG Electronics 25UM58G 0x01010101";
|
|
||||||
position = "1920,215";
|
|
||||||
scale = 1.2;
|
|
||||||
mode = "2560x1080@74.991Hz";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
exec = [ "xrdb .Xresources" ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
profile = {
|
profile = {
|
||||||
name = "sedetary";
|
name = "sedetary";
|
||||||
|
|
|
@ -110,8 +110,6 @@ let
|
||||||
"${mod}+Control+${keyBind}" = "resize ${resize_cmd}";
|
"${mod}+Control+${keyBind}" = "resize ${resize_cmd}";
|
||||||
# focus output
|
# focus output
|
||||||
"${mod}+mod1+${keyBind}" = "focus output ${direction}";
|
"${mod}+mod1+${keyBind}" = "focus output ${direction}";
|
||||||
# Move window to output
|
|
||||||
"${mod}+mod1+Control+${keyBind}" = "move window output ${direction}; focus output ${direction}";
|
|
||||||
# Move workspace to output
|
# Move workspace to output
|
||||||
"${mod}+mod1+Shift+${keyBind}" = "move workspace output ${direction}";
|
"${mod}+mod1+Shift+${keyBind}" = "move workspace output ${direction}";
|
||||||
}
|
}
|
||||||
|
@ -127,8 +125,9 @@ let
|
||||||
"${mod}+v" = "splitv";
|
"${mod}+v" = "splitv";
|
||||||
"${mod}+a" = "focus parent";
|
"${mod}+a" = "focus parent";
|
||||||
|
|
||||||
"${mod}+Shift+z" = "move scratchpad";
|
## TODO:
|
||||||
"${mod}+z" = "scratchpad show";
|
# "${mod}+Shift+minus" = "move scratchpad";
|
||||||
|
# "${mod}+minus" = "scratchpad show";
|
||||||
};
|
};
|
||||||
|
|
||||||
audio_binds = {
|
audio_binds = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue