add hyprland
This commit is contained in:
parent
113c96ede4
commit
75c21332b8
2
hyprland/.config/hypr/five.conf
Normal file
2
hyprland/.config/hypr/five.conf
Normal file
@ -0,0 +1,2 @@
|
||||
monitor=DP-1,highres,0x0,2,transform,1
|
||||
monitor=HDMI-A-2,highres,1080x0,2
|
112
hyprland/.config/hypr/hyprland.conf
Normal file
112
hyprland/.config/hypr/hyprland.conf
Normal file
@ -0,0 +1,112 @@
|
||||
#source = ~/.config/hypr/white.conf
|
||||
|
||||
input {
|
||||
kb_layout = pl
|
||||
kb_options = ctrl:nocaps
|
||||
}
|
||||
|
||||
general {
|
||||
gaps_in = 2
|
||||
gaps_out = 5
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
dwindle {
|
||||
preserve_split = true
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
disable_autoreload = 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, Return, layoutmsg,swapwithmaster master
|
||||
bind = $mainMod CONTROL SHIFT, Q, exit
|
||||
bind = $mainMod, Q, exec, hyprctl reload
|
||||
bind = $mainMod CONTROL SHIFT, L, exec, swaylock -c 263c59
|
||||
bind = $mainMod CONTROL SHIFT, S, exec, swaylock -c 263c59
|
||||
bind = $mainMod CONTROL SHIFT, S, exec, systemctl suspend
|
||||
bind = $mainMod CONTROL, Space, togglefloating
|
||||
bind = $mainMod, D, exec, hyprctl keyword general:layout "dwindle"
|
||||
bind = $mainMod, M, exec, hyprctl keyword general:layout "master"
|
||||
bind = $mainMod, F, fullscreen, 0
|
||||
bind = $mainMod, U, layoutmsg, togglesplit
|
||||
bind = $mainMod, I, layoutmsg, cycleprev
|
||||
bind = $mainMod, O, layoutmsg, cyclenext
|
||||
bind = $mainMod, A, focuscurrentorlast
|
||||
bind = $mainMod SHIFT, I, layoutmsg, swapprev
|
||||
bind = $mainMod SHIFT, O, layoutmsg, swapnext
|
||||
bind = $mainMod CONTROL, I, layoutmsg, removemaster
|
||||
bind = $mainMod CONTROL, O, layoutmsg, addmaster
|
||||
|
||||
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
|
||||
|
||||
bind = $mainMod CONTROL, h, layoutmsg, orientationleft
|
||||
bind = $mainMod CONTROL, j, layoutmsg, orientationbottom
|
||||
bind = $mainMod CONTROL, k, layoutmsg, orientationtop
|
||||
bind = $mainMod CONTROL, l, layoutmsg, orientationright
|
||||
|
||||
# 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
|
||||
|
||||
# Switch workspaces on current monitor with mainMod CONTROL + Control + [0-9]
|
||||
bind = $mainMod CONTROL, 1, focusworkspaceoncurrentmonitor, 1
|
||||
bind = $mainMod CONTROL, 2, focusworkspaceoncurrentmonitor, 2
|
||||
bind = $mainMod CONTROL, 3, focusworkspaceoncurrentmonitor, 3
|
||||
bind = $mainMod CONTROL, 4, focusworkspaceoncurrentmonitor, 4
|
||||
bind = $mainMod CONTROL, 5, focusworkspaceoncurrentmonitor, 5
|
||||
bind = $mainMod CONTROL, 6, focusworkspaceoncurrentmonitor, 6
|
||||
bind = $mainMod CONTROL, 7, focusworkspaceoncurrentmonitor, 7
|
||||
bind = $mainMod CONTROL, 8, focusworkspaceoncurrentmonitor, 8
|
||||
bind = $mainMod CONTROL, 9, focusworkspaceoncurrentmonitor, 9
|
||||
bind = $mainMod CONTROL, 0, focusworkspaceoncurrentmonitor, 10
|
||||
|
||||
bindm = $mainMod,mouse:272,movewindow
|
||||
bindm = $mainMod,mouse:273,resizewindow
|
||||
|
||||
exec-once = waybar
|
||||
exec-once = swayidle -w timeout 300 'swaylock -f -c 263c59' before-sleep 'swaylock -f -c 263c59'
|
8
hyprland/.config/hypr/white.conf
Normal file
8
hyprland/.config/hypr/white.conf
Normal file
@ -0,0 +1,8 @@
|
||||
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,2,transform,1
|
||||
monitor=DP-1,highres,1080x0,2
|
12
hyprland/.config/waybar/config
Normal file
12
hyprland/.config/waybar/config
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
"hyprland/window"
|
||||
],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"clock"
|
||||
],
|
||||
}
|
22
hyprland/.config/waybar/style.css
Normal file
22
hyprland/.config/waybar/style.css
Normal 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user