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 = {
enable = true;
settings = {
global = {
font = "Fira Code Nerd Font 10";
font = "Berkeley Mono 10";
sort = "yes";
indicate_hidden = "yes";
word_wrap = "yes";

View file

@ -1,22 +1,38 @@
{ config, pkgs, ... }:
let
mod = "Mod4";
in
{
home.packages = with pkgs; [
font-awesome-ttf
intel-gpu-tools
];
let mod = "Mod4";
in {
home.packages = with pkgs; [ font-awesome-ttf intel-gpu-tools ];
xsession.windowManager.i3 = {
enable = true;
config = {
startup = [
{ command = "exec hsetroot -solid '#002b36'"; always = true; 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; }
{
command = "exec hsetroot -solid '#002b36'";
always = true;
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 = {
@ -26,19 +42,17 @@ in
};
workspaceLayout = "tabbed";
bars = [
{
bars = [{
position = "top";
colors.background = "#001e26";
colors.statusline = "#708183";
fonts = {
names = [ "Fira Code Nerd Font" ];
names = [ "Berkeley Mono" ];
size = 10.0;
};
trayOutput = "primary";
}
];
}];
modifier = mod;
keybindings = {
@ -49,17 +63,25 @@ in
"${mod}+Shift+l" = "exec physlock -d";
"${mod}+Return" = "exec i3-sensible-terminal";
"XF86AudioRaiseVolume" = "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%";
"XF86AudioLowerVolume" = "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";
"XF86AudioRaiseVolume" =
"exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%";
"XF86AudioLowerVolume" =
"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";
"XF86MonBrightnessDown" = "exec light -s sysfs/backlight/intel_backlight -U 5";
"XF86MonBrightnessUp" =
"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}+q" = "kill";
"${mod}+f" = "fullscreen toggle";

View file

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