init
This commit is contained in:
246
hypr/configs/binds.conf
Normal file
246
hypr/configs/binds.conf
Normal file
@@ -0,0 +1,246 @@
|
||||
source = ~/.config/hypr/configs/default_apps.conf
|
||||
|
||||
# Variables
|
||||
$mainMod = SUPER
|
||||
$altMod = ALT
|
||||
$altrMod = SUPER MOD5
|
||||
$scripts = ~/.config/hypr/scripts
|
||||
$launcher-scripts = ~/.config/rofi/scripts
|
||||
|
||||
# Applications
|
||||
bind = $mainMod, S, exec, $scripts/launch_app $browser
|
||||
bind = $mainMod, V, exec, $scripts/launch_app $ide
|
||||
bind = $mainMod, O, exec, $scripts/launch_app $office-suite
|
||||
bind = $mainMod, E, exec, $scripts/launch_app $file-manager
|
||||
bind = $mainMod, C, exec, $scripts/launch_app $terminal
|
||||
bind = $mainMod SHIFT, C, exec, $scripts/launch_app $terminal docker exec -it ros2 zsh
|
||||
bind = $altMod, C, exec, $scripts/launch_app $terminal ssh Hetzner
|
||||
bind = $altMod SHIFT, C, exec, $scripts/launch_app $terminal ssh Zima00
|
||||
bind = $mainMod, T, exec, $scripts/launch_app Telegram
|
||||
bind = $mainMod, M, exec, $scripts/launch_app thunderbird
|
||||
|
||||
## Notifications Menu
|
||||
bind = $mainMod, N, exec, $notifications-menu-toggle
|
||||
bind = $mainMod SHIFT, R, exec, $notifications-menu-reload
|
||||
bind = $mainMod SHIFT, N, exec, $notifications-menu-read
|
||||
|
||||
## Bar
|
||||
bind = $mainMod SHIFT, R, exec, $bar-reload
|
||||
bind = $mainMod SHIFT, T, exec, $bar-toggle
|
||||
|
||||
# Pickers/Launchers
|
||||
bind = $mainMod, R, exec, $launcher
|
||||
bind = $mainMod SHIFT, P, exec, $launcher-scripts/wallpaper/wallpaper
|
||||
bind = $altMod, P, exec, $launcher-scripts/wireguard/wireguard_selection menu
|
||||
bind = $mainMod, ESCAPE, exec, $launcher-scripts/powermenu/powermenu
|
||||
bind = $mainMod, Y, exec, $launcher-scripts/clipboard/clipboard
|
||||
|
||||
## Screenshots
|
||||
bind = CTRL, ESCAPE, exec, $launcher-scripts/screenshot/screenshot
|
||||
bind = SHIFT, ESCAPE, exec, $launcher-scripts/screenshot/screenshot --freeze
|
||||
|
||||
# Pyprland
|
||||
## Scratchpad Module
|
||||
bind = $mainMod, B, exec, pypr toggle btop
|
||||
#bind = $mainMod, ENTER, exec, pypr toggle kitty
|
||||
|
||||
## Other Modules
|
||||
bind = $mainMod, P, exec, pypr wall next
|
||||
|
||||
# Windows
|
||||
## Basic Operations
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $altMod, Q, killactive,
|
||||
bind = $mainMod, W, exec, $scripts/toggle_floating
|
||||
#bind = $mainMod, P, pseudo
|
||||
bind = $mainMod, F, fullscreen, 0
|
||||
|
||||
## Mouse
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
## Focusing
|
||||
bind = $mainMod, LEFT, movefocus, l
|
||||
bind = $mainMod, RIGHT, movefocus, r
|
||||
bind = $mainMod, UP, movefocus, u
|
||||
bind = $mainMod, DOWN, movefocus, d
|
||||
|
||||
## Moving
|
||||
bind = $altMod, LEFT, movewindow, l
|
||||
bind = $altMod, RIGHT, movewindow, r
|
||||
bind = $altMod, UP, movewindow, u
|
||||
bind = $altMod, DOWN, movewindow, d
|
||||
|
||||
## Center and Split
|
||||
#bind = $mainMod, S, togglesplit
|
||||
#bind = $mainMod, D, exec, hyprctl dispatch centerwindow 1
|
||||
|
||||
## Group Control
|
||||
bind = $mainMod, G, togglegroup
|
||||
bind = $mainMod CTRL, G, lockactivegroup, toggle
|
||||
bind = ALT, TAB, changegroupactive
|
||||
|
||||
## Resizing Windows
|
||||
bind = $mainMod, 23, submap, resize # TAB
|
||||
submap = resize
|
||||
|
||||
binde = , RIGHT, resizeactive, 40 0
|
||||
binde = , LEFT, resizeactive, -40 0
|
||||
binde = , UP, resizeactive, 0 -40
|
||||
binde = , DOWN, resizeactive, 0 40
|
||||
|
||||
bind = , ESCAPE, submap, reset
|
||||
|
||||
submap = reset
|
||||
|
||||
# Workspaces
|
||||
## Focusing other Workspaces
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
bind = $altMod, 1, workspace, 11
|
||||
bind = $altMod, 2, workspace, 12
|
||||
bind = $altMod, 3, workspace, 13
|
||||
bind = $altMod, 4, workspace, 14
|
||||
bind = $altMod, 5, workspace, 15
|
||||
bind = $altMod, 6, workspace, 16
|
||||
bind = $altMod, 7, workspace, 17
|
||||
bind = $altMod, 8, workspace, 18
|
||||
bind = $altMod, 9, workspace, 19
|
||||
bind = $altMod, 0, workspace, 20
|
||||
bind = $altrMod, 1, workspace, 21
|
||||
bind = $altrMod, 2, workspace, 22
|
||||
bind = $altrMod, 3, workspace, 23
|
||||
bind = $altrMod, 4, workspace, 24
|
||||
bind = $altrMod, 5, workspace, 25
|
||||
bind = $altrMod, 6, workspace, 26
|
||||
bind = $altrMod, 7, workspace, 27
|
||||
bind = $altrMod, 8, workspace, 28
|
||||
bind = $altrMod, 9, workspace, 29
|
||||
bind = $altrMod, 0, workspace, 30
|
||||
|
||||
## Moving Windows to other Workspaces
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
bind = $altMod SHIFT, 1, movetoworkspace, 11
|
||||
bind = $altMod SHIFT, 2, movetoworkspace, 12
|
||||
bind = $altMod SHIFT, 3, movetoworkspace, 13
|
||||
bind = $altMod SHIFT, 4, movetoworkspace, 14
|
||||
bind = $altMod SHIFT, 5, movetoworkspace, 15
|
||||
bind = $altMod SHIFT, 6, movetoworkspace, 16
|
||||
bind = $altMod SHIFT, 7, movetoworkspace, 17
|
||||
bind = $altMod SHIFT, 8, movetoworkspace, 18
|
||||
bind = $altMod SHIFT, 9, movetoworkspace, 19
|
||||
bind = $altMod SHIFT, 0, movetoworkspace, 20
|
||||
bind = $altrMod SHIFT, 1, movetoworkspace, 21
|
||||
bind = $altrMod SHIFT, 2, movetoworkspace, 22
|
||||
bind = $altrMod SHIFT, 3, movetoworkspace, 23
|
||||
bind = $altrMod SHIFT, 4, movetoworkspace, 24
|
||||
bind = $altrMod SHIFT, 5, movetoworkspace, 25
|
||||
bind = $altrMod SHIFT, 6, movetoworkspace, 26
|
||||
bind = $altrMod SHIFT, 7, movetoworkspace, 27
|
||||
bind = $altrMod SHIFT, 8, movetoworkspace, 28
|
||||
bind = $altrMod SHIFT, 9, movetoworkspace, 29
|
||||
bind = $altrMod SHIFT, 0, movetoworkspace, 30
|
||||
|
||||
## Moving Windows to other Workspaces (Silent)
|
||||
bind = $mainMod CTRL, 1, movetoworkspacesilent, 1
|
||||
bind = $mainMod CTRL, 2, movetoworkspacesilent, 2
|
||||
bind = $mainMod CTRL, 3, movetoworkspacesilent, 3
|
||||
bind = $mainMod CTRL, 4, movetoworkspacesilent, 4
|
||||
bind = $mainMod CTRL, 5, movetoworkspacesilent, 5
|
||||
bind = $mainMod CTRL, 6, movetoworkspacesilent, 6
|
||||
bind = $mainMod CTRL, 7, movetoworkspacesilent, 7
|
||||
bind = $mainMod CTRL, 8, movetoworkspacesilent, 8
|
||||
bind = $mainMod CTRL, 9, movetoworkspacesilent, 9
|
||||
bind = $mainMod CTRL, 0, movetoworkspacesilent, 10
|
||||
bind = $altMod CTRL, 1, movetoworkspacesilent, 11
|
||||
bind = $altMod CTRL, 2, movetoworkspacesilent, 12
|
||||
bind = $altMod CTRL, 3, movetoworkspacesilent, 13
|
||||
bind = $altMod CTRL, 4, movetoworkspacesilent, 14
|
||||
bind = $altMod CTRL, 5, movetoworkspacesilent, 15
|
||||
bind = $altMod CTRL, 6, movetoworkspacesilent, 16
|
||||
bind = $altMod CTRL, 7, movetoworkspacesilent, 17
|
||||
bind = $altMod CTRL, 8, movetoworkspacesilent, 18
|
||||
bind = $altMod CTRL, 9, movetoworkspacesilent, 19
|
||||
bind = $altMod CTRL, 0, movetoworkspacesilent, 20
|
||||
bind = $altrMod CTRL, 1, movetoworkspacesilent, 21
|
||||
bind = $altrMod CTRL, 2, movetoworkspacesilent, 22
|
||||
bind = $altrMod CTRL, 3, movetoworkspacesilent, 23
|
||||
bind = $altrMod CTRL, 4, movetoworkspacesilent, 24
|
||||
bind = $altrMod CTRL, 5, movetoworkspacesilent, 25
|
||||
bind = $altrMod CTRL, 6, movetoworkspacesilent, 26
|
||||
bind = $altrMod CTRL, 7, movetoworkspacesilent, 27
|
||||
bind = $altrMod CTRL, 8, movetoworkspacesilent, 28
|
||||
bind = $altrMod CTRL, 9, movetoworkspacesilent, 29
|
||||
bind = $altrMod CTRL, 0, movetoworkspacesilent, 30
|
||||
|
||||
## Moving to other Workspace with Mouse Control
|
||||
bind = $mainMod, mouse_down, workspace, m-1
|
||||
bind = $mainMod, mouse_up, workspace, m+1
|
||||
|
||||
# Media
|
||||
bindl = $mainMod CTRL, mouse:280, exec, swayosd-client --output-volume mute-toggle # Extra Up Button
|
||||
bindl = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
|
||||
bindl = $mainMod CTRL, mouse:281, exec, swayosd-client --input-volume mute-toggle # Extra Down Button
|
||||
bindl = , XF86AudioMicMute, exec, exec swayosd-client --input-volume mute-toggle
|
||||
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = $mainMod CTRL, mouse:282, exec, playerctl play-pause # Extra Center Button
|
||||
bindl = $mainMod CTRL, RETURN, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
bindl = $mainMod CTRL, mouse:275, exec, playerctl previous # Extra Back Button
|
||||
bindl = $mainMod CTRL, 20, exec, playerctl previous # Minus Key
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = $mainMod CTRL, mouse:276, exec, playerctl next # Extra Forward Button
|
||||
bindl = $mainMod CTRL, 21, exec, playerctl next # Plus Key
|
||||
|
||||
bindle = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume +10
|
||||
bindle = $mainMod ALT, 21, exec, swayosd-client --output-volume raise # Minus key
|
||||
bindle = , XF86AudioLowerVolume, exec, swayosd-client --output-volume -10
|
||||
bindle = $mainMod ALT, 20, exec, swayosd-client --output-volume lower # Plus key
|
||||
|
||||
bindle = , XF86InputRaiseVolume, exec, swayosd-client --input-volume raise
|
||||
bindle = $mainMod SHIFT, 21, exec, swayosd-client --input-volume raise # Minus key
|
||||
bindle = , XF86InputLowerVolume, exec, swayosd-client --input-volume lower
|
||||
bindle = $mainMod SHIFT, 20, exec, swayosd-client --input-volume lower # Plus key
|
||||
|
||||
## Brightness
|
||||
bindle = , XF86MonBrightnessUp, exec, swayosd-client --brightness +10
|
||||
bindle = , XF86MonBrightnessDown, exec, swayosd-client --brightness -10
|
||||
|
||||
# Other
|
||||
# Color picker
|
||||
bind = $mainMod, INSERT, exec, $scripts/color_picker
|
||||
|
||||
## Disable anim, blur, etc
|
||||
bind = $mainMod, F12, exec, $scripts/performance
|
||||
|
||||
## Freeze active window
|
||||
bind = $mainMod, H, exec, $scripts/hyprfreeze -a
|
||||
|
||||
## Open Wikis
|
||||
#bind = $mainMod, F1, exec, xdg-open https://wiki.hyprland.org/
|
||||
|
||||
## Zoom
|
||||
#bind = $mainMod SHIFT, mouse:276, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 + 0.5}')
|
||||
#bind = $mainMod SHIFT, mouse:275, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 - 0.5}')
|
||||
|
||||
# lock
|
||||
bind = $mainMod, L, exec, swaylock
|
||||
19
hypr/configs/default_apps.conf
Normal file
19
hypr/configs/default_apps.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
# Define your programs
|
||||
$launcher = rofi -show drun
|
||||
|
||||
$bar = waybar
|
||||
$bar-toggle = killall -SIGUSR1 $bar
|
||||
$bar-reload = killall $bar; $bar
|
||||
|
||||
$notifications-menu = swaync-client
|
||||
$notifications-menu-read = $notifications-menu -C
|
||||
$notifications-menu-toggle = $notifications-menu -t
|
||||
$notifications-menu-reload = $notifications-menu -R && $notifications-menu -rs
|
||||
|
||||
$browser = firefox
|
||||
$notetaking-app = notesh
|
||||
$terminal = kitty
|
||||
$office-suite = libreoffice
|
||||
$editor = $terminal vim
|
||||
$ide = code
|
||||
$file-manager = nemo
|
||||
23
hypr/configs/env.conf
Normal file
23
hypr/configs/env.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
# XDG
|
||||
envd = XDG_CURRENT_DESKTOP, Hyprland
|
||||
envd = XDG_SESSION_TYPE, wayland
|
||||
envd = XDG_SESSION_DESKTOP, Hyprland
|
||||
|
||||
# QT
|
||||
env = QT_QPA_PLATFORM, wayland
|
||||
env = QT_QPA_PLATFORMTHEME, qt5ct
|
||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR, 1
|
||||
env = QT_STYLE_OVERRIDE, kvantum
|
||||
|
||||
# Tearing
|
||||
env = WLR_DRM_NO_ATOMIC, 0
|
||||
|
||||
# Themes
|
||||
env = GTK_THEME, catppuccin-macchiato-lavender-standard+default
|
||||
env = XCURSOR_THEME, catppuccin-macchiato-dark-cursors
|
||||
#env = XCURSOR_THEME, Wii-Pointer-P1
|
||||
env = XCURSOR_SIZE, 24
|
||||
env = HYPRCURSOR_THEME, catppuccin-macchiato-dark-cursors
|
||||
#env = HYPRCURSOR_THEME, Wii-Pointer-P1
|
||||
env = HYPRCURSOR_SIZE, 24
|
||||
13
hypr/configs/input.conf
Normal file
13
hypr/configs/input.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
input {
|
||||
kb_layout = de
|
||||
kb_options = compose:rctrl, level3:ralt_switch, grp:win_space_toggle
|
||||
|
||||
follow_mouse = 1
|
||||
numlock_by_default = true
|
||||
|
||||
touchpad {
|
||||
natural_scroll = yes
|
||||
disable_while_typing = true
|
||||
scroll_factor = 0.5
|
||||
}
|
||||
}
|
||||
35
hypr/configs/misc.conf
Normal file
35
hypr/configs/misc.conf
Normal file
@@ -0,0 +1,35 @@
|
||||
general {
|
||||
allow_tearing = false
|
||||
}
|
||||
|
||||
misc {
|
||||
always_follow_on_dnd = true
|
||||
disable_hyprland_logo = true
|
||||
vrr = 0
|
||||
animate_manual_resizes = true
|
||||
animate_mouse_windowdragging = false
|
||||
enable_swallow = true
|
||||
font_family = JetBrainsMono Nerd Font
|
||||
enable_anr_dialog = false
|
||||
}
|
||||
|
||||
binds {
|
||||
movefocus_cycles_fullscreen = false
|
||||
}
|
||||
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
dwindle {
|
||||
pseudotile = yes # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # You probably want this
|
||||
pseudotile = true # Enable pseudotiling on dwindle
|
||||
force_split = 0
|
||||
preserve_split = true
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe = yes
|
||||
workspace_swipe_fingers = 4
|
||||
}
|
||||
13
hypr/configs/monitors.conf
Normal file
13
hypr/configs/monitors.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
$MONITOR1=eDP-1
|
||||
$MONITOR2=DP-1
|
||||
$MONITOR3=DP-3
|
||||
|
||||
# Main Monitor
|
||||
monitor=$MONITOR1, 3072x1920@120.00, 0x0, 2.0, vrr, 1
|
||||
|
||||
# Second Monitor
|
||||
monitor=$MONITOR2, 1920x1080@60.00, -1920x-800, 1.0 #, mirror, $MONITOR3
|
||||
# FSIT Arbeitsplatz: -1920x-800
|
||||
|
||||
# Third Monitor
|
||||
monitor=$MONITOR3, 1920x1080@60.00, 0x1920, 1.0 #, mirror, $MONITOR2
|
||||
25
hypr/configs/plugins.conf
Normal file
25
hypr/configs/plugins.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
# Hyprtrails
|
||||
# exec-once = hyprpm enable hyprtrails
|
||||
# source = ~/.config/hypr/plugins/hyprtrails.conf
|
||||
|
||||
# Hyprexpo
|
||||
# exec-once = hyprpm enable hyprexpo
|
||||
# source = ~/.config/hypr/plugins/hyprexpo.conf
|
||||
|
||||
# Hyprsplit
|
||||
# exec-once = hyprpm enable hyprsplit
|
||||
# source = ~/.config/hypr/plugins/hyprsplit.conf
|
||||
|
||||
# Hyprtasking
|
||||
# exec-once = hyprpm enable hyprtasking
|
||||
# source = ~/.config/hypr/plugins/hyprtasking.conf
|
||||
|
||||
# Hyprspace
|
||||
# exec-once = hyprpm enable hyprspace
|
||||
# source = ~/.config/hypr/plugins/hyprspace.conf
|
||||
|
||||
# Dynamic-cursors
|
||||
# exec-once = hyprpm enable dynamic-cursors
|
||||
# source = ~/.config/hypr/plugins/dynamic-cursors.conf
|
||||
|
||||
exec-once = hyprpm reload -n
|
||||
36
hypr/configs/workspaces.conf
Normal file
36
hypr/configs/workspaces.conf
Normal file
@@ -0,0 +1,36 @@
|
||||
# Main Monitor
|
||||
workspace = 1, monitor:$MONITOR1, default:true
|
||||
workspace = 2, monitor:$MONITOR1
|
||||
workspace = 3, monitor:$MONITOR1
|
||||
workspace = 4, monitor:$MONITOR1
|
||||
workspace = 5, monitor:$MONITOR1
|
||||
workspace = 6, monitor:$MONITOR1
|
||||
workspace = 7, monitor:$MONITOR1
|
||||
workspace = 8, monitor:$MONITOR1
|
||||
workspace = 9, monitor:$MONITOR1
|
||||
workspace = 10, monitor:$MONITOR1 #, rounding:false, decorate:false, gapsin:-1, gapsout:0, border:false, decorate:false # Gaming Workspace
|
||||
|
||||
# Second Monitor
|
||||
workspace = 11, monitor:$MONITOR2, default:true
|
||||
workspace = 12, monitor:$MONITOR2
|
||||
workspace = 13, monitor:$MONITOR2
|
||||
workspace = 14, monitor:$MONITOR2
|
||||
workspace = 15, monitor:$MONITOR2
|
||||
workspace = 16, monitor:$MONITOR2
|
||||
workspace = 17, monitor:$MONITOR2
|
||||
workspace = 18, monitor:$MONITOR2
|
||||
workspace = 19, monitor:$MONITOR2
|
||||
workspace = 20, monitor:$MONITOR2 #, rounding:false, decorate:false, gapsin:-1, gapsout:0, border:false, decorate:false # Gaming Workspace
|
||||
|
||||
# Third Monitor
|
||||
workspace = 21, monitor:$MONITOR3, default:true
|
||||
workspace = 22, monitor:$MONITOR3
|
||||
workspace = 23, monitor:$MONITOR3
|
||||
workspace = 24, monitor:$MONITOR3
|
||||
workspace = 25, monitor:$MONITOR3
|
||||
workspace = 26, monitor:$MONITOR3
|
||||
workspace = 27, monitor:$MONITOR3
|
||||
workspace = 28, monitor:$MONITOR3
|
||||
workspace = 29, monitor:$MONITOR3
|
||||
workspace = 30, monitor:$MONITOR3 #, rounding:false, decorate:false, gapsin:-1, gapsout:0, border:false, decorate:false # Gaming Workspace
|
||||
|
||||
Reference in New Issue
Block a user