From d96fae90d7ab61560b74013f7225a132c691144f Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Sat, 15 Jul 2023 15:03:45 -0400 Subject: Some prelim changes, THIS BRANCH DOES NOT WORK --- home-config/home-configuration.scm | 2 ++ home-config/hypr/hyprland.conf | 15 ++++++++++++++- home-config/hypr/monitors.conf | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 home-config/hypr/monitors.conf (limited to 'home-config') diff --git a/home-config/home-configuration.scm b/home-config/home-configuration.scm index eaf8115..de6cce3 100644 --- a/home-config/home-configuration.scm +++ b/home-config/home-configuration.scm @@ -75,6 +75,8 @@ "kdenlive" "sqlite" "mpv" + "playerctl" + "pamixer" "git")) (list my-neovim))) diff --git a/home-config/hypr/hyprland.conf b/home-config/hypr/hyprland.conf index 2c23c63..fa5e6e4 100644 --- a/home-config/hypr/hyprland.conf +++ b/home-config/hypr/hyprland.conf @@ -15,7 +15,7 @@ monitor=,preferred,auto,1 # exec-once = waybar & hyprpaper & firefox # Source a file (multi-file configs) -# source = ~/.config/hypr/myColors.conf +source = ~/.config/hypr/monitors.conf # Some default env vars. env = XCURSOR_SIZE,24 @@ -123,6 +123,19 @@ bind = $mainMod, F, fullscreen, 1 bind = $mainMod SHIFT, F, fullscreen bind = ,XF86MonBrightnessUp, exec, light -A 10 bind = ,XF86MonBrightnessDown, exec, light -U 10 +bind = ,XF86AudioRaiseVolume, exec, pamixer -i 5 +bind = ,XF86AudioLowerVolume, exec, pamixer -d 5 +bind = ,XF86AudioMute, exec, pamixer -t +bind = ,XF86AudioPlay, exec, playerctl play-pause +bind = ,XF86AudioNext, exec, playerctl next +bind = ,XF86AudioPrev, exec, playerctl previous +bind = ,XF86AudioStop, exec, playerctl stop + +# Move workspace between monitors +bind = $mainMod CTRL SHIFT, left, movecurrentworkspacetomonitor, l +bind = $mainMod CTRL SHIFT, right, movecurrentworkspacetomonitor, r +bind = $mainMod CTRL SHIFT, up, movecurrentworkspacetomonitor, u +bind = $mainMod CTRL SHIFT, down, movecurrentworkspacetomonitor, d # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l diff --git a/home-config/hypr/monitors.conf b/home-config/hypr/monitors.conf new file mode 100644 index 0000000..95844c8 --- /dev/null +++ b/home-config/hypr/monitors.conf @@ -0,0 +1,2 @@ +monitor=eDP-1,1920x1080, 1920x0, 1 +monitor=HDMI-A-1,1920x1080, 0x0, 1 -- cgit v1.2.3