Compare commits

..

6 commits

38 changed files with 639 additions and 296 deletions

View file

@ -1,3 +0,0 @@
#!/bin/sh
hyprctl monitors | awk '($1 == "Monitor") { print $2 }' | xargs hyprctl dispatch swapactiveworkspaces

3
bin/hyprswapworkspaces Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh -x
monitors=$(hyprctl monitors | awk '($1 == "Monitor") { print $2 }' | xargs)
hyprctl dispatch swapactiveworkspaces $monitors

View file

@ -0,0 +1,31 @@
# Defaults
$terminal = alacritty
$browser = librewolf
$locker = swaylock
# Applications
$joplin = joplin-desktop
$bitwarden = bitwarden-desktop
$element = element-desktop
$discord = webcord
$deezer = deezer --enable-features=UseOzonePlatform --ozone-platform=wayland
# Classes
$terminal_class = Alacritty
$joplin_class = @joplin/app-desktop
$bitwarden_class = Bitwarden
$element_class = Element
$discord_class = WebCord
$deezer_class = Deezer
# Colors
$col_accentdark = rgb(00ff00)
$col_accentlight = rgb(80ff80)
$col_inactive = rgba(80808080)
$col_textlight = rgba(ffffffe8)
# Plugins
plugin = /usr/lib/libhy3.so
# Configuration modules
source = hyprland.d/*.conf

View file

@ -0,0 +1,5 @@
# Animations
animations {
# Save battery
enabled = false
}

View file

@ -0,0 +1,94 @@
# Open terminal
bind = SUPER, Return, exec, $terminal
# Workspaces
#bind = SUPER, equal, movetoworkspace, special
bind = SUPER, 10, workspace, 1
bind = SUPER, 11, workspace, 2
bind = SUPER, 12, workspace, 3
bind = SUPER, 13, workspace, 4
bind = SUPER, R, workspace, 5
bind = SUPER, F, workspace, 6
bind = SUPER, V, workspace, 7
bind = SUPER, C, workspace, 8
bind = SUPER, X, workspace, 9
bind = SUPER, W, workspace, 10
bind = SUPER, mouse_down, workspace, e-1
bind = SUPER, mouse_up, workspace, e+1
bind = SUPER Alt_L, Return, exec, hyprswapworkspaces
# Windows
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow
bind = SUPER SHIFT, Q, killactive
bind = SUPER SHIFT, 10, movetoworkspacesilent, 1
bind = SUPER SHIFT, 11, movetoworkspacesilent, 2
bind = SUPER SHIFT, 12, movetoworkspacesilent, 3
bind = SUPER SHIFT, 13, movetoworkspacesilent, 4
bind = SUPER SHIFT, R, movetoworkspacesilent, 5
bind = SUPER SHIFT, F, movetoworkspacesilent, 6
bind = SUPER SHIFT, V, movetoworkspacesilent, 7
bind = SUPER SHIFT, C, movetoworkspacesilent, 8
bind = SUPER SHIFT, X, movetoworkspacesilent, 9
bind = SUPER SHIFT, W, movetoworkspacesilent, 10
bind = SUPER SHIFT, space, pin, active
bind = SUPER SHIFT, A, hy3:movewindow, l
bind = SUPER SHIFT, Z, hy3:movewindow, u
bind = SUPER SHIFT, S, hy3:movewindow, d
bind = SUPER SHIFT, D, hy3:movewindow, r
bind = SUPER Alt_L, space, togglefloating
bind = SUPER Alt_L, F, fullscreen
bind = SUPER SHIFT Alt_L, F, fakefullscreen
# Focus
bind = SUPER, A, hy3:movefocus, l
bind = SUPER, Z, hy3:movefocus, u
bind = SUPER, S, hy3:movefocus, d
bind = SUPER, D, hy3:movefocus, r
bindn = , mouse:272, hy3:focustab, mouse
bindn = , mouse_up, hy3:focustab, r, require_hovered, wrap
bindn = , mouse_down, hy3:focustab, l, require_hovered, wrap
# Groups
bind = SUPER, Q, hy3:makegroup, tab, force_ephemeral
bind = SUPER, E, hy3:changegroup, opposite
bind = SUPER, B, hy3:changegroup, toggletab
# Global
bind = SUPER SHIFT, BackSpace, exit
# Launchers
bind = SUPER, F1, exec, $browser
bind = SUPER, F2, exec, $joplin
bind = SUPER, F3, exec, $bitwarden
bind = SUPER, F4, exec, $element
bind = SUPER, F5, exec, $discord
bind = SUPER, F6, exec, $deezer
# Screenshots
bind = , Print, exec, glurp full clip
bind = Alt_L, Print, exec, glurp full file
bind = SHIFT, Print, exec, glurp area clip
bind = SHIFT Alt_L, Print, exec, glurp area file
# Lock screen
bind = SUPER, L, exec, $locker
# Sound
binde = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume=raise
binde = , XF86AudioLowerVolume, exec, swayosd-client --output-volume=lower
binde = , XF86AudioMute, exec, swayosd-client --output-volume=mute-toggle
# Resize
bind = SUPER Alt_L, R, submap, resize
submap = resize
binde = , A, resizeactive, -25 0
binde = , Z, resizeactive, 0 -25
binde = , S, resizeactive, 0 25
binde = , D, resizeactive, 25 0
bind = , escape, submap, reset
submap = reset
# Brightness
binde = , XF86MonBrightnessDown, exec, swayosd-client --brightness=lower
binde = , XF86MonBrightnessUp, exec, swayosd-client --brightness=raise

View file

@ -0,0 +1,14 @@
# Binds
binds {
# Scrolling
scroll_event_delay = 0
# Workspaces
workspace_back_and_forth = false
allow_workspace_cycles = false
workspace_center_on = 1
# Focus
focus_preferred_method = 1
movefocus_cycles_fullscreen = false
}

View file

@ -0,0 +1,23 @@
# Decoration
decoration {
# Corners
rounding = 10
# Opacity
active_opacity = 1.0
inactive_opacity = 1.0
fullscreen_opacity = 1.0
# Shadows
drop_shadow = false
# Dimming
dim_inactive = false
# Blur
blur {
enabled = false
ignore_opacity = true
xray = true
}
}

View file

@ -0,0 +1,20 @@
# Qt
env = QT_QPA_PLATFORM, wayland
env = QT_QPA_PLATFORMTHEME, qt6ct
env = QT_AUTO_SCREEN_SCALE_FACTOR, 1
env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1
# Clutter
env = CLUTTER_BACKEND = wayland
# SDL
env = SDL_VIDEODRIVER, wayland
# ELM
env = ELM_DISPLAY, wl
# Java
env = _JAVA_AWT_WM_NONREPARENTING, 1
# XDG
env = XDG_SESSION_DESKTOP, Hyprland

View file

@ -0,0 +1,25 @@
# General
general {
# Borders
border_size = 2
col.inactive_border = $col_inactive
col.nogroup_border = $col_inactive
col.active_border = $col_accentdark $col_accentlight 90deg
col.nogroup_border_active = rgb(00cc66) rgb(33ff99) 270deg
resize_on_border = false
# Gaps
gaps_in = 5
gaps_out = 10
gaps_workspaces = 0
# Cursor
cursor_inactive_timeout = 0
no_cursor_warps = false
# Layout
layout = hy3
# Focus
no_focus_fallback = true
}

View file

@ -0,0 +1,4 @@
# Gestures
gestures {
workspace_swipe = true
}

View file

@ -0,0 +1,18 @@
# Input
input {
# Keyboard
kb_layout = fr
numlock_by_default = true
repeat_rate = 75
repeat_delay = 300
# Mouse
sensitivity = 0.0
accel_profile = flat
# Touchpad
touchpad {
disable_while_typing = false
natural_scroll = true
}
}

View file

@ -0,0 +1,30 @@
# Misc
misc {
# Logos and mascotts
disable_hyprland_logo = true
disable_splash_rendering = true
force_hypr_chan = false
# Focus
layers_hog_keyboard_focus = true
mouse_move_focuses_monitor = true
# Animations
animate_manual_resizes = true
# Swallowing
enable_swallow = true
swallow_regex = $terminal_class
# Cursor
hide_cursor_on_touch = false
# Screen locking
#allow_session_lock_restore = true
# Workspaces
close_special_on_empty = true
# Windows
new_window_takes_over_fullscreen = 2
}

View file

@ -0,0 +1,2 @@
# Main monitor
monitor = , highrr, 1920x0, 1

View file

@ -0,0 +1,34 @@
# Plugin configuration
plugin {
hy3 {
# Windows
no_gaps_when_only = false
# Groups
node_collapse_policy = 0
# Tabs
tabs {
height = 15
padding = 5
from_top = true
rounding = 8
render_text = true
text_center = false
text_font = Hack Nerd Font
text_height = 8
text_padding = 10
col.active = rgba(000000e0)
col.urgent = rgb(ffd966)
col.inactive = rgba(00000080)
col.text.active = $col_accentdark
col.text.urgent = rgba(000000e8)
col.text.inactive = rgb(808080)
}
# Autotile
autotile {
enable = true
}
}
}

View file

@ -0,0 +1,8 @@
# Wallpaper
exec-once = hyprpaper
# XDG compliance
exec-once = hyprxdg
# SwayOSD
exec-once = swayosd-server

View file

@ -0,0 +1,6 @@
# Workspace 4
windowrulev2 = workspace 4 silent, class:($joplin_class)
windowrulev2 = workspace 4 silent, class:($bitwarden_class)
windowrulev2 = workspace 4 silent, class:($element_class)
windowrulev2 = workspace 4 silent, class:($discord_class)
windowrulev2 = workspace 4 silent, class:($deezer_class)

View file

@ -0,0 +1,4 @@
# Xwayland
xwayland {
force_zero_scaling = true
}

View file

@ -0,0 +1,6 @@
# Wallpaper
preload = ~/.local/share/backgrounds/chime_interdimensional.jpg
wallpaper = , ~/.local/share/backgrounds/chime_interdimensional.jpg
# Save battery
ipc = off

View file

@ -0,0 +1,31 @@
# Defaults
$terminal = alacritty
$browser = librewolf
$locker = swaylock
# Applications
$joplin = joplin-desktop
$bitwarden = bitwarden-desktop
$element = element-desktop
$discord = webcord
$deezer = deezer --enable-features=UseOzonePlatform --ozone-platform=wayland
# Classes
$terminal_class = Alacritty
$joplin_class = @joplin/app-desktop
$bitwarden_class = Bitwarden
$element_class = Element
$discord_class = WebCord
$deezer_class = Deezer
# Colors
$col_accentdark = rgb(9933ff)
$col_accentlight = rgb(d966ff)
$col_inactive = rgba(80808080)
$col_textlight = rgba(ffffffe8)
# Plugins
plugin = /usr/lib/libhy3.so
# Configuration modules
source = hyprland.d/*.conf

View file

@ -0,0 +1,5 @@
# Animations
animations {
# Save battery
#enabled = false
}

View file

@ -0,0 +1,89 @@
# Open terminal
bind = SUPER, Return, exec, $terminal
# Workspaces
#bind = SUPER, equal, movetoworkspace, special
bind = SUPER, 10, workspace, 1
bind = SUPER, 11, workspace, 2
bind = SUPER, 12, workspace, 3
bind = SUPER, 13, workspace, 4
bind = SUPER, R, workspace, 5
bind = SUPER, F, workspace, 6
bind = SUPER, V, workspace, 7
bind = SUPER, C, workspace, 8
bind = SUPER, X, workspace, 9
bind = SUPER, W, workspace, 10
bind = SUPER, mouse_down, workspace, e-1
bind = SUPER, mouse_up, workspace, e+1
bind = SUPER Alt_L, Return, exec, hyprswapworkspaces
# Windows
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow
bind = SUPER SHIFT, Q, killactive
bind = SUPER SHIFT, 10, movetoworkspacesilent, 1
bind = SUPER SHIFT, 11, movetoworkspacesilent, 2
bind = SUPER SHIFT, 12, movetoworkspacesilent, 3
bind = SUPER SHIFT, 13, movetoworkspacesilent, 4
bind = SUPER SHIFT, R, movetoworkspacesilent, 5
bind = SUPER SHIFT, F, movetoworkspacesilent, 6
bind = SUPER SHIFT, V, movetoworkspacesilent, 7
bind = SUPER SHIFT, C, movetoworkspacesilent, 8
bind = SUPER SHIFT, X, movetoworkspacesilent, 9
bind = SUPER SHIFT, W, movetoworkspacesilent, 10
bind = SUPER SHIFT, space, pin, active
bind = SUPER SHIFT, A, hy3:movewindow, l
bind = SUPER SHIFT, Z, hy3:movewindow, u
bind = SUPER SHIFT, S, hy3:movewindow, d
bind = SUPER SHIFT, D, hy3:movewindow, r
bind = SUPER Alt_L, space, togglefloating
bind = SUPER Alt_L, F, fullscreen
bind = SUPER SHIFT Alt_L, F, fakefullscreen
# Focus
bind = SUPER, A, hy3:movefocus, l
bind = SUPER, Z, hy3:movefocus, u
bind = SUPER, S, hy3:movefocus, d
bind = SUPER, D, hy3:movefocus, r
bindn = , mouse:272, hy3:focustab, mouse
bindn = , mouse_up, hy3:focustab, r, require_hovered, wrap
bindn = , mouse_down, hy3:focustab, l, require_hovered, wrap
# Groups
bind = SUPER, Q, hy3:makegroup, tab, force_ephemeral
bind = SUPER, E, hy3:changegroup, opposite
bind = SUPER, B, hy3:changegroup, toggletab
# Global
bind = SUPER SHIFT, BackSpace, exit
# Launchers
bind = SUPER, F1, exec, $browser
bind = SUPER, F2, exec, $joplin
bind = SUPER, F3, exec, $bitwarden
bind = SUPER, F4, exec, $element
bind = SUPER, F5, exec, $discord
bind = SUPER, F6, exec, $deezer
# Screenshots
bind = , Print, exec, glurp full clip
bind = Alt_L, Print, exec, glurp full file
bind = SHIFT, Print, exec, glurp area clip
bind = SHIFT Alt_L, Print, exec, glurp area file
# Lock screen
bind = SUPER, L, exec, $locker
# Sound
binde = SUPER, Prior, exec, swayosd-client --output-volume=raise
binde = SUPER, Next, exec, swayosd-client --output-volume=lower
# Resize
bind = SUPER Alt_L, R, submap, resize
submap = resize
binde = , A, resizeactive, -25 0
binde = , Z, resizeactive, 0 -25
binde = , S, resizeactive, 0 25
binde = , D, resizeactive, 25 0
bind = , escape, submap, reset
submap = reset

View file

@ -0,0 +1,14 @@
# Binds
binds {
# Scrolling
scroll_event_delay = 0
# Workspaces
workspace_back_and_forth = false
allow_workspace_cycles = false
workspace_center_on = 1
# Focus
focus_preferred_method = 1
movefocus_cycles_fullscreen = false
}

View file

@ -0,0 +1,23 @@
# Decoration
decoration {
# Corners
rounding = 10
# Opacity
active_opacity = 1.0
inactive_opacity = 0.9
fullscreen_opacity = 1.0
# Shadows
drop_shadow = false
# Dimming
dim_inactive = false
# Blur
blur {
enabled = true
ignore_opacity = false
xray = true
}
}

View file

@ -0,0 +1,20 @@
# Qt
env = QT_QPA_PLATFORM, wayland
env = QT_QPA_PLATFORMTHEME, qt6ct
env = QT_AUTO_SCREEN_SCALE_FACTOR, 1
env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1
# Clutter
env = CLUTTER_BACKEND = wayland
# SDL
env = SDL_VIDEODRIVER, wayland
# ELM
env = ELM_DISPLAY, wl
# Java
env = _JAVA_AWT_WM_NONREPARENTING, 1
# XDG
env = XDG_SESSION_DESKTOP, Hyprland

View file

@ -0,0 +1,25 @@
# General
general {
# Borders
border_size = 2
col.inactive_border = $col_inactive
col.nogroup_border = $col_inactive
col.active_border = $col_accentdark $col_accentlight 90deg
col.nogroup_border_active = rgb(00cc66) rgb(33ff99) 270deg
resize_on_border = false
# Gaps
gaps_in = 5
gaps_out = 10
gaps_workspaces = 0
# Cursor
cursor_inactive_timeout = 0
no_cursor_warps = false
# Layout
layout = hy3
# Focus
no_focus_fallback = true
}

View file

@ -0,0 +1,18 @@
# Input
input {
# Keyboard
kb_layout = fr
numlock_by_default = true
repeat_rate = 75
repeat_delay = 300
# Mouse
sensitivity = 0.0
accel_profile = flat
# Touchpad
touchpad {
disable_while_typing = false
natural_scroll = true
}
}

View file

@ -0,0 +1,30 @@
# Misc
misc {
# Logos and mascotts
disable_hyprland_logo = true
disable_splash_rendering = true
force_hypr_chan = false
# Focus
layers_hog_keyboard_focus = true
mouse_move_focuses_monitor = true
# Animations
animate_manual_resizes = true
# Swallowing
enable_swallow = true
swallow_regex = $terminal_class
# Cursor
hide_cursor_on_touch = false
# Screen locking
#allow_session_lock_restore = true
# Workspaces
close_special_on_empty = true
# Windows
new_window_takes_over_fullscreen = 2
}

View file

@ -0,0 +1,2 @@
# Main monitor
monitor = , highrr, 1920x0, 1

View file

@ -0,0 +1,34 @@
# Plugin configuration
plugin {
hy3 {
# Windows
no_gaps_when_only = false
# Groups
node_collapse_policy = 0
# Tabs
tabs {
height = 15
padding = 5
from_top = true
rounding = 8
render_text = true
text_center = false
text_font = Hack Nerd Font
text_height = 8
text_padding = 10
col.active = $col_accentdark
col.urgent = rgb(ffd966)
col.inactive = $col_inactive
col.text.active = $col_textlight
col.text.urgent = rgba(000000e8)
col.text.inactive = $col_textlight
}
# Autotile
autotile {
enable = true
}
}
}

View file

@ -0,0 +1,8 @@
# Wallpaper
exec-once = hyprpaper
# XDG compliance
exec-once = hyprxdg
# SwayOSD
exec-once = swayosd-server

View file

@ -0,0 +1,6 @@
# Workspace 4
windowrulev2 = workspace 4 silent, class:($joplin_class)
windowrulev2 = workspace 4 silent, class:($bitwarden_class)
windowrulev2 = workspace 4 silent, class:($element_class)
windowrulev2 = workspace 4 silent, class:($discord_class)
windowrulev2 = workspace 4 silent, class:($deezer_class)

View file

@ -0,0 +1,4 @@
# Xwayland
xwayland {
force_zero_scaling = true
}

View file

@ -1,6 +1,6 @@
# Preload
# Wallpaper
preload = ~/.local/share/backgrounds/virtual_riot_save_yourself_2-1920x1080.jpg
# Definition
wallpaper = , ~/.local/share/backgrounds/virtual_riot_save_yourself_2-1920x1080.jpg
# Save battery
#ipc = off

View file

@ -1,115 +0,0 @@
# Monitor
monitor = , highrr, 1920x0, 1
monitor = HEADLESS-2, 1920x1080@74.97300, 0x0, 1
# Input
input {
kb_layout = fr
kb_variant =
kb_model =
kb_options = compose:rwin
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = no
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
numlock_by_default = yes
repeat_rate = 40
repeat_delay = 300
accel_profile = flat
}
# General
general {
gaps_in = 5
gaps_out = 10
border_size = 2
col.active_border = rgba(df80ffff) rgba(cc33ffff) 90deg
col.inactive_border = rgba(886c9322)
layout = dwindle
}
group {
col.border_inactive = rgba(f2f2f280)
col.border_active = rgb(3366ff) rgb(33ccff)
}
# Decoration
decoration {
rounding = 5
drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
inactive_opacity = 0.9
blur {
enabled = yes
size = 3
passes = 1
#new_optimizations = on
}
}
# Animations
$animSpeed = 3
animations {
enabled = yes
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, $animSpeed, myBezier
animation = windowsOut, 1, $animSpeed, default, popin 80%
animation = border, 1, $animSpeed, default
animation = fade, 1, $animSpeed, default
animation = workspaces, 1, $animSpeed, default
}
# Dwindle
dwindle {
pseudotile = yes
preserve_split = yes
}
# Master
master {
new_is_master = true
}
# Gestures
gestures {
workspace_swipe = off
}
# Per-device config
device:epic mouse V1 {
sensitivity = -0.5
}
# Xwayland
xwayland {
force_zero_scaling = true
}
# Variables
$browser = librewolf
$terminal = alacritty
$discord = webcord
$deezer = deezer
$bitwarden = bitwarden-desktop
$joplin = joplin-desktop
$matrix = element-desktop
# Modular sourcing
$confDir = ~/.config/hypr/hyprland.conf.d
source = $confDir/bindings.conf
source = $confDir/windowrules.conf
source = $confDir/startup.conf
source = $confDir/environment.conf

View file

@ -1,130 +0,0 @@
# Bindings
# Main mod
$mainMod = SUPER
# Hyprland control
bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod SHIFT, E, exit,
# Windows controls
# Layout
bind = $mainMod, C, togglefloating,
bind = $mainMod, P, pseudo,
bind = $mainMod, E, togglesplit,
# Groups
bind = $mainMod, S, togglegroup,
bind = $mainMod, Prior, changegroupactive, b
bind = $mainMod, Next, changegroupactive, f
bind = $mainMod SHIFT, Prior, movegroupwindow, b
bind = $mainMod SHIFT, Next, movegroupwindow, f
bind = $mainMod SHIFT, h, moveoutofgroup,
bind = $mainMod SHIFT, j, moveoutofgroup,
bind = $mainMod SHIFT, k, moveoutofgroup,
bind = $mainMod SHIFT, l, moveoutofgroup,
bind = $mainMod SHIFT, left, moveoutofgroup,
bind = $mainMod SHIFT, down, moveoutofgroup,
bind = $mainMod SHIFT, up, moveoutofgroup,
bind = $mainMod SHIFT, right, moveoutofgroup,
bind = $mainMod SHIFT, h, moveintogroup, l
bind = $mainMod SHIFT, j, moveintogroup, d
bind = $mainMod SHIFT, k, moveintogroup, u
bind = $mainMod SHIFT, l, moveintogroup, r
bind = $mainMod SHIFT, Left, moveintogroup, l
bind = $mainMod SHIFT, Down, moveintogroup, d
bind = $mainMod SHIFT, Up, moveintogroup, u
bind = $mainMod SHIFT, Right, moveintogroup, r
# Focus
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r
bind = $mainMod, K, movefocus, u
bind = $mainMod, J, movefocus, d
# Moving
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d
bind = $mainMod SHIFT, H, movewindow, l
bind = $mainMod SHIFT, L, movewindow, r
bind = $mainMod SHIFT, K, movewindow, u
bind = $mainMod SHIFT, J, movewindow, d
# Workspaces
bind = $mainMod, 10, workspace, 1
bind = $mainMod, 11, workspace, 2
bind = $mainMod, 12, workspace, 3
bind = $mainMod, 13, workspace, 4
bind = $mainMod, 14, workspace, 5
bind = $mainMod, 15, workspace, 6
bind = $mainMod, 16, workspace, 7
bind = $mainMod, 17, workspace, 8
bind = $mainMod, 18, workspace, 9
bind = $mainMod, 19, workspace, 10
# Moving to workspaces
bind = $mainMod SHIFT, 10, movetoworkspacesilent, 1
bind = $mainMod SHIFT, 11, movetoworkspacesilent, 2
bind = $mainMod SHIFT, 12, movetoworkspacesilent, 3
bind = $mainMod SHIFT, 13, movetoworkspacesilent, 4
bind = $mainMod SHIFT, 14, movetoworkspacesilent, 5
bind = $mainMod SHIFT, 15, movetoworkspacesilent, 6
bind = $mainMod SHIFT, 16, movetoworkspacesilent, 7
bind = $mainMod SHIFT, 17, movetoworkspacesilent, 8
bind = $mainMod SHIFT, 18, movetoworkspacesilent, 9
bind = $mainMod SHIFT, 19, movetoworkspacesilent, 10
# Scrolling through workspaces
bind = $mainMod, mouse_down, workspace, e-1
bind = $mainMod, mouse_up, workspace, e+1
# Moving and resizing windows with mouse
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Screenshots
bind = , Print, exec, glurp full clip
bind = SHIFT, Print, exec, glurp area clip
bind = ALT, Print, exec, glurp full file
bind = SHIFT ALT, Print, exec, glurp area file
# Launchers
bind = $mainMod, D, exec, rofi -show drun
bind = $mainMod, 36, exec, $terminal
bind = $mainMod, F1, exec, $browser
bind = $mainMod, F2, exec, $joplin
bind = $mainMod, F3, exec, $bitwarden
bind = $mainMod, F4, exec, $matrix
bind = $mainMod, F5, exec, $discord
bind = $mainMod, F6, exec, $deezer
bind = $mainMod ALT, L, exec, swaylock
# Resize mode
bind = $mainMod, R, submap, resize
submap = resize
binde = , right, resizeactive, 50 0
binde = , left, resizeactive, -50 0
binde = , up, resizeactive, 0 -50
binde = , down, resizeactive, 0 50
binde = , H, resizeactive, -50 0
binde = , J, resizeactive, 0 50
binde = , K, resizeactive, 0 -50
binde = , L, resizeactive, 50 0
bind= , escape, submap, reset
bind= $mainMod, r, submap, reset
submap = reset
# Fullscreen
bind = $mainMod, F, fullscreen
# Swap workspaces
bind = $mainMod ALT, Space, exec, hyprland-swap_workspaces

View file

@ -1,25 +0,0 @@
# Backend
env = GDK_BACKEND, wayland,x11
env = SDL_VIDEODRIVER, wayland
env = CLUTTER_BACKEND, wayland
env = _JAVA_AWT_WM_NONREPARENTING=1
# XDG
env = XDG_CURRENT_DESKTOP, Hyprland
env = XDG_SESSION_TYPE, wayland
env = XDG_SESSION_DESKTOP, Hyprland
# Qt
env = QT_AUTO_SCREEN_SCALE_FACTOR, 1
env = QT_QPA_PLATFORM, wayland;xcb
env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1
env = QT_QPA_PLATFORMTHEME, qt6ct
# Theming
env = GTK_THEME, Dracula
env = XCURSOR_THEME, Afterglow-cursors
env = XCURSOR_SIZE, 24
# Applications
env = BROWSER, librewolf

View file

@ -1,5 +0,0 @@
# Startup
exec-once = hyprpaper
exec-once = swayosd-server
exec-once = $terminal & $terminal -e sudo -i
exec-once = xdg-session-start

View file

@ -1,15 +0,0 @@
# Window rules
# Workspace 4
windowrule = workspace 4 silent, ^(WebCord)$
windowrule = workspace 4 silent, ^(@joplin/app-desktop)$
windowrule = workspace 4 silent, ^(Bitwarden)$
windowrule = workspace 4 silent, ^(Deezer)$
windowrule = workspace 4 silent, ^(Element)$
# Floating windows
windowrule = float, ^(pavucontrol)$
# REAPER
windowrulev2 = move cursor 0 -50%, class:^(REAPER)$, title:^(Routing|Controls)( for track )([1-9][0-9]*)(.*)$