From 1d17c129a2bbd59a11b223ace4a4307f700dabab Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 13 Sep 2022 02:14:21 +0900 Subject: Tweak themes --- gtk/.config/gtk-3.0/settings.ini | 3 +- nix/awesome.nix | 62 +++++++++++++++++++++++----------------- nixos/.Xdefaults | 2 ++ nixos/.profile | 1 - 4 files changed, 39 insertions(+), 29 deletions(-) diff --git a/gtk/.config/gtk-3.0/settings.ini b/gtk/.config/gtk-3.0/settings.ini index 8a630a8..ba6e9af 100644 --- a/gtk/.config/gtk-3.0/settings.ini +++ b/gtk/.config/gtk-3.0/settings.ini @@ -1,4 +1,5 @@ [Settings] -gtk-font-name = Latin Modern Sans 12 gtk-application-prefer-dark-theme = true +gtk-cursor-theme-name = Mocu-White-Left +gtk-font-name = Latin Modern Sans 12 gtk-key-theme-name = Emacs diff --git a/nix/awesome.nix b/nix/awesome.nix index cac1ce8..f80b852 100644 --- a/nix/awesome.nix +++ b/nix/awesome.nix @@ -1,12 +1,44 @@ { pkgs, ... }: { - fonts.fonts = with pkgs; [ - gentium lmodern - noto-fonts-cjk-sans noto-fonts-emoji + environment.systemPackages = with pkgs; [ + barrier gnome.adwaita-icon-theme networkmanagerapplet + clipbuzz keynav playerctl pulsemixer xclip xdotool xorg.xkill + aerc amfora calcurse dante khard ncdu ranger ueberzug vim_configurable + arandr audacious gnucash liferea scrot rxvt-unicode zathura + firefox libreoffice mepo-x11 nheko tor-browser-bundle-bin + nextcloud-client transmission-gtk + nordzy-cursor-theme ]; + fonts.fonts = with pkgs; [ lmodern noto-fonts-cjk-sans noto-fonts-emoji ]; + + hardware.brillo.enable = true; + + i18n = { + defaultLocale = "en_US.UTF-8"; + inputMethod = { + enabled = "ibus"; + ibus.engines = with pkgs.ibus-engines; [ + hangul + table table-others + ]; + }; + }; + + programs = { + nm-applet.enable = true; + slock.enable = true; + }; + + qt5 = { + enable = true; + platformTheme = "gnome"; + style = "adwaita-dark"; + }; + services = { autorandr.enable = true; + geoclue2.enable = true; xserver = { videoDrivers = [ "intel" ]; deviceSection = '' @@ -23,28 +55,4 @@ libinput.enable = true; # Enable touchpad support. }; }; - - i18n = { - defaultLocale = "en_US.UTF-8"; - inputMethod = { - enabled = "ibus"; - ibus.engines = with pkgs.ibus-engines; [ - hangul - table table-others - ]; - }; - }; - - environment.systemPackages = with pkgs; [ - barrier gnome.adwaita-icon-theme networkmanagerapplet qt5ct - clipbuzz keynav playerctl pulsemixer xclip xdotool xorg.xkill - aerc amfora calcurse dante khard ncdu ranger ueberzug vim_configurable - arandr audacious gnucash liferea scrot rxvt-unicode zathura - firefox libreoffice mepo-x11 nheko tor-browser-bundle-bin - nextcloud-client transmission-gtk - ]; - - hardware.brillo.enable = true; - programs.nm-applet.enable = true; - programs.slock.enable = true; } diff --git a/nixos/.Xdefaults b/nixos/.Xdefaults index 869589d..7ca5bfd 100644 --- a/nixos/.Xdefaults +++ b/nixos/.Xdefaults @@ -33,3 +33,5 @@ URxvt.font-size.step: 3 URxvt.keysym.M-C-slash: perl:aAtt:word-complete URxvt.keysym.M-question: perl:aAtt:fuzzy-complete URxvt.keysym.M-quotedbl: perl:aAtt:undo + +Xcursor.theme: Mocu-White-Left diff --git a/nixos/.profile b/nixos/.profile index a66f90e..d823876 100644 --- a/nixos/.profile +++ b/nixos/.profile @@ -13,7 +13,6 @@ export MANPATH="$HOME/.local/share/man:$MANPATH" export GOPATH="$HOME/.local/share/go" export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus -export QT_QPA_PLATFORMTHEME=qt5ct # if running bash if [ -n "$BASH_VERSION" ]; then -- cgit 1.4.1