commit f1676c06116a72fb906e677d396178934b9b5f6f
Author: mrgrouse <mrgrouse@mrgrouse.com>
Date: Wed, 18 Feb 2026 16:50:48 -0500
initialize repo with asahilinux desktop configurations
Diffstat:
7 files changed, 434 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1,2 @@
+waybar/theme.css
+mango/theme.conf
diff --git a/conky/conky.conf b/conky/conky.conf
@@ -0,0 +1,67 @@
+-- Conky Lua API: https://conky.cc/lua
+-- Configuration settings: https://conky.cc/config_settings
+conky.config = {
+ alignment = 'top_left',
+ background = false, -- whether to bg the project
+ border_width = 1,
+ cpu_avg_samples = 2,
+ default_color = 'white',
+ default_outline_color = 'white',
+ default_shade_color = 'white',
+ draw_borders = false,
+ draw_graph_borders = true,
+ draw_outline = false,
+ draw_shades = false,
+ extra_newline = false,
+ font = 'Fira Mono Bold:size=24',
+ gap_x = 60,
+ gap_y = 60,
+ minimum_height = 5,
+ minimum_width = 5,
+ net_avg_samples = 2,
+ no_buffers = true,
+ out_to_console = false,
+ out_to_ncurses = false,
+ out_to_stderr = false,
+ out_to_wayland = true,
+ out_to_x = false,
+ own_window = true,
+ own_window_class = 'Conky',
+ own_window_type = 'normal',
+ own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
+ show_graph_range = false,
+ show_graph_scale = false,
+ stippled_borders = 0,
+ update_interval = 1.0,
+ uppercase = false,
+ use_spacer = 'none',
+ use_xft = true,
+}
+
+-- ${color grey}Frequency (in MHz):$color $freq
+-- ${color grey}Frequency (in GHz):$color $freq_g
+-- Variables: https://conky.cc/variables
+conky.text = [[
+${font Fira Sans:weight=ExtraBold:size=215}\
+${voffset -250}
+${color white}${time %I:%M}
+${font Fira Mono:weight=Bold:size=24}${voffset -250}\
+${color grey}Info:$color ${scroll 32 $sysname $kernel $machine}
+$hr
+${color grey}Uptime:$color $uptime
+${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
+${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
+${color grey}CPU Usage:$color $cpu% ${cpubar 4}
+${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
+$hr
+${color grey}File systems:
+ / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
+${color grey}Networking:
+Up:$color ${upspeed} ${color grey} - Down:$color ${downspeed}
+$hr
+${color grey}Name PID CPU% MEM%
+${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
+${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
+${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
+${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
+]]
diff --git a/mango/autostart.conf b/mango/autostart.conf
@@ -0,0 +1,9 @@
+exec-once=pipewire
+exec-once=pipewire-pulse
+exec-once=wireplumber
+exec-once=awww-daemon
+exec-once=waybar
+exec-once=dunst
+exec-once=conky
+exec-once=syncthing --no-browser
+exec-once=gnome-keyring-daemon
diff --git a/mango/bindings.conf b/mango/bindings.conf
@@ -0,0 +1,118 @@
+# 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,P,spawn,fuzzel
+bind=SUPER+shift_l,Return,spawn,havoc
+bind=SUPER,K,spawn,kpmenu
+bind=SUPER,W,spawn,wallpaperscript.e
+
+# exit
+bind=SUPER+shift_l,Q,quit
+bind=SUPER+shift_l,C,killclient,
+
+# switch window focus
+bind=SUPER,Tab,focusstack,next
+bind=ALT,Left,focusdir,left
+bind=ALT,Right,focusdir,right
+bind=ALT,Up,focusdir,up
+bind=ALT,Down,focusdir,down
+
+# 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
+
+# switch window status
+bind=SUPER,g,toggleglobal,
+bind=ALT,Tab,toggleoverview,
+bind=ALT,backslash,togglefloating,
+bind=ALT,a,togglemaximizescreen,
+bind=ALT,f,togglefullscreen,
+bind=ALT+SHIFT,f,togglefakefullscreen,
+bind=SUPER,i,minimized,
+bind=SUPER,o,toggleoverlay,
+bind=SUPER+SHIFT,I,restore_minimized
+bind=ALT,z,toggle_scratchpad
+
+# scroller layout
+bind=ALT,e,set_proportion,1.0
+bind=ALT,x,switch_proportion_preset,
+
+# switch layout
+bind=SUPER,n,switch_layout
+
+# tag switch
+bind=SUPER,Left,viewtoleft,0
+bind=CTRL,Left,viewtoleft_have_client,0
+bind=SUPER,Right,viewtoright,0
+bind=CTRL,Right,viewtoright_have_client,0
+bind=CTRL+SUPER,Left,tagtoleft,0
+bind=CTRL+SUPER,Right,tagtoright,0
+
+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_l,1,tag,1,0
+bind=Super+shift_l,2,tag,2,0
+bind=Super+shift_l,3,tag,3,0
+bind=Super+shift_l,4,tag,4,0
+bind=Super+shift_l,5,tag,5,0
+bind=Super+shift_l,6,tag,6,0
+bind=Super+shift_l,7,tag,7,0
+bind=Super+shift_l,8,tag,8,0
+bind=Super+shift_l,9,tag,9,0
+
+# monitor switch
+bind=alt+shift,Left,focusmon,left
+bind=alt+shift,Right,focusmon,right
+bind=SUPER+Alt,Left,tagmon,left
+bind=SUPER+Alt,Right,tagmon,right
+
+# gaps
+bind=ALT+SHIFT,X,incgaps,1
+bind=ALT+SHIFT,Z,incgaps,-1
+bind=ALT+SHIFT,R,togglegaps
+
+# movewin
+bind=CTRL+SHIFT,Up,movewin,+0,-50
+bind=CTRL+SHIFT,Down,movewin,+0,+50
+bind=CTRL+SHIFT,Left,movewin,-50,+0
+bind=CTRL+SHIFT,Right,movewin,+50,+0
+
+# 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
+
+# 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
+mousebind=SUPER,btn_right,moveresize,curresize
+
+
+# Axis Bindings
+axisbind=SUPER,UP,viewtoleft_have_client
+axisbind=SUPER,DOWN,viewtoright_have_client
+
+
+# layer rule
+layerrule=animation_type_open:zoom,layer_name:rofi
+layerrule=animation_type_close:zoom,layer_name:rofi
diff --git a/mango/config.conf b/mango/config.conf
@@ -0,0 +1,134 @@
+# More option see https://github.com/DreamMaoMao/mango/wiki/
+source=~/.config/mango/autostart.conf
+source=~/.config/mango/theme.conf
+source=~/.config/mango/bindings.conf
+#source
+
+# Window effect
+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
+
+border_radius=6
+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.3
+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
+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
+
+# 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
+
+# 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
+
+# Appearance
+gappih=5
+gappiv=5
+gappoh=10
+gappov=10
+scratchpad_width_ratio=0.8
+scratchpad_height_ratio=0.9
+borderpx=4
+
+# 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
diff --git a/waybar/config.jsonc b/waybar/config.jsonc
@@ -0,0 +1,57 @@
+{
+ "height": 50,
+ "spacing": 5,
+ "modules-left": [
+ "ext/workspaces",
+ "dwl/window"
+ ],
+ "modules-right": [
+ //"pulseaudio",
+ "battery",
+ "clock",
+ "tray",
+ ],
+ "ext/workspaces": {
+ "format": "{icon}",
+ "ignore-hidden": true,
+ "on-click": "activate",
+ "on-click-right": "deactivate",
+ "sort-by-id": true
+ },
+ "dwl/window": {
+ "format": "[{layout}] {title}"
+ },
+ "pulseaudio": {
+ "format": "{volume}% {icon}",
+ "scroll-step": 5,
+ "format-muted": "",
+ "format-icons": {
+ "default": ["", ""],
+ }
+ },
+ "battery": {
+ "bat": "macsmc-battery",
+ "interval": 5,
+ "states": {
+ // "good": 95,
+ "warning": 60,
+ "critical": 15
+ },
+ "format": "{capacity}% {icon}",
+ "format-full": "{capacity}% {icon}",
+ "format-charging": "{capacity}% ",
+ "format-plugged": "{capacity}% ",
+ "format-alt": "{time} {icon}",
+ // "format-good": "", // An empty format will hide the module
+ // "format-full": "",
+ "format-icons": ["", "", "", "", ""]
+ },
+ "clock": {
+ "interval": 1,
+ "format": "{:%Y-%m-%d %I:%M:%S}",
+ },
+ "tray": {
+ "icon-size": 21,
+ "spacing": 10,
+ }
+}
+\ No newline at end of file
diff --git a/waybar/style.css b/waybar/style.css
@@ -0,0 +1,46 @@
+@import url("theme.css");
+
+/*div:not(#workspaces) { */
+* {
+ font-family: "Fira Sans";
+ font-size: 24px;
+ font-weight: bold;
+ border-radius: 100px;
+ color: @foreground;
+ padding: 3.5px 15px;
+}
+
+#workspaces {
+ /*border-width: 1px;
+ border-style: solid;
+ border-color: @foreground;
+ margin: 3.5px 1px;
+ padding: 3.5px 0px;
+ background: @background;*/
+}
+
+#workspaces, #battery, #pulseaudio, #clock, #window {
+ background: @background;
+}
+
+window#waybar {
+ background: none;
+ border: none;
+ margin: 10px;
+}
+
+/* our battery colors for its status */
+
+#battery.warning {
+ color: yellow;
+}
+
+#battery.critical {
+ color: red;
+}
+
+/* always put this at the end of the battery statuses, because it will not change otherwise */
+#battery.charging, #battery.plugged {
+ /*color: #1bd500;*/
+ color: green;
+}