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
|
||||
i3lock-blur
|
||||
xclip
|
||||
firefox
|
||||
thunderbird
|
||||
rofi
|
||||
];
|
||||
programs.taskwarrior = {
|
||||
enable = true;
|
||||
@@ -123,12 +126,6 @@
|
||||
};
|
||||
home.file = {
|
||||
".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 = ''
|
||||
[Settings]
|
||||
gtk-application-prefer-dark-theme=1
|
||||
@@ -154,7 +151,7 @@
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
xsession.windowManager.i3.enable = true;
|
||||
xsession.windowManager.i3.package = pkgs.i3-rounded;
|
||||
# xsession.windowManager.i3.package = ;
|
||||
|
||||
xsession.windowManager.i3.config = {
|
||||
fonts = {
|
||||
@@ -197,7 +194,8 @@
|
||||
floating = {
|
||||
criteria = [
|
||||
{
|
||||
class = "org.keepassxc.KeePassXC";
|
||||
instance = "keepassxc";
|
||||
class = "KeePassXC";
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -219,8 +217,9 @@
|
||||
"XF86AudioMicMute" = "exec pactl set-source-mute @DEFAULT_SOURCE@ toggle";
|
||||
# "XF86Launch1" = "exec ~/scripts/sunset.sh";
|
||||
"${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";
|
||||
window.titlebar = false;
|
||||
terminal = "alacritty";
|
||||
@@ -230,8 +229,6 @@
|
||||
{ command = "keepassxc"; }
|
||||
];
|
||||
};
|
||||
xsession.windowManager.i3.extraConfig = ''
|
||||
'';
|
||||
services.redshift = {
|
||||
enable = true;
|
||||
latitude = 49.0;
|
||||
|
||||
Reference in New Issue
Block a user