modifications to fonts.conf

modifications to gtk themes

modifications to nixos configuration.nix
master
Alex 2022-09-09 20:35:06 -05:00
parent 966d7152d1
commit 1612c290fa
8 changed files with 90 additions and 26 deletions

View File

@ -5,15 +5,15 @@
<!-- Set preferred serif, sans serif, and monospace fonts. -->
<alias>
<family>Serif</family>
<prefer><family>Linux Libertine</family></prefer>
<prefer><family>Noto Serif</family></prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer><family>Linux Biolinum</family></prefer>
<prefer><family>Noto Sans</family></prefer>
</alias>
<alias>
<family>sans</family>
<prefer><family>Linux Biolinum</family></prefer>
<prefer><family>Noto Sans Regular</family></prefer>
</alias>
<alias>
<family>monospace</family>
@ -25,50 +25,50 @@
<match>
<test name="family"><string>Arial</string></test>
<edit name="family" mode="assign" binding="strong">
<string>Linux Biolinum</string>
<string>sans</string>
</edit>
</match>
<match>
<test name="family"><string>Helvetica</string></test>
<edit name="family" mode="assign" binding="strong">
<string>Linux Biolinum</string>
<string>sans</string>
</edit>
</match>
<match>
<test name="family"><string>Verdana</string></test>
<edit name="family" mode="assign" binding="strong">
<string>Linux Biolinum</string>
<string>sans</string>
</edit>
</match>
<match>
<test name="family"><string>Tahoma</string></test>
<edit name="family" mode="assign" binding="strong">
<string>Linux Biolinum</string>
<string>sans</string>
</edit>
</match>
<match>
<!-- Insert joke here -->
<test name="family"><string>Comic Sans MS</string></test>
<edit name="family" mode="assign" binding="strong">
<string>Linux Biolinum</string>
<string>sans</string>
</edit>
</match>
<match>
<test name="family"><string>Times New Roman</string></test>
<edit name="family" mode="assign" binding="strong">
<string>Linux Libertine</string>
<string>serif</string>
</edit>
</match>
<match>
<test name="family"><string>Times</string></test>
<edit name="family" mode="assign" binding="strong">
<string>Linux Libertine</string>
<string>serif</string>
</edit>
</match>
<match>
<test name="family"><string>Courier New</string></test>
<edit name="family" mode="assign" binding="strong">
<string>Mononoki Nerd Font</string>
<string>monospace</string>
</edit>
</match>

View File

@ -2,7 +2,7 @@
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
include "/home/alex/.gtkrc-2.0.mine"
gtk-theme-name="Nordic-standard-buttons"
gtk-theme-name="Dracula"
gtk-icon-theme-name="Papirus-Dark"
gtk-font-name="Sans 10"
gtk-cursor-theme-name="Adwaita"

View File

@ -1,5 +1,5 @@
[Settings]
gtk-theme-name=Nordic-standard-buttons
gtk-theme-name=Dracula
gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Sans 10
gtk-cursor-theme-size=0

View File

@ -41,20 +41,22 @@ output VGA-1 disable
### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
# timeout 900 'swaylock -f -c 000000' \
# timeout 1200 'swaymsg "output * dpms off"' \
# resume 'swaymsg "output * dpms on"' \
# before-sleep 'swaylock -f -c 000000'
#
exec swayidle -w \
timeout 900 'swaylock -f -c 000000' \
timeout 1200 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"'
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
#alternate idle config that just turns display off
# exec swayidle -w \
# timeout 1200 'swaymsg "output * dpms off"' \
# resume 'swaymsg "output * dpms on"'
#set transparency
set $opacity 0.9
#for_window [class=".*"] opacity 1.0

0
.local/bin/unrar Executable file → Normal file
View File

View File

@ -1,4 +1,6 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
imports =
@ -21,12 +23,15 @@
# accidentally delete configuration.nix.
system.copySystemConfiguration = true;
system.autoUpgrade.enable = true;
system.autoUpgrade.allowReboot = true;
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "bismarck"; # Define your hostname.
networking.hostName = "nixos"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
#networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
@ -76,7 +81,8 @@
yt-dlp
zathura
sfeed
chromium
ungoogled-chromium
firefox
];
};
@ -106,12 +112,15 @@
environment.systemPackages = with pkgs; [
glib # gsettings
dracula-theme # gtk theme
flat-remix-gtk
gnome3.adwaita-icon-theme # default gnome cursors
zsh
papirus-icon-theme
noto-fonts
noto-fonts-extra
noto-fonts-emoji
noto-fonts-cjk-sans
nerdfonts
zsh
zip
unzip
p7zip
@ -145,6 +154,7 @@
shellcheck
jq
monero-cli
monero-gui
bc
gnome.zenity
cura
@ -152,11 +162,52 @@
udiskie
python3
python3.pkgs.pip
wget
ani-cli
keepassxc
appimage-run
fuse
lxappearance
gtk-engine-murrine
gtk_engines
img2pdf #dep of manga-cli
pcmanfm
steam-run
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam-original"
"steam-run"
];
fonts = {
fonts = with pkgs; [
noto-fonts
noto-fonts-extra
noto-fonts-emoji
noto-fonts-cjk-sans
nerdfonts
];
fontconfig = {
defaultFonts = {
serif = [ "Noto Serif" ];
sansSerif = [ "Noto Sans" ];
monospace = [ "Mononoki Nerd Font" ];
};
};
};
#enable flatpak
services.flatpak.enable = true;
services.udisks2.enable = true;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
@ -179,7 +230,7 @@
wlr.enable = true;
# gtk portal needed to make gtk apps happy
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
gtkUsePortal = true;
#gtkUsePortal = true;
};
}

View File

@ -14,6 +14,15 @@ mkdir -p ~/.cache/zsh
touch ~/.cache/zsh/history
sh ~/.local/scripts/install.sh add-repos ~/.local/installers/nixos/repos.list
#link rofi themes directory so that theming works
mkdir -p "$HOME"/.local/share/rofi/
ln -s "$HOME"/.local/src/base16-rofi/themes/ "$HOME"/.local/share/rofi/themes
#set limits for esync
#sudo sh -c "echo '$USER hard nofile 524288' >> /etc/security/limits.conf"
#set limits for monero

View File

@ -20,6 +20,8 @@ export TERM="xterm-256color"
#export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme. must have qt5-styleplugins installed
export QT_QPA_PLATFORMTHEME="qt5ct" #have QT use qt5ct theme
export GTK_THEME=Adwaita:dark
export LESSHISTFILE="-"
export ZDOTDIR="$HOME/.config/zsh"
@ -78,7 +80,7 @@ export AWT_TOOLKIT=MToolkit
#mount samba share, needs entry in /etc/fstab for this line to work
# //192.168.1.218/storage /media/nagato cifs username=alex,pass=PASSWORD,workgroup=WORKGROUP,user,noauto 0 0
#mount /media/nagato/ &
mount /media/bismarck &
#mount /media/bismarck &
if [ "$(tty)" = /dev/tty1 ]; then