new . files

This commit is contained in:
2026-04-04 15:10:37 -05:00
parent d86498eac4
commit 85d550a92c
9 changed files with 67 additions and 64 deletions
+41 -19
View File
@@ -8,8 +8,24 @@
################
# See https://wiki.hyprland.org/Configuring/Monitors/
# built-in monitor
monitor=,preferred,auto,1
monitorv2 {
output = DP-1
mode = 3840x2160@60
position = auto
scale = 1.5
transform = 0
}
monitorv2 {
output = HDMI-A-1
mode = 2560x1440@59.95
position = auto
scale = 1
transform = 0
}
###################
### MY PROGRAMS ###
@@ -20,7 +36,7 @@ monitor=,preferred,auto,1
# Set programs that you use
$terminal = alacritty
$fileManager = dolphin
$menu = wofi --show drun
$menu = wofi --show=drun --prompt="Search Programs"
#################
@@ -42,6 +58,12 @@ exec-once = waybar
env = HYPRCURSOR_THEME,rose-pine-hyprcursor
env = HYPRCURSOR_SIZE,18
####################
### SCRIPT PATHS ###
####################
$switchFocus = ~/.config/hypr/scripts/switch-to-unfocused-monitor.sh
$moveAndSwitch = ~/.config/hypr/scripts/move-workspace-to-unfocused-monitor.sh
#####################
### LOOK AND FEEL ###
@@ -90,7 +112,6 @@ decoration {
# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
enabled = false;
first_launch_animation = false;
workspace_wraparound = false;
}
@@ -143,16 +164,6 @@ input {
}
}
# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
workspace_swipe = false
}
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device { }
###################
### KEYBINDINGS ###
###################
@@ -166,9 +177,8 @@ bind = $mainMod, Q, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, Space, exec, $menu
bind = $mainMod, P, togglesplit, # dwindle
bind = $mainMod SHIFT, Return, exec, firefox
# Move focus with mainMod + hjkl
@@ -201,12 +211,24 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Move workspace to unfocused monitor (Does not currently support more than two monitors)
bind = $mainMod SHIFT, TAB, exec, sh -c $moveAndSwitch
# Switch to unfocused monitor (Does not currently support more than two monitors)
bind = $mainMod, TAB, exec, sh -c $switchFocus
# Rotate screen with arrows
# TODO: only works on builtin display (see scripts)
bind = $mainMod SHIFT, up, exec, hyprctl keyword monitor "eDP-1,preferred,auto,1,transform,0"
bind = $mainMod SHIFT, down, exec, hyprctl keyword monitor "eDP-1,preferred,auto,1,transform,2"
bind = $mainMod SHIFT, left, exec, hyprctl keyword monitor "eDP-1,preferred,auto,1,transform,1"
bind = $mainMod SHIFT, right, exec, hyprctl keyword monitor "eDP-1,preferred,auto,1,transform,3"
# Screenshot to clipboard
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp -d)" - | wl-copy
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# Make display fullscreen (hide the waybar)
bind = $mainMod SHIFT, f, fullscreen
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
@@ -244,7 +266,7 @@ bindl = , XF86AudioPrev, exec, playerctl previous
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this.
windowrulev2 = suppressevent maximize, class:.*
# windowrulev2 = suppressevent maximize, class:.*
# Fix some dragging issues with XWayland
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0