From 8afaeb36a3ff5f27f70c7de8e3fdb2f2158ed9ed Mon Sep 17 00:00:00 2001 From: stkhan Date: Mon, 31 May 2021 18:01:00 +0000 Subject: Change default programs, and shell on st --- dwm-6.2/config.h | 6 ++++-- dwm-6.2/dwm | Bin 72056 -> 72248 bytes dwm-6.2/dwm.o | Bin 63192 -> 63632 bytes dwm_scripts/browser | 3 +++ dwm_scripts/editor | 4 ++++ install.sh | 8 +++----- st/config.h | 2 +- st/st | Bin 120816 -> 120816 bytes st/x.o | Bin 87752 -> 87784 bytes 9 files changed, 15 insertions(+), 8 deletions(-) create mode 100755 dwm_scripts/browser create mode 100755 dwm_scripts/editor diff --git a/dwm-6.2/config.h b/dwm-6.2/config.h index 96bfe58..8426be9 100644 --- a/dwm-6.2/config.h +++ b/dwm-6.2/config.h @@ -92,7 +92,6 @@ static Key keys[] = { { MODKEY, XK_Tab, view, {0} }, { MODKEY, XK_x, killclient, {0} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, - { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, @@ -103,12 +102,15 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, // Custom keybinds - { MODKEY|ShiftMask, XK_f, spawn, SHCMD("surf_run") }, + { MODKEY|ShiftMask, XK_f, spawn, SHCMD("chromium") }, { MODKEY|ShiftMask, XK_b, spawn, SHCMD("brighter") }, { MODKEY|ShiftMask, XK_l, spawn, SHCMD("darker") }, { MODKEY|ShiftMask, XK_u, spawn, SHCMD("vol_up") }, { MODKEY|ShiftMask, XK_d, spawn, SHCMD("vol_down") }, { MODKEY|ShiftMask, XK_m, spawn, SHCMD("mute") }, + // + { MODKEY, XK_f, spawn, SHCMD("surf_run") }, + { MODKEY, XK_g, spawn, SHCMD("geany") }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) diff --git a/dwm-6.2/dwm b/dwm-6.2/dwm index af8a112..7b69b4c 100755 Binary files a/dwm-6.2/dwm and b/dwm-6.2/dwm differ diff --git a/dwm-6.2/dwm.o b/dwm-6.2/dwm.o index 3ea6804..d0ada3e 100644 Binary files a/dwm-6.2/dwm.o and b/dwm-6.2/dwm.o differ diff --git a/dwm_scripts/browser b/dwm_scripts/browser new file mode 100755 index 0000000..b92358a --- /dev/null +++ b/dwm_scripts/browser @@ -0,0 +1,3 @@ +#!/bin/sh + +chromium diff --git a/dwm_scripts/editor b/dwm_scripts/editor new file mode 100755 index 0000000..f2b05d9 --- /dev/null +++ b/dwm_scripts/editor @@ -0,0 +1,4 @@ +#!/bin/sh +# This program runs a graphical editor + +geany diff --git a/install.sh b/install.sh index 912d66b..e7da7b7 100755 --- a/install.sh +++ b/install.sh @@ -50,14 +50,12 @@ make -s sudo make -s install cd .. -mkdir -p ~/.config/sarc -mkdir ~/.dwm/ -cp -r * ~/.config/sarc/ +mkdir ~/.config/dwm/ + cp etc/.xinitrc ~ -etc/cursor cp etc/wallpaper/$theme.wallpaper.jpg ~/.config/wallpaper.jpg -cp etc/autostart.sh ~/.dwm +cp etc/autostart.sh ~/.config/dwm/ sudo cp bin/* /usr/local/bin diff --git a/st/config.h b/st/config.h index e7ae519..8d67a8d 100644 --- a/st/config.h +++ b/st/config.h @@ -18,7 +18,7 @@ static int borderpx = 2; * 4: value of shell in /etc/passwd * 5: value of shell in config.h */ -static char *shell = "/bin/sh"; +static char *shell = "/usr/bin/mksh"; char *utmp = NULL; /* scroll program: to enable use a string like "scroll" */ char *scroll = NULL; diff --git a/st/st b/st/st index 5295144..f5c7ccf 100755 Binary files a/st/st and b/st/st differ diff --git a/st/x.o b/st/x.o index fce9141..c6348a1 100644 Binary files a/st/x.o and b/st/x.o differ -- cgit v1.2.3