summaryrefslogtreecommitdiff
path: root/hyprland
diff options
context:
space:
mode:
Diffstat (limited to 'hyprland')
-rw-r--r--hyprland/hyprland.conf26
-rw-r--r--hyprland/keybinds.conf8
2 files changed, 30 insertions, 4 deletions
diff --git a/hyprland/hyprland.conf b/hyprland/hyprland.conf
index 0a692fc..7193445 100644
--- a/hyprland/hyprland.conf
+++ b/hyprland/hyprland.conf
@@ -9,13 +9,13 @@ monitor=HDMI-A-3,1920x1080@180,auto,1.0
# See https://wiki.hyprland.org/Configuring/Keywords/
# Set programs that you use
-$terminal = ghostty
+$terminal = kitty
$fileManager = pcmanfm
$menu = rofi -show drun -drun-reload-desktop-cache
$reload_qs = pkill qs 2>&1; qs &
$snip = hyprshot -m region --raw | satty --filename -
$reload_hypr = hyprctl reload
-$browser = firefox
+$browser = librewolf
$discord = discord
@@ -195,6 +195,26 @@ windowrule {
center = on
}
+windowrule {
+ name = rmpc-float
+ match:class = (?i).*rmpc-term.*
+
+ float = on
+ size = 1400 900
+ center = on
+}
+
+windowrule {
+ name = yazi-float
+ match:class = (?i).*yazi-term.*
+
+ float = on
+ size = 1400 900
+ center = on
+}
+
+
+
# Example windowrule v1
# windowrule = float, ^(kitty)$
@@ -202,5 +222,5 @@ windowrule {
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
#windowrulev2 = suppressevent maximize, class:^(firefox|code|jetbrains-.*|electron)$
-windowrule = border_color rgb(f38ba8) rgb(313244), match:class (firefox|librewolf|discord|sublime_text|com.mitchellh.ghostty|org.keepassxc.KeePassXC|burp-StartBurp)
+windowrule = border_color rgb(f38ba8) rgb(313244), match:class (librewolf|discord|sublime_text|org.keepassxc.KeePassXC|burp-StartBurp|kitty)
windowrule = suppress_event maximize, match:class .* # You'll probably like this.
diff --git a/hyprland/keybinds.conf b/hyprland/keybinds.conf
index 62c3582..3d455df 100644
--- a/hyprland/keybinds.conf
+++ b/hyprland/keybinds.conf
@@ -23,17 +23,23 @@ bind = $mainMod|Ctrl, L, exec, /opt/scripts/power.sh
bind = $mainMod|Shift, W, exec, /opt/scripts/wallpaper-picker.sh
bind = $mainMod, N, exec, /opt/scripts/wifi-connect.sh
bind = $mainMod|Shift, N, exec, /opt/scripts/wifi-disconnect.sh
-bind = $mainMod|Shift, M, exec, kill -9 `pidof spotify`
+#bind = $mainMod|Shift, M, exec, kill -9 `pidof spotify`
bind = $mainMod|Ctrl, K, exec, keepassxc
bind = $mainMod, S, exec, subl
bind = $mainMod, V, exec, /opt/scripts/vpn_connect.sh
bind = $mainMod|Shift, V, exec, /opt/scripts/vpn_disconnect.sh
bind = $mainMod, X, exec, /opt/scripts/screen-record.sh
bind = $mainMod|Shift, X, exec, /opt/scripts/screen-record-stop.sh
+bind = $mainMod, M, exec, /opt/scripts/mount-usb.sh
+bind = $mainMod|Shift, M, exec, /opt/scripts/umount-usb.sh
bind = $mainMod, Y, exec, hyprctl workspaces -j | jq '.[].lastwindowtitle' | rofi -show window
bind = $mainMod, P, exec, hyprctl getoption general:layout | grep -q 'dwindle' && hyprctl keyword general:layout master || hyprctl keyword general:layout dwindle
bind = $mainMod, equal, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% && notify-send "Volume Status" "Current Volume: $(pactl --format json get-sink-volume @DEFAULT_SINK@ | jq -r '.volume."front-left"."value_percent"')"
bind = $mainMod, minus, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% && notify-send "Volume Status" "Current Volume: $(pactl --format json get-sink-volume @DEFAULT_SINK@ | jq -r '.volume."front-left"."value_percent"')"
+bind = $mainMod SHIFT, equal, exec, mpc volume +5 && notify-send -i "audio-volume-high" -a "MPD" "MPD Volume" "$(mpc volume)"
+bind = $mainMod SHIFT, minus, exec, mpc volume -5 && notify-send -i "audio-volume-low" -a "MPD" "MPD Volume" "$(mpc volume)"
+bind = Ctrl, M, exec, kitty --class rmpc-term rmpc
+bind = Ctrl|Shift, F, exec, kitty --class yazi-term yazi
# Move focus with mainMod + arrow keys
bind = $mainMod, h, movefocus, l