made things compatible for 4k screen
This commit is contained in:
26
gridlock.nix
Normal file
26
gridlock.nix
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
darktable
|
||||||
|
];
|
||||||
|
programs.i3status.modules = lib.mkForce {
|
||||||
|
"volume master".position = 1;
|
||||||
|
"wireless wlp6s0" = {
|
||||||
|
position = 2;
|
||||||
|
settings = {
|
||||||
|
format_up = "%essid %bitrate";
|
||||||
|
format_down = "down";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"time" = {
|
||||||
|
position = 4;
|
||||||
|
settings = {
|
||||||
|
format = "%a, %d.%m.%Y - %H:%M ★ ";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
xsession.windowManager.i3.extraConfig = ''
|
||||||
|
exec xrandr --output DisplayPort-0 --scale 0.75x0.75
|
||||||
|
'';
|
||||||
|
}
|
||||||
19
home.nix
19
home.nix
@@ -74,6 +74,9 @@
|
|||||||
gnupg
|
gnupg
|
||||||
i3lock-blur
|
i3lock-blur
|
||||||
xclip
|
xclip
|
||||||
|
firefox
|
||||||
|
thunderbird
|
||||||
|
rofi
|
||||||
];
|
];
|
||||||
programs.taskwarrior = {
|
programs.taskwarrior = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -123,12 +126,6 @@
|
|||||||
};
|
};
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/sway/xenia.png".source = ./xenia.png;
|
".config/sway/xenia.png".source = ./xenia.png;
|
||||||
"waybar" = {
|
|
||||||
source = ./waybar;
|
|
||||||
target = ".config/waybar";
|
|
||||||
recursive = true;
|
|
||||||
onChange = "/run/current-system/sw/bin/swaymsg reload";
|
|
||||||
};
|
|
||||||
".config/gtk-3.0/settings.ini".text = ''
|
".config/gtk-3.0/settings.ini".text = ''
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-application-prefer-dark-theme=1
|
gtk-application-prefer-dark-theme=1
|
||||||
@@ -154,7 +151,7 @@
|
|||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
xsession.windowManager.i3.enable = true;
|
xsession.windowManager.i3.enable = true;
|
||||||
xsession.windowManager.i3.package = pkgs.i3-rounded;
|
# xsession.windowManager.i3.package = ;
|
||||||
|
|
||||||
xsession.windowManager.i3.config = {
|
xsession.windowManager.i3.config = {
|
||||||
fonts = {
|
fonts = {
|
||||||
@@ -197,7 +194,8 @@
|
|||||||
floating = {
|
floating = {
|
||||||
criteria = [
|
criteria = [
|
||||||
{
|
{
|
||||||
class = "org.keepassxc.KeePassXC";
|
instance = "keepassxc";
|
||||||
|
class = "KeePassXC";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
@@ -219,8 +217,9 @@
|
|||||||
"XF86AudioMicMute" = "exec pactl set-source-mute @DEFAULT_SOURCE@ toggle";
|
"XF86AudioMicMute" = "exec pactl set-source-mute @DEFAULT_SOURCE@ toggle";
|
||||||
# "XF86Launch1" = "exec ~/scripts/sunset.sh";
|
# "XF86Launch1" = "exec ~/scripts/sunset.sh";
|
||||||
"${modifier}+Control+p" = "exec i3lock -n -c ef5ffc";
|
"${modifier}+Control+p" = "exec i3lock -n -c ef5ffc";
|
||||||
|
"${modifier}+Control+x" = "exec ~/scripts/scale.sh";
|
||||||
};
|
};
|
||||||
menu = "dmenu_run -sb \"#a15ffc\" -nf \"#333333\" -nb \"#ef5ffc\" -sf \"#333333\" -fn \"Ubuntu Bold-13\"";
|
menu = "rofi -show drun";
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
window.titlebar = false;
|
window.titlebar = false;
|
||||||
terminal = "alacritty";
|
terminal = "alacritty";
|
||||||
@@ -230,8 +229,6 @@
|
|||||||
{ command = "keepassxc"; }
|
{ command = "keepassxc"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
xsession.windowManager.i3.extraConfig = ''
|
|
||||||
'';
|
|
||||||
services.redshift = {
|
services.redshift = {
|
||||||
enable = true;
|
enable = true;
|
||||||
latitude = 49.0;
|
latitude = 49.0;
|
||||||
|
|||||||
Reference in New Issue
Block a user