more consistent font usage

This commit is contained in:
Cyryl Płotnicki 2022-03-09 22:26:40 +00:00
parent e8fd2eac60
commit 519c79c49a
3 changed files with 58 additions and 37 deletions

View file

@ -1,10 +1,9 @@
{ config, pkgs, ... }: { config, pkgs, ... }: {
{
services.dunst = { services.dunst = {
enable = true; enable = true;
settings = { settings = {
global = { global = {
font = "Fira Code Nerd Font 10"; font = "Berkeley Mono 10";
sort = "yes"; sort = "yes";
indicate_hidden = "yes"; indicate_hidden = "yes";
word_wrap = "yes"; word_wrap = "yes";

View file

@ -1,22 +1,38 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let mod = "Mod4";
mod = "Mod4"; in {
in home.packages = with pkgs; [ font-awesome-ttf intel-gpu-tools ];
{
home.packages = with pkgs; [
font-awesome-ttf
intel-gpu-tools
];
xsession.windowManager.i3 = { xsession.windowManager.i3 = {
enable = true; enable = true;
config = { config = {
startup = [ startup = [
{ command = "exec hsetroot -solid '#002b36'"; always = true; notification = false; } {
{ command = "exec setxkbmap -layout pl"; always = true; notification = false; } command = "exec hsetroot -solid '#002b36'";
{ command = "exec $HOME/dev/dotfiles/nixos/i3/battery-popup.sh"; always = false; notification = false; } always = true;
{ command = "exec xdg-mime default org.gnome.Evince.desktop application/pdf"; always = false; notification = false; } notification = false;
{ command = "exec ${pkgs.autorandr}/bin/autorandr -c"; always = false; notification = false; } }
{
command = "exec setxkbmap -layout pl";
always = true;
notification = false;
}
{
command = "exec $HOME/dev/dotfiles/nixos/i3/battery-popup.sh";
always = false;
notification = false;
}
{
command =
"exec xdg-mime default org.gnome.Evince.desktop application/pdf";
always = false;
notification = false;
}
{
command = "exec ${pkgs.autorandr}/bin/autorandr -c";
always = false;
notification = false;
}
]; ];
window = { window = {
@ -26,19 +42,17 @@ in
}; };
workspaceLayout = "tabbed"; workspaceLayout = "tabbed";
bars = [ bars = [{
{
position = "top"; position = "top";
colors.background = "#001e26"; colors.background = "#001e26";
colors.statusline = "#708183"; colors.statusline = "#708183";
fonts = { fonts = {
names = [ "Fira Code Nerd Font" ]; names = [ "Berkeley Mono" ];
size = 10.0; size = 10.0;
}; };
trayOutput = "primary"; trayOutput = "primary";
} }];
];
modifier = mod; modifier = mod;
keybindings = { keybindings = {
@ -49,17 +63,25 @@ in
"${mod}+Shift+l" = "exec physlock -d"; "${mod}+Shift+l" = "exec physlock -d";
"${mod}+Return" = "exec i3-sensible-terminal"; "${mod}+Return" = "exec i3-sensible-terminal";
"XF86AudioRaiseVolume" = "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%"; "XF86AudioRaiseVolume" =
"XF86AudioLowerVolume" = "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%"; "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%";
"XF86AudioMute" = "exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle"; "XF86AudioLowerVolume" =
"XF86AudioMicMute" = "exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle"; "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%";
"XF86AudioMute" =
"exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle";
"XF86AudioMicMute" =
"exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle";
"XF86MonBrightnessUp" = "exec light -s sysfs/backlight/intel_backlight -A 5"; "XF86MonBrightnessUp" =
"XF86MonBrightnessDown" = "exec light -s sysfs/backlight/intel_backlight -U 5"; "exec light -s sysfs/backlight/intel_backlight -A 5";
"XF86MonBrightnessDown" =
"exec light -s sysfs/backlight/intel_backlight -U 5";
"Print" = "exec ${pkgs.gnome3.gnome-screenshot}/bin/gnome-screenshot -i"; "Print" =
"exec ${pkgs.gnome3.gnome-screenshot}/bin/gnome-screenshot -i";
"${mod}+r" = "exec ${pkgs.rofi}/bin/rofi -show combi -combi-modi window#run#ssh -modi combi"; "${mod}+r" =
"exec ${pkgs.rofi}/bin/rofi -show combi -combi-modi window#run#ssh -modi combi";
"${mod}+c" = "exec ${pkgs.clipmenu}/bin/clipmenu"; "${mod}+c" = "exec ${pkgs.clipmenu}/bin/clipmenu";
"${mod}+q" = "kill"; "${mod}+q" = "kill";
"${mod}+f" = "fullscreen toggle"; "${mod}+f" = "fullscreen toggle";

View file

@ -3,7 +3,7 @@
{ {
programs.rofi = { programs.rofi = {
enable = true; enable = true;
font = "Fira Code Nerd Font 16"; font = "Berkeley Mono 16";
theme = "solarized"; theme = "solarized";
}; };
} }