workstation added

This commit is contained in:
Bryan Ramos 2025-01-21 10:03:51 -05:00
parent 7b11ac39c8
commit ec56fef89b
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
12 changed files with 355 additions and 94 deletions

View file

@ -22,8 +22,9 @@ in
"$menu" = "rofi -show drun -show-icons -drun-icon-theme Qogir -font 'Noto Sans 14'";
monitor = [
"HDMI-A-1, 1920x1080, 0x0, 1"
"DP-1, 1920x1080, 1920x0, 1"
"DP-2, 3440x1440, 0x0, 1"
#"HDMI-A-1, 1920x1080, 0x0, 1"
#"DP-1, 1920x1080, 1920x0, 1"
];
exec-once = [

View file

@ -23,21 +23,23 @@ in
'';
config = {
defaultWorkspace = "workspace number 1";
fonts = {
names = [ "Terminus" ];
};
output = {
HDMI-A-1 = {
resolution = "1920x1080";
#HDMI-A-1 = {
# resolution = "1920x1080";
# position = "0,0";
# bg = "${wallpaper} fill";
#};
DP-2 = {
resolution = "3440x1440@59.973Hz";
position = "0,0";
bg = "${wallpaper} fill";
};
DP-1 = {
resolution = "1920x1080";
position = "1920,0";
bg = "${wallpaper} fill";
};
};
modifier = "Mod1";
menu = "rofi -show drun -show-icons -drun-icon-theme Qogir -font 'Noto Sans 14'";
@ -60,7 +62,7 @@ in
statusCommand = ''while :; do echo "$(free -h | awk '/^Mem/ {print $3}') '|' $(date +'%I:%M:%S %p') '|' $(date +'%m-%d-%Y')"; sleep 1; done'';
fonts = {
names = [ "Terminus" ];
size = 10.0;
size = 12.0;
};
colors = {
background = "#0A0E14";
@ -92,7 +94,7 @@ in
keybindings = lib.mkOptionDefault {
"${modifier}+q" = "kill";
"Print" = "exec grim ~/Pictures/screenshot-$(date +'%Y%m%d-%H%M%S').png";
"Shift+Print" = "exec grim -g \"$(slurp)\" ~/Pictures/screenshot-$(date +'%Y%m%d-%H%M%S').png";
"${modifier}+Shift+Print" = "exec grim -g \"$(slurp)\" ~/Pictures/screenshot-$(date +'%Y%m%d-%H%M%S').png";
"${modifier}+Print" = ''exec sh -c 'grim -g "$(swaymsg -t get_tree | jq -j '"'"'.. | select(.type?) | select(.focused).rect | "\(.x),\(.y) \(.width)x\(.height)"'"'"')" ~/Pictures/screenshot-$(date +'%Y%m%d-%H%M%S').png' '';
"${modifier}+Shift+f" = "exec alacritty -e sh -c 'EDITOR=nvim ranger'";
"${modifier}+Shift+d" = "exec rofi -modi emoji -show emoji";
@ -100,7 +102,7 @@ in
};
extraConfig = ''
exec_always ${pkgs.autotiling}/bin/autotiling
exec_always ${pkgs.autotiling}/bin/autotiling --limit 2
'';
};