From 7d0b169dc69036aa04e4dff3a596b254635f8d55 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 27 Feb 2022 19:42:56 +0900 Subject: Start moving to Korea --- aerc/.config/aerc/aerc.conf | 2 +- awesome/.config/awesome/rc.lua | 8 ++++---- nix/awesome.nix | 11 +++++++---- nix/configuration.nix | 2 +- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/aerc/.config/aerc/aerc.conf b/aerc/.config/aerc/aerc.conf index 6b3c36f..b40ad48 100644 --- a/aerc/.config/aerc/aerc.conf +++ b/aerc/.config/aerc/aerc.conf @@ -7,7 +7,7 @@ # with mutt's printf-like syntax. # # Default: %D %-17.17n %Z %s -index-format=%D %-17.17n %Z %s +index-format=%D %-15.15a %-1.1Z %s # # See time.Time#Format at https://godoc.org/time#Time.Format diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index fc7b02d..faaef28 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -55,7 +55,7 @@ local root_terminal = terminal .. " -e su -" local ranger = terminal .. " -e ranger" local python = terminal .. " -e python" local guile = terminal .. " -e guile" -local clojure = terminal .. " -e clojure" +local calcurse = terminal .. " -e calcurse" local aerc = terminal .. " -e aerc" local amfora = terminal .. " -e amfora" local emacs = "emacs" @@ -170,7 +170,7 @@ menubar.utils.terminal = terminal -- {{{ Wibar -- Create a textclock widget -local mytextclock = wibox.widget.textclock" #%u %FT%R" +local mytextclock = wibox.widget.textclock(" #%u %FT%R", 59) -- Create a CPU usage widget local mycpuusage = wibox.widget.textbox() @@ -494,6 +494,8 @@ local globalkeys = awful.util.table.join( {description = "open Emacs", group = "launcher"}), awful.key({modkey}, "e", spawner(aerc), {description = "open aerc", group = "launcher"}), + awful.key({modkey}, "c", spawner(calcurse), + {description = "open calcurse", group = "launcher"}), awful.key({modkey}, "a", spawner"liferea", {description = "open Atom feed", group = "launcher"}), awful.key({modkey, "Shift"}, "a", spawner(amfora), @@ -514,8 +516,6 @@ local globalkeys = awful.util.table.join( {description = "open ranger file manager", group = "launcher"}), awful.key({modkey}, "p", spawner(python), {description = "open Python 3 interpreter", group = "launcher"}), - awful.key({modkey}, "c", spawner(clojure), - {description = "open Clojure interpreter", group = "launcher"}), awful.key({modkey}, "g", spawner(guile), {description = "open Guile interpreter", group = "launcher"}), awful.key({modkey}, "s", spawner"slock", diff --git a/nix/awesome.nix b/nix/awesome.nix index 76b616a..f46f4e6 100644 --- a/nix/awesome.nix +++ b/nix/awesome.nix @@ -1,7 +1,10 @@ { pkgs, ... }: { - fonts.fonts = with pkgs; [ gentium lmodern noto-fonts-emoji ]; + fonts.fonts = with pkgs; [ + gentium lmodern + noto-fonts-cjk-sans noto-fonts-emoji + ]; services = { autorandr.enable = true; @@ -36,9 +39,9 @@ environment.systemPackages = with pkgs; [ gnome.adwaita-icon-theme networkmanagerapplet qt5ct clipbuzz keynav playerctl pulsemixer xclip xdotool xorg.xkill - aerc amfora dante ncdu ranger ueberzug rxvt-unicode vim_configurable - arandr audacious keepassx-community liferea scrot zathura - dino firefox libreoffice mepo nheko tor-browser-bundle-bin transmission-gtk + aerc amfora calcurse dante ncdu ranger ueberzug vim_configurable + arandr audacious keepassx-community liferea scrot rxvt-unicode zathura + firefox gajim libreoffice mepo nheko tor-browser-bundle-bin transmission-gtk ]; hardware.brillo.enable = true; diff --git a/nix/configuration.nix b/nix/configuration.nix index 7c44c19..c80e89e 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -50,7 +50,7 @@ }; # Set your time zone. - time.timeZone = "Asia/Ho_Chi_Minh"; + time.timeZone = "Asia/Seoul"; # Select internationalisation properties. # console = { -- cgit 1.4.1