diff --git a/.config/mango/autostart.sh b/.config/mango/autostart.sh index 22feb58..4e10a34 100755 --- a/.config/mango/autostart.sh +++ b/.config/mango/autostart.sh @@ -2,9 +2,6 @@ set +e -# obs -dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=wlroots - # wallpaper #swaybg -i ~/.config/mango/wallpaper/room.png & @@ -17,9 +14,15 @@ wl-clip-persist --clipboard regular --reconnect-tries 0 & # clipboard content manager wl-paste --type text --watch cliphist store & -# shikane -systemctl --user start shikane + +# START UP +systemctl --user start shikane & +systemctl --user start sway-audio-idle-inhibit & pipewire & swaync & dex -a & + +# screen record or share +dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=wlroots +/usr/lib/xdg-desktop-portal-wlr & diff --git a/.config/mango/config.conf b/.config/mango/config.conf index 892fd53..f3128fb 100644 --- a/.config/mango/config.conf +++ b/.config/mango/config.conf @@ -49,12 +49,12 @@ animation_curve_close=0.08,0.92,0,1 # Scroller Layout Setting scroller_structs=20 -scroller_default_proportion=0.8 +scroller_default_proportion=1.0 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 +scroller_proportion_preset=1.0,1.0,1.0 # Master-Stack Layout Setting new_is_master=1 @@ -92,7 +92,7 @@ xkb_rules_layout=us # Trackpad # need relogin to make it apply disable_trackpad=0 -tap_to_click=1 +tap_to_click=0 tap_and_drag=1 drag_lock=1 trackpad_natural_scrolling=0 @@ -140,13 +140,16 @@ tagrule=id:9,layout_name:tile # reload config bind=SUPER,r,reload_config +bind=SUPER,r,spawn_shell, notify-send 'Reloading Config!' # menu and terminal -bind=SUPER,d,spawn,wofi --show drun -bind=SUPER,Return,spawn,kitty +bind=SUPER,d,spawn,wofi --show drun -GI +bind=SUPER,Return,spawn,kitty # exit bind=SUPER+SHIFT,m,quit +bind=SUPER,m,spawn_shell, playerctl pause; swaylock -f -c 000000 # lock + bind=SUPER+SHIFT,q,killclient, # switch window focus @@ -169,15 +172,16 @@ bind=SUPER+SHIFT,l,exchange_client,right # switch window status bind=SUPER,g,toggleglobal, -#bind=ALT,Tab,toggleoverview, -bind=SUPER,backslash,togglefloating, +bind=ALT,Tab,toggleoverview, +bind=SUPER,space,togglefloating, #bind=ALT,a,togglemaxmizescreen, bind=SUPER,f,togglefullscreen, #bind=ALT+SHIFT,f,togglefakefullscreen, # +# # Go through all the bookmarks bind=SUPER,i,toggle_scratchpad, -bind=SUPER+SHIFT,I,minimized, +bind=SUPER+SHIFT,i,minimized, #bind=SUPER,o,toggleoverlay, #bind=SUPER+SHIFT,I,restore_minimized @@ -185,14 +189,14 @@ bind=SUPER+SHIFT,I,minimized, bind=ALT,e,set_proportion,1.0 bind=ALT,x,switch_proportion_preset, -# switch layout +# switcnext bind=SUPER,n,switch_layout # Layouts bind=SUPER,t,setlayout,tile bind=SUPER,v,setlayout,vertical_grid bind=SUPER,c,setlayout,spiral -bind=SUPER,x,setlayout,scroller +bind=SUPER,s,setlayout,scroller bind=SUPER,a,togglegaps # tag switch @@ -248,6 +252,7 @@ bind=CTRL+ALT,Right,resizewin,+50,+0 # NONE mode key only work in ov mode mousebind=SUPER,btn_left,moveresize,curmove mousebind=SUPER,btn_right,moveresize,curresize + #mousebind=NONE,btn_middle,togglemaxmizescreen,0 #mousebind=NONE,btn_left,toggleoverview,-1 #mousebind=NONE,btn_right,killclient,0 @@ -268,11 +273,10 @@ bind=none,XF86AudioLowerVolume,spawn_shell,pactl set-sink-volume @DEFAULT_SINK@ bind=none,XF86AudioMute,spawn_shell,pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+10 i3blocks;, bind=none,XF86AudioMicMute,spwan_shell,pactl set-source-mute @DEFAULT_SOURCE@ toggle;, +bind=SUPER,bracketleft,spawn_shell,playerctl previous +bind=SUPER,bracketright,spawn_shell,playerctl next + # Brightness Control bind=none,XF86MonBrightnessDown,spawn_shell,brightnessctl set 2%- bind=none,XF86MonBrightnessUp,spawn_shell,brightnessctl set 2%+ bind=SUPER+SHIFT,p, spawn_shell, slurp | grim -g - - | tee ~/Pictures/$(date +%F-%s).png | wl-copy - - - -