Improve home automation keybinds

This commit is contained in:
Lauren Lagarde 2025-07-29 22:26:08 -05:00
parent e1991d09ef
commit e344c1c27d
3 changed files with 12 additions and 5 deletions

View file

@ -96,11 +96,6 @@
################################################################################ ################################################################################
# Hardware Control # Hardware Control
# Desk Lights
bindsym $mod+Shift+d exec curl -X POST https://homeassistant.mlaga97.space/api/webhook/--caDGWR8KXLTM3yZ6Y01XPe6
bindsym $mod+Shift+w exec curl -X POST https://homeassistant.mlaga97.space/api/webhook/-tbHkUPb8aLVcFaOQcXbBdIJb
bindsym $mod+Shift+o exec curl -X POST https://homeassistant.mlaga97.space/api/webhook/-fmYa59UtZaMXythyEsda_ulo
# Allow gnome apps to prompt for password # Allow gnome apps to prompt for password
#exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 & #exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

View file

@ -6,5 +6,10 @@
config.startup = [ config.startup = [
{ command = "xrandr --output HDMI-1 --mode 1920x1080 --rate 60 --primary"; } { command = "xrandr --output HDMI-1 --mode 1920x1080 --rate 60 --primary"; }
]; ];
extraConfig = ''
# House Lights
bindsym $mod+Shift+d exec curl -X POST https://homeassistant.mlaga97.space/api/webhook/IBlEw1rhZcmvRuUGKBMWIS3h
'';
}; };
} }

View file

@ -5,6 +5,13 @@
../../home-manager/programs/thunderbird.nix ../../home-manager/programs/thunderbird.nix
]; ];
xsession.windowManager.i3.extraConfig = ''
# Desk Lights
bindsym $mod+Shift+d exec curl -X POST https://homeassistant.mlaga97.space/api/webhook/--caDGWR8KXLTM3yZ6Y01XPe6
bindsym $mod+Shift+w exec curl -X POST https://homeassistant.mlaga97.space/api/webhook/-tbHkUPb8aLVcFaOQcXbBdIJb
bindsym $mod+Shift+o exec curl -X POST https://homeassistant.mlaga97.space/api/webhook/-fmYa59UtZaMXythyEsda_ulo
'';
home.file = { home.file = {
".local/share/OpenSCAD/libraries/BOSL2" = { ".local/share/OpenSCAD/libraries/BOSL2" = {
source = builtins.fetchGit { source = builtins.fetchGit {