mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
workstation added
This commit is contained in:
parent
7b11ac39c8
commit
ec56fef89b
12 changed files with 355 additions and 94 deletions
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue