From 5fbdccbf52acc6dc1731989a161bcdbc4cdbc5c9 Mon Sep 17 00:00:00 2001 From: lucy Date: Sun, 23 Aug 2026 11:08:03 +0200 Subject: [PATCH] add mangowc config --- emacs/.emacs.d/init.el | 3 + foot/.config/foot/foot.ini | 4 +- mangowc/.config/mango/config.conf | 217 ++++++++++++++++++ .../.config/tinted-theming/tinty/config.toml | 13 +- 4 files changed, 234 insertions(+), 3 deletions(-) create mode 100644 mangowc/.config/mango/config.conf diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 4856686..e214c7b 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -1,3 +1,5 @@ +(add-to-list 'default-frame-alist '(font . "Iosevka-14")) + (require 'package) (add-to-list 'package-archives '("melpa-snapshots" . "https://snapshots.melpa.org/packages/") t) @@ -7,6 +9,7 @@ ;; add packages +(use-package portage-modes :ensure t) (use-package corfu :ensure t) (use-package qml-mode :ensure t) (use-package lua-mode :ensure t) diff --git a/foot/.config/foot/foot.ini b/foot/.config/foot/foot.ini index 1e2b193..72dd56f 100644 --- a/foot/.config/foot/foot.ini +++ b/foot/.config/foot/foot.ini @@ -1,5 +1,5 @@ -include = ~/.config/foot/colors.ini +include = ~/.local/share/tinted-theming/tinty/tinted-terminal-themes-foot-file.ini pad = 15x15 -font = Meslo LGL Nerd Font:size=12 +font = Iosevka:size=14 [colors-dark] alpha = 0.9 diff --git a/mangowc/.config/mango/config.conf b/mangowc/.config/mango/config.conf new file mode 100644 index 0000000..45dd7a6 --- /dev/null +++ b/mangowc/.config/mango/config.conf @@ -0,0 +1,217 @@ +c# More option see https://github.com/DreamMaoMao/mango/wiki/ + +# Window effect +cursor_theme=macOS +cursor_size=24 +# env shit +env=GTK_THEME,adw-gtk3-dark +blur=0 +blur_layer=0 +blur_optimized=1 +blur_params_num_passes = 2 +blur_params_radius = 5 +blur_params_noise = 0.02 +blur_params_brightness = 0.9 +blur_params_contrast = 0.9 +blur_params_saturation = 1.2 + +shadows = 0 +layer_shadows = 0 +shadow_only_floating = 1 +shadows_size = 10 +shadows_blur = 15 +shadows_position_x = 0 +shadows_position_y = 0 +shadowscolor= 0x000000ff + +border_radius=16 +no_radius_when_single=0 +focused_opacity=1.0 +unfocused_opacity=1.0 + +# Animation Configuration(support type:zoom,slide) +# tag_animation_direction: 1-horizontal,0-vertical +animations=1 +layer_animations=1 +animation_type_open=slide +animation_type_close=slide +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 + +# Scroller Layout Setting +scroller_structs=20 +scroller_default_proportion=0.8 +scroller_focus_center=0 +scroller_prefer_center=0 +edge_scroller_pointer_focus=1 +edge_scroller_focus_allow_speed=0.0 +scroller_default_proportion_single=1.0 +scroller_proportion_preset=0.5,0.8,1.0 + +# Master-Stack Layout Setting +new_is_master=0 +default_mfact=0.55 +default_nmaster=1 +tag_num=9 +smartgaps=0 + +# Dwindle Layout Setting +dwindle_smart_split=0 +dwindle_drop_simple_split=1 +dwindle_manual_split=0 +dwindle_hsplit=1 +dwindle_vsplit=1 +dwindle_preserve_split=0 + +# Overview Setting +hotarea_size=10 +enable_hotarea=0 +ov_tab_mode=1 +ov_tab_mode_launch_next=0 +overviewgappi=5 +overviewgappo=30 + +# Misc +no_border_when_single=0 +axis_bind_apply_timeout=100 +focus_on_activate=1 +idleinhibit_ignore_visible=0 +sloppyfocus=1 +warpcursor=1 +focus_cross_monitor=0 +focus_cross_tag=0 +enable_floating_snap=0 +snap_distance=30 +cursor_size=24 +drag_tile_to_tile=1 +drag_tile_small=1 + +# keyboard +repeat_rate=25 +repeat_delay=600 +numlockon=0 +xkb_rules_layout=eu + +# 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 + +# Appearance +gappih=5 +gappiv=5 +gappoh=10 +gappov=10 +scratchpad_width_ratio=0.8 +scratchpad_height_ratio=0.9 +borderpx=2 +source = /home/lucy/.local/share/tinted-theming/tinty/tinted-mangowc-build-file.conf +# layout support: +# tile,scroller,grid,deck,monocle,center_tile,vertical_tile,vertical_scroller +tagrule=id:1,layout_name:tile +tagrule=id:2,layout_name:tile +tagrule=id:3,layout_name:tile +tagrule=id:4,layout_name:tile +tagrule=id:5,layout_name:tile +tagrule=id:6,layout_name:tile +tagrule=id:7,layout_name:tile +tagrule=id:8,layout_name:tile +tagrule=id:9,layout_name:tile + +# Key Bindings +# key name refer to `xev` or `wev` command output, +# mod keys name: super,ctrl,alt,shift,none + +# reload config +bind=SUPER,r,reload_config + +# menu and terminal +bind=SUPER,space,spawn,fuzzel +bind=SUPER,Return,spawn,foot + +# exit +bind=SUPER,m,quit +bind=SUPER,q,killclient, +# screenshot binds +bind = SUPER+SHIFT,S,spawn_shell,grim -g "$(slurp)" - | wl-copy +bind=ALT+SHIFT,S,spawn_shell,grim -o "$(mmsg get all-monitors | jq -r '.monitors[] | select(.active) | .name')" - | wl-copy + +# swap window +bind=SUPER+SHIFT,Up,exchange_client,up +bind=SUPER+SHIFT,Down,exchange_client,down +bind=SUPER+SHIFT,Left,exchange_client,left +bind=SUPER+SHIFT,Right,exchange_client,right +bind=SUPER,Up,focusdir,up +bind=SUPER,Down,focusdir,down +bind=SUPER,Left,focusdir,left +bind=SUPER,Right,focusdir,right +# switch window status +bind=SUPER,v,togglefloating, +bind=ALT,f,togglefullscreen, +# tag switch +bind=SUPER,1,view,1,0 +bind=SUPER,2,view,2,0 +bind=SUPER,3,view,3,0 +bind=SUPER,4,view,4,0 +bind=SUPER,5,view,5,0 +bind=SUPER,6,view,6,0 +bind=SUPER,7,view,7,0 +bind=SUPER,8,view,8,0 +bind=SUPER,9,view,9,0 + +# tag: move client to the tag and focus it +# tagsilent: move client to the tag and not focus it +# bind=Alt,1,tagsilent,1 +bind=SUPER,SHIFT,1,tag,1,0 +bind=SUPER,SHIFT,2,tag,2,0 +bind=SUPER,SHIFT,3,tag,3,0 +bind=SUPER,SHIFT,4,tag,4,0 +bind=SUPER,SHIFT,5,tag,5,0 +bind=SUPER,SHIFT,6,tag,6,0 +bind=SUPER,SHIFT,7,tag,7,0 +bind=SUPER,SHIFT,8,tag,8,0 +bind=SUPER,SHIFT,9,tag,9,0 + +# monitor switch +bind=SUPER,comma,focusmon,left +bind=SUPER,periodt,focusmon,right + +# resizewin +bind=CTRL+ALT,Up,resizewin,+0,-50 +bind=CTRL+ALT,Down,resizewin,+0,+50 +bind=CTRL+ALT,Left,resizewin,-50,+0 +bind=CTRL+ALT,Right,resizewin,+50,+0 + + +# btn_left and btn_right can't bind none mod key +mousebind=SUPER,btn_left,moveresize,curmove +mousebind=NONE,btn_middle,togglemaximizescreen,0 +mousebind=ALT,btn_left,moveresize,curresize \ No newline at end of file diff --git a/tinted-theming/.config/tinted-theming/tinty/config.toml b/tinted-theming/.config/tinted-theming/tinty/config.toml index 2fff417..0d7d749 100644 --- a/tinted-theming/.config/tinted-theming/tinty/config.toml +++ b/tinted-theming/.config/tinted-theming/tinty/config.toml @@ -21,4 +21,15 @@ path = "https://git.lucy.rip/lucy/tinted-chromium" themes-dir = "build" theme-file-extension = ".json" supported-systems = ["base16", "base24"] -hook = "rm -rf ~/.local/share/chromium-tinty-theme/*; cp $HOME/.local/share/tinted-theming/tinty/chromium-build-file.json $HOME/.local/share/chromium-tinty-theme/manifest.json" \ No newline at end of file +hook = "rm -rf ~/.local/share/chromium-tinty-theme/*; cp $HOME/.local/share/tinted-theming/tinty/chromium-build-file.json $HOME/.local/share/chromium-tinty-theme/manifest.json" + +[[items]] +path = "https://github.com/tinted-theming/tinted-terminal" +name = "tinted-terminal" +themes-dir = "themes/foot" # Directory name of terminal theme you want to use +supported-systems = ["base16", "base24"] + +[[items]] +path = "https://git.lucy.rip/lucy/tinted-mangowc/" +name = "tinted-mangowc" +themes-dir = "build"