From 8151e88775c3f2b7e1de1b90b825ed68658629b0 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 20 Feb 2023 21:37:10 +0530 Subject: . --- home.nix | 2 ++ hosts/myrtle/configuration.nix | 16 +++++++++++++++- scripts/battery.nix | 5 +++-- theme/default.nix | 2 +- x/rxvt.nix | 3 ++- 5 files changed, 23 insertions(+), 5 deletions(-) diff --git a/home.nix b/home.nix index b801b7f..cec0d7a 100644 --- a/home.nix +++ b/home.nix @@ -24,6 +24,7 @@ vim weechat firefox + qutebrowser unzip tmux xclip @@ -48,6 +49,7 @@ pavucontrol signaldctl + # sync rtorrent lftp diff --git a/hosts/myrtle/configuration.nix b/hosts/myrtle/configuration.nix index e3b51de..90d94f8 100644 --- a/hosts/myrtle/configuration.nix +++ b/hosts/myrtle/configuration.nix @@ -167,6 +167,10 @@ }; touchegg.enable = true; + signald = { + enable = true; + group = "signald"; + }; }; systemd.sleep.extraConfig = '' @@ -178,7 +182,17 @@ users.users.np = { isNormalUser = true; home = "/home/np"; - extraGroups = [ "wheel" "users" "tty" "audio" "video" "input" "adbusers" "docker" ]; + extraGroups = [ + "wheel" + "users" + "tty" + "audio" + "video" + "input" + "adbusers" + "docker" + "signald" + ]; openssh.authorizedKeys.keys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCrmh1vEWwKm8gpOk9j3DkZsiJCojpBdxuWU4M8rFeV/U9isRB+3pSJvF3Sncc6Yd+hSDohpzQF/Q5urubjkrGDniAKFjZnUHWZEzJmfQLHLIHXBkHjY8UMYF/WZprcplBKAZ7S9tS0YGa6NOQe2KEFtNG6XtBnrI3lswAHPOlqKJBG47MxfjIi9aUhczlzPxtGC9AfdwaNQYgLoJ91I6jkKuyKjbYt8KDDL+6PJ63TZc18LKKct1rf+ejRJKR9+jHTkEXhltUSQkieOJiEOdVcYWbYBxSoWutrnrksnhi9dLABOvueG6mAORU5g1yrMnX80RbK8DauwG4WI9qIGvHNPpQqP0vjj4mr8YkOUmzyeTW3KlOsQJZ7279WruBYV96/a7YoHKj9fGzV4McvVpvLMYa47hqyCBRK/qz0BSLFEhSNZzqseXCk91qZ0EhROBQEckqlKVip75YWFhqjVrgSPnVYWHxceNMttKmfGgIGXI8Bc8TKRZd+7quJNG7cWIE= np@olive" ]; diff --git a/scripts/battery.nix b/scripts/battery.nix index e89ad46..149d8a3 100644 --- a/scripts/battery.nix +++ b/scripts/battery.nix @@ -2,6 +2,7 @@ let name = "bat"; + symbol = "❤️"; in pkgs.writeScriptBin name '' @@ -22,9 +23,9 @@ pkgs.writeScriptBin name for i in {0..4} do if [[ $i -le $(( $bat_status/20 )) ]]; then - echo -ne "#[fg=colour1]· " + echo -ne "#[fg=colour1]${symbol} " else - echo -ne "#[fg=colour8]· " + echo -ne "#[fg=colour8]${symbol} " fi done echo diff --git a/theme/default.nix b/theme/default.nix index b3af086..7c67057 100644 --- a/theme/default.nix +++ b/theme/default.nix @@ -3,4 +3,4 @@ let night = import ./night.nix; gruvbox = import ./gruvbox.nix; in -night +day diff --git a/x/rxvt.nix b/x/rxvt.nix index 3498bd0..ec1ad1a 100644 --- a/x/rxvt.nix +++ b/x/rxvt.nix @@ -54,5 +54,6 @@ with theme; "URxvt.keysym.C-equal" = "perl:font-size:reset"; "*.url-launcher" = "firefox"; "*.matcher.button" = 1; - }; + + } // theme; } -- cgit v1.2.3