initial-commit, files tested.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# background processes
|
||||
|
||||
## update tealdeer/tldr
|
||||
exec-once=tldr --update
|
||||
##start a polkit agent
|
||||
exec-once=systemctl --user start hyprpolkitagent
|
||||
|
||||
# UI
|
||||
|
||||
## start DankMaterial Shell
|
||||
exec-once=dms run
|
||||
|
||||
@@ -0,0 +1,106 @@
|
||||
# Example binds,see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
|
||||
bind=SUPER+ALT,r,reload_config # reload mango config
|
||||
|
||||
# Actions
|
||||
|
||||
# window management
|
||||
bind=SUPER,T,togglefloating, # float/unfloat active window
|
||||
bind=SUPER,F,togglefullscreen, # fullscreen active window
|
||||
bind=SUPER,Q,killclient, # Close active window
|
||||
bind=SUPER+SHIFT,Q,quit, # Exit mango
|
||||
bind=SUPER+SHIFT,P,toggleoverlay, # toggle overlay mode
|
||||
bind=SUPER,P,spawn_shell,mmsg -d toggleglobal && mmsg -d togglefloating # pin window across workspaces
|
||||
|
||||
# "OS" functions
|
||||
bind=SUPER,L,spawn_shell,dms ipc call lock lock # locks screen
|
||||
bind=SUPER,SPACE,spawn_shell,dms ipc call spotlight toggleQuery # open runner menu
|
||||
bind=SUPER,V,spawn_shell,dms ipc call clipboard toggle # open clipboard
|
||||
bind=SUPER,I,spawn_shell,dms ipc call inhibit toggle # toggle sleep inhibit
|
||||
bind=SUPER+SHIFT,T,spawn_shell,dms ipc call theme toggle # toggle dark/light mode
|
||||
bind=SUPER,D,spawn_shell,dms ipc call dock toggle # toggle dock
|
||||
bind=SUPER,X,spawn_shell,dms ipc call processlist open # open process list
|
||||
bind=SUPER+SHIFT,N,spawn_shell,dms ipc call notifications open # open notifications
|
||||
bind=SUPER,ESCAPE,spawn_shell,dms ipc call control-center toggle # toggle control center
|
||||
bind=SUPER,Z,spawn_shell,dms ipc call powermenu toggle # toggle power menu
|
||||
bind=SUPER,S,spawn_shell,dms ipc call settings toggle # toggle settings
|
||||
bind=SUPER,K,spawn_shell,dms ipc call keybinds toggleWithPath mangowc ~/.config/mango/binds.conf # show binds
|
||||
|
||||
#program launchers
|
||||
bind=SUPER,RETURN,spawn_shell,ghostty # Open terminal
|
||||
bind=SUPER,TAB,spawn_shell,ghostty # Open terminal
|
||||
bind=SUPER,E,spawn,nautilus # Open file browser
|
||||
bind=SUPER,B,spawn,firefox # open firefox
|
||||
bind=SUPER,N,spawn_shell,dms ipc call notepad open # open notes
|
||||
|
||||
|
||||
# Audio Ctrls
|
||||
bind=NONE,XF86AudioRaiseVolume,spawn_shell,dms ipc call audio increment 5 # audio up
|
||||
bind=NONE,XF86AudioLowerVolume,spawn_shell,dms ipc call audio decrement 5 # audio down
|
||||
bind=NONE,XF86AudioMute,spawn_shell,dms ipc call audio mute # mute audio
|
||||
bind=NONE,XF86AudioMicMute,spawn_shell,dms ipc call audio micmute # mute mic
|
||||
|
||||
# Brightness Ctrls
|
||||
bind=NONE,XF86MonBrightnessUp,spawn_shell,dms ipc call brightness increment 5 # brightness up
|
||||
bind=NONE,XF86MonBrightnessDown,spawn_shell,dms ipc call brightness decrement 5 # brightness down
|
||||
|
||||
# Other
|
||||
bind=NONE,XF86WLAN,spawn_shell,nmcli radio wifi toggle # toggle wifi
|
||||
bind=NONE,XF86Refresh,spawn_shell,xdotool key F5 # refresh
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind=SUPER,left,focusdir,left # Move focus left
|
||||
bind=SUPER,right,focusdir,right # Move focus right
|
||||
bind=SUPER,up,focusdir,up # Move focus up
|
||||
bind=SUPER,down,focusdir,down # Move focus down
|
||||
|
||||
# move window between monitors with win+Alt+arrow keys
|
||||
bind=SUPER+SHIFT,up,exchange_stack_client,prev # exchange stack client backwards
|
||||
bind=SUPER+SHIFT,down,exchange_stack_client,next # exchange stack client forwards
|
||||
bind=SUPER+Ctrl,left,exchange_client,left # swap window to left
|
||||
bind=SUPER+Ctrl,right,exchange_client,right # swap window to right
|
||||
bind=SUPER+Ctrl,up,exchange_client,up # swap window upwards
|
||||
bind=SUPER+Ctrl,down,exchange_client,down # swap window downwards
|
||||
bind=SUPER+Alt,left,resizewin,-50,+0 # resize window
|
||||
bind=SUPER+Alt,right,resizewin,+50,+0 # resize window
|
||||
bind=SUPER+Alt,up,resizewin,+0,-50 # resize window
|
||||
bind=SUPER+Alt,down,resizewin,+0,+50 # resize window
|
||||
|
||||
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind=SUPER+SHIFT,1,tag,1 # Move window to workspace 1
|
||||
bind=SUPER+SHIFT,2,tag,2 # Move window to workspace 2
|
||||
bind=SUPER+SHIFT,3,tag,3 # Move window to workspace 3
|
||||
bind=SUPER+SHIFT,4,tag,4 # Move window to workspace 4
|
||||
bind=SUPER+SHIFT,5,tag,5 # Move window to workspace 5
|
||||
bind=SUPER+SHIFT,6,tag,6 # Move window to workspace 6
|
||||
bind=SUPER+SHIFT,7,tag,7 # Move window to workspace 7
|
||||
bind=SUPER+SHIFT,8,tag,8 # Move window to workspace 8
|
||||
bind=SUPER+SHIFT,9,tag,9 # Move window to workspace 9
|
||||
|
||||
# switch between workspaces with mainmod + [1-9]
|
||||
bind=SUPER,1,view,1,0 # focus workspace 1
|
||||
bind=SUPER,2,view,2,0 # focus workspace 2
|
||||
bind=SUPER,3,view,3,0 # focus workspace 3
|
||||
bind=SUPER,4,view,4,0 # focus workspace 4
|
||||
bind=SUPER,5,view,5,0 # focus workspace 5
|
||||
bind=SUPER,6,view,6,0 # focus workspace 6
|
||||
bind=SUPER,7,view,7,0 # focus workspace 7
|
||||
bind=SUPER,8,view,8,0 # focus workspace 8
|
||||
bind=SUPER,9,view,9,0 # focus workspace 9
|
||||
|
||||
|
||||
# Mouse Button Bindings
|
||||
# btn_left and btn_right can't bind none mod key
|
||||
#mousebind=SUPER,btn_left,moveresize,curmove
|
||||
mousebind=NONE,btn_middle,togglemaximizescreen,0 # toggle maximize
|
||||
mousebind=SUPER,btn_right,moveresize,curresize # resize on drag
|
||||
|
||||
|
||||
#mousebind=SUPER,btn_left,spawn_shell,mmsg -d option dwindle_smart_split 1
|
||||
#bindr=NONE,super,spawn_shell,mmsg -d option dwindle_smart_split 0
|
||||
|
||||
# Axis Bindings
|
||||
axisbind=SUPER,UP,viewtoleft_have_client # scroll up through views
|
||||
axisbind=SUPER,DOWN,viewtoright_have_client # scroll down through views
|
||||
@@ -0,0 +1,12 @@
|
||||
# link all config files
|
||||
source=~/.config/mango/autostart.conf
|
||||
source=~/.config/mango/binds.conf
|
||||
source=~/.config/mango/decoration.conf
|
||||
source=~/.config/mango/environment.conf
|
||||
source=~/.config/mango/input.conf
|
||||
source=~/.config/mango/layouts.conf
|
||||
source=~/.config/mango/monitors.conf
|
||||
source=~/.config/mango/windowrules.conf
|
||||
source=~/.config/mango/dms/colors.conf
|
||||
source=~/.config/mango/dms/layout.conf
|
||||
source=~/.config/mango/dms/outputs.conf
|
||||
@@ -0,0 +1,11 @@
|
||||
# link all config files
|
||||
source=~/.config/mango/autostart.conf
|
||||
source=~/.config/mango/binds.conf
|
||||
source=~/.config/mango/decoration.conf
|
||||
source=~/.config/mango/environment.conf
|
||||
source=~/.config/mango/input.conf
|
||||
source=~/.config/mango/layouts.conf
|
||||
source=~/.config/mango/monitors.conf
|
||||
source=~/.config/mango/windowrules.conf
|
||||
source=~/.config/mango/dms/colors.conf
|
||||
source=~/.config/mango/dms/layout.conf
|
||||
@@ -0,0 +1,58 @@
|
||||
# animations
|
||||
|
||||
animations=1
|
||||
layer_animations=1
|
||||
animation_type_open=zoom
|
||||
animation_type_close=zoom
|
||||
animation_fade_in=1
|
||||
animation_fade_out=1
|
||||
tag_animation_direction=1
|
||||
zoom_initial_ratio=0.4
|
||||
zoom_end_ratio=0.8
|
||||
fadein_begin_opacity=0.5
|
||||
fadeout_begin_opacity=0.8
|
||||
animation_duration_move=500
|
||||
animation_duration_open=400
|
||||
animation_duration_tag=350
|
||||
animation_duration_close=800
|
||||
animation_duration_focus=0
|
||||
animation_curve_open=0.46,1.0,0.29,1
|
||||
animation_curve_move=0.46,1.0,0.29,1
|
||||
animation_curve_tag=0.46,1.0,0.29,1
|
||||
animation_curve_close=0.08,0.92,0,1
|
||||
animation_curve_focus=0.46,1.0,0.29,1
|
||||
animation_curve_opafadeout=0.5,0.5,0.5,0.5
|
||||
animation_curve_opafadein=0.46,1.0,0.29,1
|
||||
|
||||
# background blur
|
||||
blur=1
|
||||
blur_layer=0
|
||||
blur_optimized=1
|
||||
blur_params_num_passes = 3
|
||||
blur_params_radius = 3
|
||||
blur_params_noise = 0.02
|
||||
blur_params_brightness = 0.9
|
||||
blur_params_contrast = 0.9
|
||||
blur_params_saturation = 1.2
|
||||
|
||||
# floating shadows
|
||||
shadows = 1
|
||||
layer_shadows = 0
|
||||
shadow_only_floating = 1
|
||||
shadows_size = 10
|
||||
shadows_blur = 15
|
||||
shadows_position_x = 0
|
||||
shadows_position_y = 0
|
||||
shadowscolor= 0x1a1a1a99
|
||||
|
||||
# window opacity
|
||||
focused_opacity=0.9
|
||||
unfocused_opacity=0.85
|
||||
|
||||
# borders
|
||||
border_radius=10
|
||||
no_radius_when_single=0
|
||||
borderpx=2
|
||||
bordercolor=0x88aaad82
|
||||
focuscolor=0x33ccffee
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
# ! Auto-generated file. Do not edit directly.
|
||||
# Remove source = ./dms/colors.conf from your config to override.
|
||||
|
||||
bordercolor = 0x919191ff
|
||||
focuscolor = 0xfaacf9ff
|
||||
urgentcolor = 0xffb4abff
|
||||
@@ -0,0 +1,7 @@
|
||||
# Auto-generated by DMS - do not edit manually
|
||||
border_radius=12
|
||||
gappih=4
|
||||
gappiv=4
|
||||
gappoh=4
|
||||
gappov=4
|
||||
borderpx=2
|
||||
@@ -0,0 +1,33 @@
|
||||
# XDG Desktop Portal
|
||||
env=XDG_CURRENT_DESKTOP,MangoWM
|
||||
env=XDG_SESSION_TYPE,wayland
|
||||
env=XDG_SESSION_DESKTOP,MangoWM
|
||||
|
||||
# QT
|
||||
env=QT_QPA_PLATFORM,wayland;xcb
|
||||
env=QT_QPA_PLATFORMTHEME,qt6ct
|
||||
env=QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||
env=QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
|
||||
# GTK
|
||||
env=GDK_SCALE,1
|
||||
|
||||
# Mozilla
|
||||
env=MOZ_ENABLE_WAYLAND,1
|
||||
|
||||
# Set the cursor size for xcursor
|
||||
env=XCURSOR_SIZE,24
|
||||
|
||||
# Disable appimage launcher by default
|
||||
env=APPIMAGELAUNCHER_DISABLE,1
|
||||
|
||||
# OZONE
|
||||
env=OZONE_PLATFORM,wayland
|
||||
|
||||
|
||||
# uncomment if using an nvidia GPU
|
||||
#env=LIBVA_DRIVER_NAME,nvidia
|
||||
#env=GBM_BACKEND,nvidia-drm
|
||||
#env=__GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
#env=__GL_VRR_ALLOWED,1
|
||||
#env=WLR_DRM_NO_ATOMIC,1
|
||||
@@ -0,0 +1,21 @@
|
||||
# keyboard
|
||||
repeat_rate=25
|
||||
repeat_delay=600
|
||||
numlockon=0
|
||||
xkb_rules_layout=us
|
||||
|
||||
# Trackpad
|
||||
# need relogin to make it apply
|
||||
disable_trackpad=0
|
||||
tap_to_click=1
|
||||
tap_and_drag=1
|
||||
drag_lock=1
|
||||
trackpad_natural_scrolling=0
|
||||
disable_while_typing=1
|
||||
left_handed=0
|
||||
middle_button_emulation=0
|
||||
swipe_min_threshold=1
|
||||
|
||||
# mouse
|
||||
# need relogin to make it apply
|
||||
mouse_natural_scrolling=0
|
||||
@@ -0,0 +1,41 @@
|
||||
# Scroller Layout Setting
|
||||
scroller_structs=20
|
||||
scroller_default_proportion=0.8
|
||||
scroller_focus_center=0
|
||||
scroller_prefer_center=0
|
||||
edge_scroller_pointer_focus=1
|
||||
scroller_default_proportion_single=1.0
|
||||
scroller_proportion_preset=0.5,0.8,1.0
|
||||
|
||||
# Master-Stack Layout Setting
|
||||
new_is_master=1
|
||||
default_mfact=0.55
|
||||
default_nmaster=1
|
||||
smartgaps=0
|
||||
|
||||
# Overview Setting
|
||||
hotarea_size=10
|
||||
enable_hotarea=1
|
||||
ov_tab_mode=0
|
||||
overviewgappi=5
|
||||
overviewgappo=30
|
||||
|
||||
# dwindle settings
|
||||
dwindle_split_ratio=0.5
|
||||
dwindle_smart_split=0
|
||||
dwindle_hsplit=0
|
||||
dwindle_vsplit=0
|
||||
dwindle_preserve_split=1
|
||||
dwindle_smart_resize=1
|
||||
dwindle_drop_simple_split=1
|
||||
|
||||
# set default layouts for each tag
|
||||
tagrule=id:1,layout_name:dwindle,
|
||||
tagrule=id:2,layout_name:dwindle,
|
||||
tagrule=id:3,layout_name:dwindle,
|
||||
tagrule=id:4,layout_name:dwindle,
|
||||
tagrule=id:5,layout_name:dwindle,
|
||||
tagrule=id:6,layout_name:dwindle,
|
||||
tagrule=id:7,layout_name:dwindle,
|
||||
tagrule=id:8,layout_name:dwindle,
|
||||
tagrule=id:9,layout_name:dwindle,
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
# default setup for 3 screens
|
||||
monitorrule=name:^HDMI-A-1$,width:1920,height:1080,refresh:60,x:0,y:0
|
||||
monitorrule=name:^DP-1$,width:1920,height:1080,refresh:60,x:-1920,y:0
|
||||
monitorrule=name:^DP-2$,width:1920,height:1080,refresh:60,x:1920,y:0
|
||||
|
||||
focus_cross_monitor=1
|
||||
exchange_cross_monitor=1
|
||||
Reference in New Issue
Block a user