add my hyprland/hyprpaper config
This commit is contained in:
parent
07026e3708
commit
f276d97d61
4 changed files with 274 additions and 0 deletions
BIN
dotconfig/hypr/01-cyber-cool-wallpaper.jpg
Normal file
BIN
dotconfig/hypr/01-cyber-cool-wallpaper.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 359 KiB |
BIN
dotconfig/hypr/02_cool_wallpaper_homemade.jpg
Normal file
BIN
dotconfig/hypr/02_cool_wallpaper_homemade.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 462 KiB |
267
dotconfig/hypr/hyprland.conf
Normal file
267
dotconfig/hypr/hyprland.conf
Normal file
|
@ -0,0 +1,267 @@
|
||||||
|
|
||||||
|
########################################################################################
|
||||||
|
AUTOGENERATED HYPR CONFIG.
|
||||||
|
PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||||
|
OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||||
|
########################################################################################
|
||||||
|
|
||||||
|
#
|
||||||
|
# Please note not all available settings / options are set here.
|
||||||
|
# For a full list, see the wiki
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
#autogenerated = 1 # remove this line to remove the warning ; It's removed
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
|
monitor=,preferred,auto,1.2
|
||||||
|
#monitor=,highres,auto,1.2
|
||||||
|
|
||||||
|
xwayland {
|
||||||
|
force_zero_scaling = true
|
||||||
|
}
|
||||||
|
|
||||||
|
env = GDK_SCALE,1.2
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
|
||||||
|
# Execute your favorite apps at launch
|
||||||
|
# exec-once = waybar & hyprpaper & firefox
|
||||||
|
|
||||||
|
# Source a file (multi-file configs)
|
||||||
|
# source = ~/.config/hypr/myColors.conf
|
||||||
|
|
||||||
|
|
||||||
|
# Some default env vars.
|
||||||
|
env = XCURSOR_SIZE,24
|
||||||
|
|
||||||
|
|
||||||
|
# Disable hyprchan
|
||||||
|
misc:force_default_wallpaper = 0
|
||||||
|
|
||||||
|
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||||
|
input {
|
||||||
|
kb_layout = fr
|
||||||
|
kb_variant =
|
||||||
|
kb_model =
|
||||||
|
kb_options =
|
||||||
|
kb_rules =
|
||||||
|
|
||||||
|
follow_mouse = 1
|
||||||
|
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = yes
|
||||||
|
}
|
||||||
|
|
||||||
|
sensitivity = 0.2 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
}
|
||||||
|
|
||||||
|
general {
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
|
|
||||||
|
gaps_in = 5
|
||||||
|
gaps_out = 12
|
||||||
|
border_size = 2
|
||||||
|
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||||
|
col.inactive_border = rgba(595959aa)
|
||||||
|
|
||||||
|
layout = dwindle
|
||||||
|
|
||||||
|
# Experimental so don't use it.
|
||||||
|
allow_tearing = false
|
||||||
|
}
|
||||||
|
|
||||||
|
decoration {
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
|
# All blur parametter have now their uniq field. Please update the configuration file to fix this.
|
||||||
|
# If there is no blur, the background became the one of hypr-chan.
|
||||||
|
|
||||||
|
rounding = 10
|
||||||
|
|
||||||
|
blur {
|
||||||
|
enabled=true
|
||||||
|
size = 3
|
||||||
|
passes = 0 # 1
|
||||||
|
new_optimizations = yes
|
||||||
|
}
|
||||||
|
drop_shadow = yes
|
||||||
|
shadow_range = 4
|
||||||
|
shadow_render_power = 3
|
||||||
|
col.shadow = rgba(1a1a1aee)
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = yes
|
||||||
|
|
||||||
|
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||||
|
|
||||||
|
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||||
|
|
||||||
|
animation = windows, 1, 7, myBezier
|
||||||
|
animation = windowsOut, 1, 7, default, popin 80%
|
||||||
|
animation = border, 1, 10, default
|
||||||
|
animation = borderangle, 1, 8, default
|
||||||
|
animation = fade, 1, 7, default
|
||||||
|
animation = workspaces, 1, 6, default
|
||||||
|
}
|
||||||
|
|
||||||
|
dwindle {
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
|
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
|
force_split = 2
|
||||||
|
preserve_split = yes # you probably want this
|
||||||
|
no_gaps_when_only = yes
|
||||||
|
use_active_for_splits = yes
|
||||||
|
}
|
||||||
|
|
||||||
|
master {
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||||
|
new_is_master = true
|
||||||
|
}
|
||||||
|
|
||||||
|
gestures {
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
|
workspace_swipe = on
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
# Example per-device config
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||||
|
device:epic-mouse-v1 {
|
||||||
|
sensitivity = -0.5
|
||||||
|
}
|
||||||
|
|
||||||
|
# Example windowrule v1
|
||||||
|
# windowrule = float, ^(kitty)$
|
||||||
|
# Example windowrule v2
|
||||||
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
|
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
$mainMod = ALT_L #SUPER
|
||||||
|
$secondMod = SUPER
|
||||||
|
|
||||||
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
|
#bind = $mainMod, Q, exec, kitty
|
||||||
|
#bind = $mainMod, C, killactive,
|
||||||
|
bind = $mainMod, M, exit,
|
||||||
|
#bind = $mainMod, E, exec, dolphin
|
||||||
|
bind = $mainMod, D, exec, thunar
|
||||||
|
bind = $mainMod, V, togglefloating,
|
||||||
|
bind = $mainMod, R, exec, wofi --show drun
|
||||||
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
|
bind = $mainMod SHIFT, V, togglesplit, # dwindle
|
||||||
|
|
||||||
|
# My new bind
|
||||||
|
bind = $secondMod, W, exec, firefox
|
||||||
|
#bind = $mainMod, RETURN, exec, kitty
|
||||||
|
bind = $mainMod, RETURN, exec, alacritty
|
||||||
|
#bind = $secondMod, D, exec, webcord --ozone-platform-hint=auto #discord
|
||||||
|
bind = $mainMod SHIFT, A, killactive,
|
||||||
|
bind = $mainMod SHIFT, R, exec, loginctl reboot
|
||||||
|
bind = $mainMod SHIFT, E, exec, loginctl poweroff
|
||||||
|
bind = ,XF86MonBrightnessUp , exec, light -A 5
|
||||||
|
bind = ,XF86MonBrightnessDown , exec, light -U 5
|
||||||
|
bind = $mainMod, F, fullscreen, 0
|
||||||
|
bind = $mainMod SHIFT, F, fullscreen, 1
|
||||||
|
|
||||||
|
#screenlock
|
||||||
|
bind = $secondMod, l, exec, loginctl lock-session
|
||||||
|
#screen capture
|
||||||
|
bind = $secondMod, g, exec, grim -g "$(slurp)"
|
||||||
|
# Change volume sink
|
||||||
|
bind = ,XF86AudioLowerVolume, exec, pactl set-sink-volume $(pactl get-default-sink) -5% #alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink -5%
|
||||||
|
bind = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume $(pactl get-default-sink) +5% #alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink +5%
|
||||||
|
# Put sink or mic toggle
|
||||||
|
bind = ,XF86AudioMute, exec, pactl set-sink-mute $(pactl get-default-sink) toggle #alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink toggle
|
||||||
|
bind = ,XF86AudioMicMute, exec, pactl set-source-mute alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source toggle
|
||||||
|
# Change volume mic
|
||||||
|
bind = $mainMod, XF86AudioLowerVolume, exec, pactl set-source-volume alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source -5%
|
||||||
|
bind = $mainMod, XF86AudioRaiseVolume, exec, pactl set-source-volume alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source +5%
|
||||||
|
|
||||||
|
|
||||||
|
# move windows
|
||||||
|
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
|
||||||
|
|
||||||
|
# Move focus with mainMod + arrow keys
|
||||||
|
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, j, movefocus, r
|
||||||
|
bind = $mainMod, k, movefocus, u
|
||||||
|
bind = $mainMod, l, movefocus, d
|
||||||
|
|
||||||
|
# Switch workspaces with mainMod + [0-9]
|
||||||
|
bind = $mainMod, ampersand, workspace, 1
|
||||||
|
bind = $mainMod, eacute, workspace, 2
|
||||||
|
bind = $mainMod, quotedbl, workspace, 3
|
||||||
|
bind = $mainMod, apostrophe, workspace, 4
|
||||||
|
bind = $mainMod, parenleft, workspace, 5
|
||||||
|
bind = $mainMod, minus, workspace, 6
|
||||||
|
bind = $mainMod, egrave, workspace, 7
|
||||||
|
bind = $mainMod, underscore, workspace, 8
|
||||||
|
bind = $mainMod, ccedilla, workspace, 9
|
||||||
|
bind = $mainMod, agrave, workspace, 10
|
||||||
|
|
||||||
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
|
bind = $mainMod SHIFT, ampersand, movetoworkspace, 1
|
||||||
|
bind = $mainMod SHIFT, eacute, movetoworkspace, 2
|
||||||
|
bind = $mainMod SHIFT, quotedbl, movetoworkspace, 3
|
||||||
|
bind = $mainMod SHIFT, apostrophe, movetoworkspace, 4
|
||||||
|
bind = $mainMod SHIFT, parenleft, movetoworkspace, 5
|
||||||
|
bind = $mainMod SHIFT, minus, movetoworkspace, 6
|
||||||
|
bind = $mainMod SHIFT, egrave, movetoworkspace, 7
|
||||||
|
bind = $mainMod SHIFT, underscore, movetoworkspace, 8
|
||||||
|
bind = $mainMod SHIFT, ccedilla, movetoworkspace, 9
|
||||||
|
bind = $mainMod SHIFT, agrave, movetoworkspace, 10
|
||||||
|
|
||||||
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
|
|
||||||
|
windowrule = opacity 0.9,^(cinny)$
|
||||||
|
windowrule = opacity 0.96,^(firefox)$
|
||||||
|
windowrule = opacity 0.96,^(LibreWolf)$
|
||||||
|
windowrule = opacity 0.96,^(libreoffice.*)$
|
||||||
|
windowrule = opacity 0.9,^(WebCord.*)$
|
||||||
|
|
||||||
|
windowrule=float,^(galculator)$
|
||||||
|
|
||||||
|
#bind = $secondMod, a, exec, waybar
|
||||||
|
|
||||||
|
bind = , XF86Calculator, exec, galculator
|
||||||
|
|
||||||
|
|
||||||
|
# Exec hyprpaper for not risquing hyprchan
|
||||||
|
exec-once=hyprpaper
|
||||||
|
exec-once=swayidle -w before-sleep "swaylock-script --sleep" lock "swaylock-script"
|
||||||
|
exec-once=dunst # Notification daemon
|
||||||
|
exec-once=light -I
|
||||||
|
exec-once=pipewire
|
||||||
|
exec-once=dbus-update-activation-environement WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # to allow screensharing
|
||||||
|
|
||||||
|
# launch udiskie, the udisks2 helper in order to mount automatically every devices plug on the computer. Add a tray so it will be better like that.
|
||||||
|
exec-once=udiskie --no-automount --no-terminal --smart-tray --no-file-manager
|
||||||
|
|
||||||
|
|
||||||
|
# Exec app at hyprland start
|
||||||
|
exec-once=$(sleep 0.5 && waybar)
|
7
dotconfig/hypr/hyprpaper.conf
Normal file
7
dotconfig/hypr/hyprpaper.conf
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#preload = ~/.config/hypr/01-cyber-cool-wallpaper.jpg
|
||||||
|
preload = ~/.config/hypr/02_cool_wallpaper_homemade.jpg
|
||||||
|
|
||||||
|
#wallpaper = ,~/.config/hypr/01-cyber-cool-wallpaper.jpg
|
||||||
|
wallpaper = ,~/.config/hypr/02_cool_wallpaper_homemade.jpg
|
||||||
|
|
||||||
|
ipc = off
|
Loading…
Reference in a new issue