Improve home automation keybinds
This commit is contained in:
parent
e1991d09ef
commit
e344c1c27d
3 changed files with 12 additions and 5 deletions
|
@ -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 &
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue