add hyperland

This commit is contained in:
Łukasz Pankowski 2024-02-14 00:16:11 +01:00
parent 113c96ede4
commit 9c057cd96b
3 changed files with 113 additions and 0 deletions

View File

@ -0,0 +1,79 @@
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
monitor=DP-2,highres,0x0,1.666667,transform,1
monitor=DP-1,highres,1295x0,1.666667
input {
kb_layout = pl
kb_options = ctrl:nocaps
}
general {
gaps_in = 2
gaps_out = 5
}
animations {
enabled = false
}
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
}
$menu = rofi -show drun -theme Arc-Dark
$terminal = alacritty
$mainMod = SUPER
bind = $mainMod, P, exec, $menu
bind = $mainMod SHIFT, Return, exec, $terminal
bind = $mainMod CONTROL SHIFT, Q, exit
bind = $mainMod CONTROL SHIFT, L, exec, swaylock
bind = $mainMod, F, fullscreen, 0
bind = $mainMod, N, cyclenext,
bind = $mainMod, P, cyclenext, prev
bind = $mainMod, h, movefocus, l
bind = $mainMod, j, movefocus, d
bind = $mainMod, k, movefocus, u
bind = $mainMod, l, movefocus, r
bind = $mainMod SHIFT, h, swapwindow, l
bind = $mainMod SHIFT, j, swapwindow, d
bind = $mainMod SHIFT, k, swapwindow, u
bind = $mainMod SHIFT, l, swapwindow, r
# Switch workspaces with mainMod + [0-9]
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
# Move active window to a workspace with mainMod + SHIFT + [0-9]
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 = $mainMod, right, workspace, m+1
bind = $mainMod, left, workspace, m-1
exec-once = waybar

View File

@ -0,0 +1,12 @@
{
"layer": "top",
"position": "top",
"modules-left": [
"hyprland/workspaces",
"hyprland/window"
],
"modules-right": [
"tray",
"clock"
],
}

View File

@ -0,0 +1,22 @@
* {
font-family: GoMono Nerd Font;
font-size: 14;
background-color: #263c59;
color: #7b899d;
}
#workspaces {
padding: 0 1rem;
}
#workspaces button {
padding: 0 3px;
}
#workspaces button.active {
background-color: #7b899d;
}
#clock {
padding: 0 1rem;
}