aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny/desktop/wm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--users/fcuny/desktop/wm/default.nix (renamed from users/fcuny/desktop/sway/default.nix)54
1 files changed, 16 insertions, 38 deletions
diff --git a/users/fcuny/desktop/sway/default.nix b/users/fcuny/desktop/wm/default.nix
index 2aa5731..0880b1c 100644
--- a/users/fcuny/desktop/sway/default.nix
+++ b/users/fcuny/desktop/wm/default.nix
@@ -2,10 +2,11 @@
{
imports = [
- ./i3status.nix
- ./sway-idle.nix
- ./wofi.nix
+ ./bar.nix
./gammastep.nix
+ ./launcher.nix
+ ./screenlock.nix
+ ./screenshot.nix
];
home.packages = [
@@ -40,43 +41,10 @@
"Source Code Pro"
"Font Awesome 5 Free"
];
- size = 9.0;
- style = "Bold";
+ size = 10.0;
};
- extraConfig = ''
- position top
- '';
+ position = "top";
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ~/.config/i3status-rust/config-default.toml";
- colors = {
- background = "#000000";
- statusline = "#88C0D0";
- separator = "#3B4252";
- focusedWorkspace = {
- border = "#88C0D0";
- background = "#88C0D0";
- text = "#2E3440";
- };
- activeWorkspace = {
- border = "#4C566ADD";
- background = "#4C566ADD";
- text = "#D8DEE9";
- };
- inactiveWorkspace = {
- border = "#000000";
- background = "#000000";
- text = "#E5E9F0";
- };
- urgentWorkspace = {
- border = "#B48EAD";
- background = "#B48EAD";
- text = "#ECEFF4";
- };
- bindingMode = {
- border = "#BF616A";
- background = "#BF616A";
- text = "#E5E9F0";
- };
- };
}
];
fonts = {
@@ -90,7 +58,16 @@
"XF86AudioMicMute" = "exec ${pkgs.pulseaudio}/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle";
"XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%-";
"XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +5%";
+ "${modifier}+s" = "exec ${pkgs.grim}/bin/grim $(xdg-user-dir DOCUMENTS)/screenshots/$(date +'%Y-%m-%d-%H%M%S_screenshot.png')";
+ "${modifier}+Shift+s" = "exec ${pkgs.slurp}/bin/slurp | ${pkgs.grim}/bin/grim -g - $(xdg-user-dir DOCUMENTS)/screenshots/$(date +'%Y-%m-%d-%H%M%S_screenshot.png')";
};
+ window.commands = [
+ # pavucontrol
+ {
+ command = "floating enable";
+ criteria.app_id = "pavucontrol";
+ }
+ ];
input = {
"*" = {
"xkb_layout" = "us,fr";
@@ -101,6 +78,7 @@
output = {
"*" = {
scale = "1.5";
+ bg = "#32324b solid_color";
};
# This is for aptos
"eDP-1" = {