Compare commits
No commits in common. "d7c9d14f453758bd7e847a1e6bc3a1b5ef54eb55" and "1a97de00a9be81bffd5234f872d7fc551862e579" have entirely different histories.
d7c9d14f45
...
1a97de00a9
|
@ -1,4 +0,0 @@
|
||||||
sketchybar -m --add item vpn right \
|
|
||||||
--set vpn icon= \
|
|
||||||
update_freq=5 \
|
|
||||||
script="~/.config/sketchybar/plugins/vpn.sh"
|
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
### You need to edit sudoers file to run wg-quick without password
|
|
||||||
|
|
||||||
# %admin ALL = (ALL) NOPASSWD: /nix/store/s2qw0sxax8pckbzmyw6wrarahmx65bq9-wireguard-tools-1.0.20210914/bin/wg-quick
|
|
||||||
|
|
||||||
WG_PIDFILE="/var/run/wireguard/wg0.name"
|
|
||||||
|
|
||||||
if [ -f $WG_PIDFILE ]; then
|
|
||||||
sketchybar -m --set vpn icon= \
|
|
||||||
label="$VPN" \
|
|
||||||
drawing=on \
|
|
||||||
click_script="~/.config/sketchybar/plugins/wg_off.sh"
|
|
||||||
else
|
|
||||||
sketchybar -m --set vpn drawing=off click_script="~/.config/sketchybar/plugins/wg_on.sh"
|
|
||||||
fi
|
|
|
@ -1,5 +0,0 @@
|
||||||
### You need to edit sudoers file to run wg-quick without password
|
|
||||||
|
|
||||||
# %admin ALL = (ALL) NOPASSWD: /nix/store/s2qw0sxax8pckbzmyw6wrarahmx65bq9-wireguard-tools-1.0.20210914/bin/wg-quick
|
|
||||||
|
|
||||||
sudo wg-quick down wg0
|
|
|
@ -1,5 +0,0 @@
|
||||||
### You need to edit sudoers file to run wg-quick without password
|
|
||||||
|
|
||||||
# %admin ALL = (ALL) NOPASSWD: /nix/store/s2qw0sxax8pckbzmyw6wrarahmx65bq9-wireguard-tools-1.0.20210914/bin/wg-quick
|
|
||||||
|
|
||||||
sudo wg-quick up wg0
|
|
|
@ -29,7 +29,6 @@
|
||||||
# "slack"
|
# "slack"
|
||||||
# "zoom"
|
# "zoom"
|
||||||
# "firefox"
|
# "firefox"
|
||||||
# "1password-cli"
|
|
||||||
|
|
||||||
# Utility Tools
|
# Utility Tools
|
||||||
# "syncthing"
|
# "syncthing"
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
pkgs.cargo
|
pkgs.cargo
|
||||||
pkgs.k9s
|
pkgs.k9s
|
||||||
pkgs.kubernetes-helm
|
pkgs.kubernetes-helm
|
||||||
pkgs.shellcheck
|
|
||||||
];
|
];
|
||||||
|
|
||||||
age.identityPaths = [ "/Users/anishlakhwara/.ssh/id_ed25519" ];
|
age.identityPaths = [ "/Users/anishlakhwara/.ssh/id_ed25519" ];
|
||||||
|
|
|
@ -4,35 +4,35 @@ source "$HOME/.config/sketchybar/variables.sh" # Loads all defined colors
|
||||||
|
|
||||||
# General bar and defaults
|
# General bar and defaults
|
||||||
# parts I didn't want
|
# parts I didn't want
|
||||||
# y_offset=5 \
|
# y_offset=5 \
|
||||||
# margin=5 \
|
# margin=5 \
|
||||||
|
|
||||||
sketchybar --bar height=35 \
|
sketchybar --bar height=35 \
|
||||||
color="$BAR_COLOR" \
|
color="$BAR_COLOR" \
|
||||||
shadow="$SHADOW" \
|
shadow="$SHADOW" \
|
||||||
position=top \
|
position=top \
|
||||||
sticky=on \
|
sticky=on \
|
||||||
padding_right=0 \
|
padding_right=0 \
|
||||||
padding_left=3 \
|
padding_left=3 \
|
||||||
corner_radius="$CORNER_RADIUS" \
|
corner_radius="$CORNER_RADIUS" \
|
||||||
blur_radius=20 \
|
blur_radius=20 \
|
||||||
notch_width=200 \
|
notch_width=200 \
|
||||||
--default updates=when_shown \
|
--default updates=when_shown \
|
||||||
icon.font="$FONT:Bold:13.5" \
|
icon.font="$FONT:Bold:13.5" \
|
||||||
icon.color="$ICON_COLOR" \
|
icon.color="$ICON_COLOR" \
|
||||||
icon.padding_left="$PADDINGS" \
|
icon.padding_left="$PADDINGS" \
|
||||||
icon.padding_right="$PADDINGS" \
|
icon.padding_right="$PADDINGS" \
|
||||||
label.font="$FONT:Bold:13.0" \
|
label.font="$FONT:Bold:13.0" \
|
||||||
label.color="$LABEL_COLOR" \
|
label.color="$LABEL_COLOR" \
|
||||||
label.padding_left="$PADDINGS" \
|
label.padding_left="$PADDINGS" \
|
||||||
label.padding_right="$PADDINGS" \
|
label.padding_right="$PADDINGS" \
|
||||||
background.padding_right="$PADDINGS" \
|
background.padding_right="$PADDINGS" \
|
||||||
background.padding_left="$PADDINGS" \
|
background.padding_left="$PADDINGS" \
|
||||||
popup.background.border_width=1 \
|
popup.background.border_width=1 \
|
||||||
popup.background.corner_radius=11 \
|
popup.background.corner_radius=11 \
|
||||||
popup.background.border_color="$POPUP_BORDER_COLOR" \
|
popup.background.border_color="$POPUP_BORDER_COLOR" \
|
||||||
popup.background.color="$POPUP_BACKGROUND_COLOR" \
|
popup.background.color="$POPUP_BACKGROUND_COLOR" \
|
||||||
popup.background.shadow.drawing="$SHADOW"
|
popup.background.shadow.drawing="$SHADOW"
|
||||||
|
|
||||||
# Left
|
# Left
|
||||||
# source "$ITEM_DIR/apple.sh"
|
# source "$ITEM_DIR/apple.sh"
|
||||||
|
@ -48,7 +48,6 @@ source "$ITEM_DIR/calendar.sh"
|
||||||
source "$ITEM_DIR/battery.sh"
|
source "$ITEM_DIR/battery.sh"
|
||||||
source "$ITEM_DIR/volume.sh"
|
source "$ITEM_DIR/volume.sh"
|
||||||
source "$ITEM_DIR/cpu.sh"
|
source "$ITEM_DIR/cpu.sh"
|
||||||
source "$ITEM_DIR/vpn.sh"
|
|
||||||
|
|
||||||
#################### Finalizing Setup ####################
|
#################### Finalizing Setup ####################
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue