-
dkeg
- Configurator
- Posts: 3782
- Joined: Sun Nov 18, 2012 9:23 pm
- Location: Mid-Atlantic Grill
Unread post
by dkeg » Sun Oct 18, 2015 2:35 am
.sxhkdrc updates ...
Toggle b/t two compton configs (more or less transparency)
Code: Select all
alt + {_,shift + }c
~/bin/comp {more,less}
Z3bra recreated the fullscreen script to include max vert and max horizontal (like cwm and 2bwm). The script also includes fullscreen. I modified the script to include a maximize along with the defacto fullscreen (like cwm!)
Added keybindings for those in my .sxhkdrc.
Code: Select all
# max or full screen
alt + {_,shift + }f
max -{m,f} $(pfw)
Code: Select all
# max horiz and vert
alt + {_,shift +}m
max -{v,h} $(pfw)
Work hard; Complain less
-
franksinistra
- Ivana Fukalot
- Posts: 1093
- Joined: Mon Jan 27, 2014 2:03 am
- Location: 印尼国
Unread post
by franksinistra » Mon Oct 19, 2015 4:27 pm
^ cool
i made a small snap-to-half-screen like script for wmutils a while ago, think i might share it
Code: Select all
#!/bin/sh
R=$(lsw -r)
W=$(wattr w $R)
H=$(wattr h $R)
B=$(wattr b $(pfw))
WIDTH=$((W / 2))
HEIGHT=$((H / 2))
GAP=${GAP:-20}
usage() {
echo "usage: $(basename $0) <left|right|up|down>" >&2
exit 1
}
case $1 in
left) wtp $GAP $GAP $((WIDTH - GAP - 2*B)) $((H - 2*GAP)) $(pfw) ;;
right) wtp $((WIDTH + GAP)) $GAP $((WIDTH - 2*GAP - 2*B)) $((H - 2*GAP)) $(pfw) ;;
up) wtp $GAP $GAP $((W - 2*GAP - 2*B)) $((HEIGHT - GAP - 2*B)) $(pfw) ;;
down) wtp $GAP $((HEIGHT + GAP)) $((W - 2*GAP - 2*B)) $((HEIGHT - 2*GAP - 2*B)) $(pfw) ;;
*) usage ;;
esac
rice no more.
-
ChefIronBelly
- Approved BBQer
- Posts: 1044
- Joined: Mon Jan 13, 2014 6:01 am
- Location: Michigan
Unread post
by ChefIronBelly » Mon Oct 19, 2015 5:43 pm
^^ nice dkeg I don't use compton but I'm sure I will make use in one way or another.
^ cool beans
Edit: Updated to RESPECT my PANEL ;)
http://git.io/vWvAv
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]