dotfiles/hypr/hyprland.conf
Lihao Wang c665a9f1e4 On branch master
Initial commit

Changes to be committed:
	new file:   alacritty/alacritty.toml
	new file:   alacritty/themes/LICENSE
	new file:   alacritty/themes/README.md
	new file:   alacritty/themes/images/Cobalt2.png
	new file:   alacritty/themes/images/afterglow.png
	new file:   alacritty/themes/images/alabaster.png
	new file:   alacritty/themes/images/alabaster_dark.png
	new file:   alacritty/themes/images/alacritty_0_12.png
	new file:   alacritty/themes/images/argonaut.png
	new file:   alacritty/themes/images/ashes_dark.png
	new file:   alacritty/themes/images/ashes_light.png
	new file:   alacritty/themes/images/atom_one_light.png
	new file:   alacritty/themes/images/ayu_dark.png
	new file:   alacritty/themes/images/ayu_light.png
	new file:   alacritty/themes/images/baitong.png
	new file:   alacritty/themes/images/base16_default_dark.png
	new file:   alacritty/themes/images/blood_moon.png
	new file:   alacritty/themes/images/bluish.png
	new file:   alacritty/themes/images/breeze.png
	new file:   alacritty/themes/images/campbell.png
	new file:   alacritty/themes/images/carbonfox.png
	new file:   alacritty/themes/images/catppuccin_frappe.png
	new file:   alacritty/themes/images/catppuccin_latte.png
	new file:   alacritty/themes/images/catppuccin_macchiato.png
	new file:   alacritty/themes/images/catppuccin_mocha.png
	new file:   alacritty/themes/images/challenger_deep.png
	new file:   alacritty/themes/images/citylights.png
	new file:   alacritty/themes/images/cyber_punk_neon.png
	new file:   alacritty/themes/images/darcula.png
	new file:   alacritty/themes/images/dark_pastels.png
	new file:   alacritty/themes/images/deep_space.png
	new file:   alacritty/themes/images/doom_one.png
	new file:   alacritty/themes/images/dracula.png
	new file:   alacritty/themes/images/everforest_dark.png
	new file:   alacritty/themes/images/everforest_light.png
	new file:   alacritty/themes/images/falcon.png
	new file:   alacritty/themes/images/flat_remix.png
	new file:   alacritty/themes/images/flexoki.png
	new file:   alacritty/themes/images/github_dark.png
	new file:   alacritty/themes/images/github_dark_colorblind.png
	new file:   alacritty/themes/images/github_dark_default.png
	new file:   alacritty/themes/images/github_dark_dimmed.png
	new file:   alacritty/themes/images/github_dark_high_contrast.png
	new file:   alacritty/themes/images/github_dark_tritanopia.png
	new file:   alacritty/themes/images/github_light.png
	new file:   alacritty/themes/images/github_light_colorblind.png
	new file:   alacritty/themes/images/github_light_default.png
	new file:   alacritty/themes/images/github_light_high_contrast.png
	new file:   alacritty/themes/images/github_light_tritanopia.png
	new file:   alacritty/themes/images/gnome_terminal.png
	new file:   alacritty/themes/images/gotham.png
	new file:   alacritty/themes/images/gruvbox_dark.png
	new file:   alacritty/themes/images/gruvbox_light.png
	new file:   alacritty/themes/images/gruvbox_material_medium_dark.png
	new file:   alacritty/themes/images/gruvbox_material_medium_light.png
	new file:   alacritty/themes/images/hardhacker.png
	new file:   alacritty/themes/images/high_contrast.png
	new file:   alacritty/themes/images/horizon-dark.png
	new file:   alacritty/themes/images/hyper.png
	new file:   alacritty/themes/images/inferno.png
	new file:   alacritty/themes/images/iris.png
	new file:   alacritty/themes/images/iterm.png
	new file:   alacritty/themes/images/kanagawa_dragon.png
	new file:   alacritty/themes/images/kanagawa_wave.png
	new file:   alacritty/themes/images/konsole_linux.png
	new file:   alacritty/themes/images/low_contrast.png
	new file:   alacritty/themes/images/mariana.png
	new file:   alacritty/themes/images/marine_dark.png
	new file:   alacritty/themes/images/material_theme.png
	new file:   alacritty/themes/images/material_theme_mod.png
	new file:   alacritty/themes/images/meliora.png
	new file:   alacritty/themes/images/midnight-haze.png
	new file:   alacritty/themes/images/monokai-charcoal.png
	new file:   alacritty/themes/images/monokai_pro.png
	new file:   alacritty/themes/images/moonlight_ii_vscode.png
	new file:   alacritty/themes/images/msx.png
	new file:   alacritty/themes/images/night_owlish_light.png
	new file:   alacritty/themes/images/nightfox.png
	new file:   alacritty/themes/images/noctis-lux.png
	new file:   alacritty/themes/images/nord.png
	new file:   alacritty/themes/images/nord_light.png
	new file:   alacritty/themes/images/nordic.png
	new file:   alacritty/themes/images/oceanic_next.png
	new file:   alacritty/themes/images/omni.png
	new file:   alacritty/themes/images/one_dark.png
	new file:   alacritty/themes/images/palenight.png
	new file:   alacritty/themes/images/papercolor_dark.png
	new file:   alacritty/themes/images/papercolor_light.png
	new file:   alacritty/themes/images/papertheme.png
	new file:   alacritty/themes/images/pencil_dark.png
	new file:   alacritty/themes/images/pencil_light.png
	new file:   alacritty/themes/images/rainbow.png
	new file:   alacritty/themes/images/remedy_dark.png
	new file:   alacritty/themes/images/rose-pine-dawn.png
	new file:   alacritty/themes/images/rose-pine-moon.png
	new file:   alacritty/themes/images/rose-pine.png
	new file:   alacritty/themes/images/seashells.png
	new file:   alacritty/themes/images/smoooooth.png
	new file:   alacritty/themes/images/snazzy.png
	new file:   alacritty/themes/images/solarized_dark.png
	new file:   alacritty/themes/images/solarized_light.png
	new file:   alacritty/themes/images/taerminal.png
	new file:   alacritty/themes/images/tango_dark.png
	new file:   alacritty/themes/images/tender.png
	new file:   alacritty/themes/images/terminal_app.png
	new file:   alacritty/themes/images/thelovelace.png
	new file:   alacritty/themes/images/tokyo-night-storm.png
	new file:   alacritty/themes/images/tokyo-night.png
	new file:   alacritty/themes/images/tomorrow_night.png
	new file:   alacritty/themes/images/tomorrow_night_bright.png
	new file:   alacritty/themes/images/ubuntu.png
	new file:   alacritty/themes/images/wombat.png
	new file:   alacritty/themes/images/xterm.png
	new file:   alacritty/themes/images/zenburn.png
	new file:   alacritty/themes/print_colors.sh
	new file:   alacritty/themes/themes/Cobalt2.toml
	new file:   alacritty/themes/themes/Mariana.toml
	new file:   alacritty/themes/themes/afterglow.toml
	new file:   alacritty/themes/themes/alabaster.toml
	new file:   alacritty/themes/themes/alabaster_dark.toml
	new file:   alacritty/themes/themes/alacritty_0_12.toml
	new file:   alacritty/themes/themes/argonaut.toml
	new file:   alacritty/themes/themes/ashes_dark.toml
	new file:   alacritty/themes/themes/ashes_light.toml
	new file:   alacritty/themes/themes/atom_one_light.toml
	new file:   alacritty/themes/themes/ayu_dark.toml
	new file:   alacritty/themes/themes/ayu_light.toml
	new file:   alacritty/themes/themes/baitong.toml
	new file:   alacritty/themes/themes/base16_default_dark.toml
	new file:   alacritty/themes/themes/blood_moon.toml
	new file:   alacritty/themes/themes/bluish.toml
	new file:   alacritty/themes/themes/breeze.toml
	new file:   alacritty/themes/themes/campbell.toml
	new file:   alacritty/themes/themes/carbonfox.toml
	new file:   alacritty/themes/themes/catppuccin.toml
	new file:   alacritty/themes/themes/catppuccin_frappe.toml
	new file:   alacritty/themes/themes/catppuccin_latte.toml
	new file:   alacritty/themes/themes/catppuccin_macchiato.toml
	new file:   alacritty/themes/themes/catppuccin_mocha.toml
	new file:   alacritty/themes/themes/challenger_deep.toml
	new file:   alacritty/themes/themes/citylights.toml
	new file:   alacritty/themes/themes/cyber_punk_neon.toml
	new file:   alacritty/themes/themes/darcula.toml
	new file:   alacritty/themes/themes/dark_pastels.toml
	new file:   alacritty/themes/themes/deep_space.toml
	new file:   alacritty/themes/themes/doom_one.toml
	new file:   alacritty/themes/themes/dracula.toml
	new file:   alacritty/themes/themes/everforest_dark.toml
	new file:   alacritty/themes/themes/everforest_light.toml
	new file:   alacritty/themes/themes/falcon.toml
	new file:   alacritty/themes/themes/flat_remix.toml
	new file:   alacritty/themes/themes/flexoki.toml
	new file:   alacritty/themes/themes/github_dark.toml
	new file:   alacritty/themes/themes/github_dark_colorblind.toml
	new file:   alacritty/themes/themes/github_dark_default.toml
	new file:   alacritty/themes/themes/github_dark_dimmed.toml
	new file:   alacritty/themes/themes/github_dark_high_contrast.toml
	new file:   alacritty/themes/themes/github_dark_tritanopia.toml
	new file:   alacritty/themes/themes/github_light.toml
	new file:   alacritty/themes/themes/github_light_colorblind.toml
	new file:   alacritty/themes/themes/github_light_default.toml
	new file:   alacritty/themes/themes/github_light_high_contrast.toml
	new file:   alacritty/themes/themes/github_light_tritanopia.toml
	new file:   alacritty/themes/themes/gnome_terminal.toml
	new file:   alacritty/themes/themes/gotham.toml
	new file:   alacritty/themes/themes/gruvbox_dark.toml
	new file:   alacritty/themes/themes/gruvbox_light.toml
	new file:   alacritty/themes/themes/gruvbox_material.toml
	new file:   alacritty/themes/themes/gruvbox_material_medium_dark.toml
	new file:   alacritty/themes/themes/gruvbox_material_medium_light.toml
	new file:   alacritty/themes/themes/hardhacker.toml
	new file:   alacritty/themes/themes/high_contrast.toml
	new file:   alacritty/themes/themes/horizon-dark.toml
	new file:   alacritty/themes/themes/hyper.toml
	new file:   alacritty/themes/themes/inferno.toml
	new file:   alacritty/themes/themes/iris.toml
	new file:   alacritty/themes/themes/iterm.toml
	new file:   alacritty/themes/themes/kanagawa_dragon.toml
	new file:   alacritty/themes/themes/kanagawa_wave.toml
	new file:   alacritty/themes/themes/konsole_linux.toml
	new file:   alacritty/themes/themes/low_contrast.toml
	new file:   alacritty/themes/themes/marine_dark.toml
	new file:   alacritty/themes/themes/material_theme.toml
	new file:   alacritty/themes/themes/material_theme_mod.toml
	new file:   alacritty/themes/themes/meliora.toml
	new file:   alacritty/themes/themes/midnight-haze.toml
	new file:   alacritty/themes/themes/monokai_charcoal.toml
	new file:   alacritty/themes/themes/monokai_pro.toml
	new file:   alacritty/themes/themes/moonlight_ii_vscode.toml
	new file:   alacritty/themes/themes/msx.toml
	new file:   alacritty/themes/themes/night_owlish_light.toml
	new file:   alacritty/themes/themes/nightfox.toml
	new file:   alacritty/themes/themes/noctis-lux.toml
	new file:   alacritty/themes/themes/nord.toml
	new file:   alacritty/themes/themes/nord_light.toml
	new file:   alacritty/themes/themes/nordic.toml
	new file:   alacritty/themes/themes/oceanic_next.toml
	new file:   alacritty/themes/themes/omni.toml
	new file:   alacritty/themes/themes/onedark.toml
	new file:   alacritty/themes/themes/palenight.toml
	new file:   alacritty/themes/themes/papercolor_dark.toml
	new file:   alacritty/themes/themes/papercolor_light.toml
	new file:   alacritty/themes/themes/papertheme.toml
	new file:   alacritty/themes/themes/pencil_dark.toml
	new file:   alacritty/themes/themes/pencil_light.toml
	new file:   alacritty/themes/themes/rainbow.toml
	new file:   alacritty/themes/themes/remedy_dark.toml
	new file:   alacritty/themes/themes/rose-pine-dawn.toml
	new file:   alacritty/themes/themes/rose-pine-moon.toml
	new file:   alacritty/themes/themes/rose-pine.toml
	new file:   alacritty/themes/themes/seashells.toml
	new file:   alacritty/themes/themes/smoooooth.toml
	new file:   alacritty/themes/themes/snazzy.toml
	new file:   alacritty/themes/themes/solarized_dark.toml
	new file:   alacritty/themes/themes/solarized_light.toml
	new file:   alacritty/themes/themes/taerminal.toml
	new file:   alacritty/themes/themes/tango_dark.toml
	new file:   alacritty/themes/themes/tender.toml
	new file:   alacritty/themes/themes/terminal_app.toml
	new file:   alacritty/themes/themes/thelovelace.toml
	new file:   alacritty/themes/themes/tokyo-night-storm.toml
	new file:   alacritty/themes/themes/tokyo-night.toml
	new file:   alacritty/themes/themes/tomorrow_night.toml
	new file:   alacritty/themes/themes/tomorrow_night_bright.toml
	new file:   alacritty/themes/themes/ubuntu.toml
	new file:   alacritty/themes/themes/wombat.toml
	new file:   alacritty/themes/themes/xterm.toml
	new file:   alacritty/themes/themes/zenburn.toml
	new file:   hypr/hyprland.conf
	new file:   hypr/hyprpaper.conf
	new file:   waybar/config
	new file:   waybar/style.css

 Untracked files:
	.avalonia-build-tasks/
	BraveSoftware/
	Code - OSS/
	Code/
	Epic/
	GIMP/
	KDE/
	MangoHud/
	Motrix/
	Nibbler/
	OpenRGB/
	PlasmaDiscoverUpdates
	QtProject.conf
	Ryujinx/
	Softdeluxe/
	Thunar/
	Trolltech.conf
	UNIGINE/
	Unreal Engine/
	VirtualBox/
	VirtualBoxVMrc
	VirtualBoxrc
	akregatorrc
	arkrc
	autostart/
	baloofileinformationrc
	baloofilerc
	blender/
	bluedevilglobalrc
	cef_user_data/
	code-flags.conf
	cpupower_gui/
	dconf/
	device_automounter_kcmrc
	digikam_systemrc
	digikamrc
	discoverrc
	dolphinrc
	drkonqirc
	electron25-flags.conf
	elisarc
	emaildefaults
	fcitx/
	fcitx5/
	filelightrc
	filetypesrc
	gh/
	ghb/
	google-chrome/
	goverlay/
	gpicview/
	gtk-2.0/
	gtk-3.0/
	gtk-4.0/
	gtkrc
	gtkrc-2.0
	gwe/
	gwenviewrc
	htop/
	ibus/
	kactivitymanagerd-statsrc
	kactivitymanagerd-switcher
	kactivitymanagerdrc
	katemetainfos
	katerc
	kateschemarc
	katevirc
	kcmfonts
	kcminputrc
	kconf_updaterc
	kde.org/
	kded5rc
	kdedefaults/
	kdeglobals
	kdenlive-layoutsrc
	kdenliverc
	kdfrc
	kfontinstuirc
	kfontviewrc
	kgammarc
	kglobalshortcutsrc
	khotkeysrc
	kinfocenterrc
	kiorc
	kmixrc
	kolourpaintrc
	konsolerc
	konsolesshconfig
	krunnerrc
	kscreenlockerrc
	ksmserverrc
	ksplashrc
	ktimezonedrc
	kwalletrc
	kwinrc
	kwinrulesrc
	kwritemetainfos
	kwriterc
	kxkbrc
	libaccounts-glib/
	libreoffice/
	lsp-plugins/
	mate/
	menus/
	mimeapps.list
	mirage/
	neofetch/
	nomacs/
	nwg-look/
	obs-studio/
	partitionmanagerrc
	pavucontrol.ini
	plasma-localerc
	plasma-nm
	plasma-org.kde.plasma.desktop-appletsrc
	plasma-welcomerc
	plasmanotifyrc
	plasmaparc
	plasmarc
	plasmashellrc
	powerdevilrc
	powermanagementprofilesrc
	pulse/
	qBittorrent/
	qt5ct/
	remmina/
	session/
	showfoto_systemrc
	showfotorc
	signond/
	soffice.binrc
	spectaclerc
	systemd/
	systemmonitorrc
	systemsettingsrc
	tlpui/
	trashrc
	user-dirs.dirs
	user-dirs.locale
	vlc/
	vlcrc
	whatsapp-for-linux/
	wlogout/
	xdg-desktop-portal-kderc
	xfce4/
	xnviewmp/
	xsettingsd/
	zoom.conf
	zoomus.conf
	zotify/
2024-02-28 09:03:08 +08:00

216 lines
No EOL
6.1 KiB
Text

########################################################################################
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
# See https://wiki.hyprland.org/Configuring/Monitors/
#monitor=,preferred,auto,auto
#windowrulev2 = float, class:.* #float all da windows
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
exec-once = waybar & hyprpaper & nm-applet & /usr/lib/polkit-kde-authentication-agent-1
exec-once=fcitx5-remote -r
exec-once=fcitx5 -d --replace
exec-once=fcitx5-remote -r
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# Set programs that you use
$terminal = alacritty
$fileManager = dolphin
$menu = wofi --show drun
# Some default env vars.
#env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have thatenv = 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
env = GTK_IM_MODULE,fcitx
env = QT_IM_MODULE,fcitx
env = XMODIFIERS,@im=fcitx
#env = QT_QPA_PLATFORM,wayland
#env = QT_QPA_PLATFORM,xcb /opt/freedownloadmanager/fdm
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = no
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 5
gaps_out = 20
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
layout = dwindle
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = true
}
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 10
blur {
enabled = true
size = 3
passes = 1
}
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
preserve_split = yes # you probably want this
}
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 = off
}
misc {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
vrr = 2
}
# 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
windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
# 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
# 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
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# 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
monitor=DP-3,7680x2160@120,0x0,1.5,bitdepth,10
xwayland {
force_zero_scaling = true
}
windowrule=pseudo,fcitx
# toolkit-specific scale
env = GDK_SCALE,2
env = XCURSOR_SIZE,24
bind=ALT,E,exec,pkill fcitx5 -9;sleep 1;fcitx5 -d --replace; sleep 1;fcitx5-remote -r