Skip to content

Commit

Permalink
feat: new rice :3
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed Nov 4, 2023
1 parent 4beae71 commit 4dfb85b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 17 deletions.
2 changes: 1 addition & 1 deletion home/rice/foot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
uri-characters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+=\"'()[]";
};
colors = {
alpha = "1.0";
alpha = "0.8";
foreground = "cdd6f4";
background = "1e1e2e";

Expand Down
2 changes: 1 addition & 1 deletion home/rice/hyprland/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ in {
blur = {
enabled = true;
size = 3;
passes = 2;
passes = 3;
ignore_opacity = false;
new_optimizations = 1;
xray = true;
Expand Down
2 changes: 1 addition & 1 deletion home/rice/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ in {
swaybg = mkService {
Unit.Description = "Wallpaper chooser";
Service = {
ExecStart = "${lib.getExe pkgs.swaybg} -i ${./wall.png}";
ExecStart = "${lib.getExe pkgs.swaybg} -i ${./wall.jpg}";
Restart = "always";
};
};
Expand Down
Binary file added home/rice/hyprland/wall.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed home/rice/hyprland/wall.png
Binary file not shown.
14 changes: 3 additions & 11 deletions home/rice/waybar/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@
config,
...
}: let
get-crypto-price =
pkgs.writeShellScriptBin "get-crypto-price"
''
#!/bin/sh
price="$(curl -s https://api.binance.com/api/v3/ticker/price?symbol=$1 | ${lib.getExe pkgs.jq} '.price' | sed 's/\"//g')"
printf "%.2f" $price
'';

mullvad-status =
pkgs.writeShellScriptBin "mullvad-status"
''
Expand All @@ -30,9 +22,9 @@ in {
width = 55;
spacing = 7;
fixed-center = false;
margin-left = 6;
margin-top = 9;
margin-bottom = 9;
margin-left = null;
margin-top = null;
margin-bottom = null;
margin-right = null;
exclusive = true;
modules-left = [
Expand Down
6 changes: 3 additions & 3 deletions home/rice/waybar/style.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ in ''
}
window#waybar {
background-color: #181825;
border-radius: 20px;
background-color: rgba(24, 24, 37, 0.75);
border-radius: 0px;
margin: 32px 16px;
color: #cdd6f4;
box-shadow: 2px 3px 2px 2px #151515;
Expand Down Expand Up @@ -99,7 +99,7 @@ in ''
#volume,
#pulseaudio {
border-radius: 15px;
background-color: #1e1e2e;
background-color: rgba(49, 50, 68, 0.8);
padding: 14px 0px 14px 0px;
margin: 0px 7px 0px 7px;
}
Expand Down

0 comments on commit 4dfb85b

Please sign in to comment.