desktop: some sway/waybar/kanshi output/autostart work
This commit is contained in:
parent
098c9f44cc
commit
b8afc40769
@ -26,6 +26,7 @@
|
|||||||
right = "i";
|
right = "i";
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
floating.modifier = "Mod4";
|
floating.modifier = "Mod4";
|
||||||
|
floating.titlebar = true;
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
"type:keyboard" = {
|
"type:keyboard" = {
|
||||||
@ -63,7 +64,7 @@
|
|||||||
# scale = "1.3";
|
# scale = "1.3";
|
||||||
#};
|
#};
|
||||||
};
|
};
|
||||||
|
|
||||||
terminal = "${pkgs.alacritty}/bin/alacritty";
|
terminal = "${pkgs.alacritty}/bin/alacritty";
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
@ -86,28 +87,33 @@
|
|||||||
{ command = "gsettings set org.gnome.desktop.interface icon-theme ePapirus"; }
|
{ command = "gsettings set org.gnome.desktop.interface icon-theme ePapirus"; }
|
||||||
{ command = "gsettings set org.gnome.desktop.interface cursor-theme Adwaita"; }
|
{ command = "gsettings set org.gnome.desktop.interface cursor-theme Adwaita"; }
|
||||||
#{ command = "exec ${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"; }
|
#{ command = "exec ${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"; }
|
||||||
#{ command = "${pkgs.thunderbird}/bin/thunderbird"; }
|
{ command = "${pkgs.thunderbird}/bin/thunderbird"; }
|
||||||
#{ command = "${pkgs.firefox}/bin/firefox"; }
|
{ command = "${pkgs.firefox}/bin/firefox"; }
|
||||||
#{ command = "${pkgs.element}/bin/element-desktop"; }
|
{ command = "${pkgs.element}/bin/element-desktop"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
workspaceAutoBackAndForth = true;
|
workspaceAutoBackAndForth = true;
|
||||||
|
|
||||||
gaps.inner = 8;
|
gaps.inner = 8;
|
||||||
gaps.outer = 4;
|
gaps.outer = 4;
|
||||||
|
gaps.smartGaps = true;
|
||||||
|
gaps.smartBorders = "on";
|
||||||
|
|
||||||
#assigns = {
|
assigns = {
|
||||||
# "3: web" = [{ class = "$Firefox$"; }];
|
"workspace number 1" = [{ app_id = "thunderbird"; }];
|
||||||
# "2: mail" = [{ class = "$Thunderbird$"; }];
|
"workspace number 2" = [{ app_id = "firefox"; }];
|
||||||
# "4: im" = [{ class = "^Element$"; }];
|
"workspace number 3" = [{ class = "Element"; }];
|
||||||
#};
|
};
|
||||||
|
|
||||||
window.commands = [
|
window.commands = [
|
||||||
{ command = "floating enable"; criteria = { class = "Pavucontrol"; }; }
|
{ command = "floating enable"; criteria = { app_id = ".yubioath-flutter-wrapped"; }; }
|
||||||
{ command = "floating enable"; criteria = { class = "Galculator"; }; }
|
{ command = "floating enable"; criteria = { app_id = "pavucontrol"; }; }
|
||||||
{ command = "floating enable"; criteria = { class = "Nitrokey App"; }; }
|
{ command = "floating enable"; criteria = { app_id = "galculator"; }; }
|
||||||
{ command = "floating enable"; criteria = { class = "Yubico Authenticator"; }; }
|
{ command = "floating enable"; criteria = { app_id = "com.nitrokey."; }; }
|
||||||
{ command = "floating enable"; criteria = { window_role = "pop-up"; }; }
|
{ command = "floating enable"; criteria = { app_id = "org.keepassxc.KeePassXC."; }; }
|
||||||
|
{ command = "floating enable"; criteria = { app_id = "virt-manager"; }; }
|
||||||
|
{ command = "floating enable"; criteria = { class = "lxqt-openssh-askpass"; }; }
|
||||||
|
{ command = "floating enable"; criteria = { class = "pop-up"; }; }
|
||||||
];
|
];
|
||||||
|
|
||||||
bars = [
|
bars = [
|
||||||
@ -237,6 +243,14 @@
|
|||||||
#export WLR_NO_HARDWARE_CURSORS="1"; # For cursor in VM
|
#export WLR_NO_HARDWARE_CURSORS="1"; # For cursor in VM
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
set $output-primary HDMI-A-1
|
||||||
|
set $output-secondary DP-1
|
||||||
|
|
||||||
|
workspace 1 output $output-secondary
|
||||||
|
workspace 2 output $output-primary
|
||||||
|
workspace 3 output $output-secondary
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.swaylock.settings = {
|
programs.swaylock.settings = {
|
||||||
|
@ -221,7 +221,7 @@
|
|||||||
"thermal-zone" = 2;
|
"thermal-zone" = 2;
|
||||||
"hwmon-path" = "/sys/class/hwmon/hwmon3/temp1_input";
|
"hwmon-path" = "/sys/class/hwmon/hwmon3/temp1_input";
|
||||||
"format" = "{temperatureC}°C {icon}";
|
"format" = "{temperatureC}°C {icon}";
|
||||||
"format-icons" = ["" "" "" "" ""];
|
"format-icons" = ["❄" "❄" "" "" ""];
|
||||||
};
|
};
|
||||||
backlight = {
|
backlight = {
|
||||||
"format" = "{percent}% {icon}";
|
"format" = "{percent}% {icon}";
|
||||||
|
@ -10,20 +10,20 @@
|
|||||||
profiles = {
|
profiles = {
|
||||||
undocked = {
|
undocked = {
|
||||||
outputs = [
|
outputs = [
|
||||||
{ criteria = "eDP-1"; status = "enable"; }
|
{ criteria = "eDP-1"; status = "enable"; mode = "1920x1080"; position = "0,0"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
docked_c = {
|
docked_c = {
|
||||||
outputs = [
|
outputs = [
|
||||||
{ criteria = "eDP-1"; status = "enable"; }
|
{ criteria = "eDP-1"; status = "enable"; mode = "1920x1080"; position = "2560,0"; }
|
||||||
{ criteria = "DP-1"; status = "enable"; }
|
{ criteria = "HDMI-A-1"; status = "enable"; mode = "2560x1080"; position = "0,0"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
docked_triple = {
|
docked_triple = {
|
||||||
outputs = [
|
outputs = [
|
||||||
{ criteria = "eDP-1"; status = "enable"; }
|
{ criteria = "eDP-1"; status = "disable"; mode = "1920x1080"; position = "4480,0"; }
|
||||||
{ criteria = "DP-1"; status = "enable"; }
|
{ criteria = "DP-1"; status = "enable"; mode = "1920x1080"; position = "0,0"; }
|
||||||
{ criteria = "HDMI-A-1"; status = "enable"; }
|
{ criteria = "HDMI-A-1"; status = "enable"; mode = "2560x1080"; position = "1920,0"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user