Fix freez issue #8
3 changed files with 24 additions and 10 deletions
|
@ -32,7 +32,7 @@
|
||||||
| modkey + t -> shift + k | Launche the kitty terminal with tmux |
|
| modkey + t -> shift + k | Launche the kitty terminal with tmux |
|
||||||
| modkey + shift + f -> g | Launche the GUI file manger (pcmanfm by default) |
|
| modkey + shift + f -> g | Launche the GUI file manger (pcmanfm by default) |
|
||||||
| modkey + shift + f -> f | Launche rofi file file browser (small size) |
|
| modkey + shift + f -> f | Launche rofi file file browser (small size) |
|
||||||
| modkey + shift + f -> r | Launche ranger in the main terminal |
|
| modkey + shift + f -> t | Launche the terminal file manger (ranger) in the main terminal |
|
||||||
| modkey + w -> g | Launche google chrome browser |
|
| modkey + w -> g | Launche google chrome browser |
|
||||||
| modkey + w -> t | Launche tor browser |
|
| modkey + w -> t | Launche tor browser |
|
||||||
| modkey + c -> d | Launche discord |
|
| modkey + c -> d | Launche discord |
|
||||||
|
@ -138,4 +138,5 @@
|
||||||
[![BitBucket](https://img.shields.io/badge/BitBucket-Mirror%20repo-brightgreen?style=for-the-badge&logo=BitBucket)](https://bitbucket.org/anas_elgarhy/dwm-anas)
|
[![BitBucket](https://img.shields.io/badge/BitBucket-Mirror%20repo-brightgreen?style=for-the-badge&logo=BitBucket)](https://bitbucket.org/anas_elgarhy/dwm-anas)
|
||||||
[![Codeberg](https://img.shields.io/badge/Codeberg-Mirror%20repo-brightgreen?style=for-the-badge&logo=Codeberg)](https://codeberg.org/anas-elgarhy/dwm-anas)
|
[![Codeberg](https://img.shields.io/badge/Codeberg-Mirror%20repo-brightgreen?style=for-the-badge&logo=Codeberg)](https://codeberg.org/anas-elgarhy/dwm-anas)
|
||||||
|
|
||||||
|
### Refrences:
|
||||||
|
- [XF86keysym](https://cgit.freedesktop.org/xorg/proto/x11proto/tree/XF86keysym.h)
|
||||||
|
|
11
src/Makefile
11
src/Makefile
|
@ -44,6 +44,17 @@ install: all
|
||||||
sed "s/VERSION/${VERSION}/g" < ../dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
|
sed "s/VERSION/${VERSION}/g" < ../dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
|
||||||
chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
|
chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
|
||||||
|
|
||||||
|
desktopfile:
|
||||||
|
full_path=/usr/share/xsessions/dwm-anas.desktop
|
||||||
|
mkdir -p /usr/share/xsessions
|
||||||
|
cat <<EOT >> ${full_path}
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=XSession
|
||||||
|
Exec=/usr/local/bin/dwm
|
||||||
|
DesktopNames=dwm-anas
|
||||||
|
Name=dwm-anas
|
||||||
|
Comment=Anas Elgarhy dwm fork, with a lot of beautiful patches
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
|
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
|
||||||
${DESTDIR}${MANPREFIX}/man1/dwm.1
|
${DESTDIR}${MANPREFIX}/man1/dwm.1
|
||||||
|
|
|
@ -40,8 +40,8 @@ static Key keys[] = {
|
||||||
// {2, {{MODKEY|ShiftMask, XK_f}, {0, XK_g}}, spawn, SHCMD(GUI_FILEMANAGER) },
|
// {2, {{MODKEY|ShiftMask, XK_f}, {0, XK_g}}, spawn, SHCMD(GUI_FILEMANAGER) },
|
||||||
// // Rofi file browser (small)
|
// // Rofi file browser (small)
|
||||||
// {2, {{MODKEY|ShiftMask, XK_f}, {0, XK_f}}, spawn, SHCMD("rofi -show filebrowser") },
|
// {2, {{MODKEY|ShiftMask, XK_f}, {0, XK_f}}, spawn, SHCMD("rofi -show filebrowser") },
|
||||||
// // ranger
|
// // Terminal file manager (ranger)
|
||||||
// {2, {{MODKEY|ShiftMask, XK_f}, {0, XK_r}}, spawn, SHCMD(TERMINAL " -e ranger") },
|
// {2, {{MODKEY|ShiftMask, XK_f}, {0, XK_t}}, spawn, SHCMD(TERMINAL " -e ranger") },
|
||||||
// /************************************* Start the web browers *************************************/
|
// /************************************* Start the web browers *************************************/
|
||||||
// // Google chrome stable
|
// // Google chrome stable
|
||||||
// {2, {{MODKEY, XK_w}, {0, XK_g}}, spawn, SHCMD(WEBBROWSER) },
|
// {2, {{MODKEY, XK_w}, {0, XK_g}}, spawn, SHCMD(WEBBROWSER) },
|
||||||
|
@ -75,7 +75,7 @@ static Key keys[] = {
|
||||||
// {2, {{MODKEY, XK_m}, {ShiftMask, XK_v}}, spawn, SHCMD(TERMINAL "nvlc") },
|
// {2, {{MODKEY, XK_m}, {ShiftMask, XK_v}}, spawn, SHCMD(TERMINAL "nvlc") },
|
||||||
// /************************************* Start the emoji piker apps *************************************/
|
// /************************************* Start the emoji piker apps *************************************/
|
||||||
// // Emoji selector (rofi)
|
// // Emoji selector (rofi)
|
||||||
// {1, {{Mod4Mask, XK_e}}, spawn, SHCMD("rofi -show emoji") },
|
// {1, {{Mod4Mask, XK_e}}, spawn, SHCMD("rofimoji") },
|
||||||
// /************************************* dwm keys *************************************/
|
// /************************************* dwm keys *************************************/
|
||||||
// // Full screen mode
|
// // Full screen mode
|
||||||
// {1, {{MODKEY, XK_f}}, fullscreen, {0} },
|
// {1, {{MODKEY, XK_f}}, fullscreen, {0} },
|
||||||
|
@ -141,6 +141,7 @@ static Key keys[] = {
|
||||||
TAGKEYS( XK_7, 6)
|
TAGKEYS( XK_7, 6)
|
||||||
TAGKEYS( XK_8, 7)
|
TAGKEYS( XK_8, 7)
|
||||||
TAGKEYS( XK_9, 8)
|
TAGKEYS( XK_9, 8)
|
||||||
|
TAGKEYS( XK_semicolon, 9)
|
||||||
/* ---------------------------------- Control Keys ---------------------------------- */
|
/* ---------------------------------- Control Keys ---------------------------------- */
|
||||||
// // Brightness controllers (requires xbacklight)
|
// // Brightness controllers (requires xbacklight)
|
||||||
// {1, {{0, XF86XK_MonBrightnessUp}}, spawn, SHCMD("xbacklight -inc 5") },
|
// {1, {{0, XF86XK_MonBrightnessUp}}, spawn, SHCMD("xbacklight -inc 5") },
|
||||||
|
@ -161,6 +162,7 @@ static Key keys[] = {
|
||||||
// /* ---------------------------------- lock Keys ---------------------------------- */
|
// /* ---------------------------------- lock Keys ---------------------------------- */
|
||||||
// // Lock the screen
|
// // Lock the screen
|
||||||
// {1, {{MODKEY|ShiftMask, XK_x}}, spawn, SHCMD("betterlockscreen -l dim") },
|
// {1, {{MODKEY|ShiftMask, XK_x}}, spawn, SHCMD("betterlockscreen -l dim") },
|
||||||
|
// {1, {{0, XF86XK_Suspend}}, spawn, SHCMD("betterlockscreen -l dim") },
|
||||||
// // Kill dwm (super + shift + alt + q)
|
// // Kill dwm (super + shift + alt + q)
|
||||||
// {1, {{MODKEY|ShiftMask|Mod1Mask, XK_q}}, quit, {0} },
|
// {1, {{MODKEY|ShiftMask|Mod1Mask, XK_q}}, quit, {0} },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue