diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rwxr-xr-x | bin/mute | 3 | ||||
| -rwxr-xr-x | bin/vol_down | 3 | ||||
| -rwxr-xr-x | bin/vol_up | 4 | ||||
| -rw-r--r-- | dwm-6.2/config.h | 45 | ||||
| -rwxr-xr-x | dwm-6.2/dwm | bin | 66200 -> 66864 bytes | |||
| -rw-r--r-- | dwm-6.2/dwm.o | bin | 58608 -> 60056 bytes | |||
| -rwxr-xr-x | install.sh | 2 |
8 files changed, 36 insertions, 23 deletions
@@ -33,7 +33,7 @@ Note that if you want to change anything in the dwm config, do it in dwm/themes/ ### Applications -Alt+Shift+F = Qutebrowser +Alt+Shift+F = Falkon Browser Alt+D = dmenu @@ -1,3 +1,4 @@ #!/bin/sh -pactl set-sink-mute @DEFAULT_SINK@ toggle +pactl set-sink-mute @DEFAULT_SINK@ toggle & +dunstify "Toggled mute" & diff --git a/bin/vol_down b/bin/vol_down index 5c67be2..9a01c42 100755 --- a/bin/vol_down +++ b/bin/vol_down @@ -1,3 +1,4 @@ #!/bin/sh -pactl set-sink-volume @DEFAULT_SINK@ -5% +pactl set-sink-volume @DEFAULT_SINK@ -5% & +dunstify "Turned the volume down 5%" @@ -1,3 +1,5 @@ #!/bin/sh -pactl set-sink-volume @DEFAULT_SINK@ +5% +pactl set-sink-volume @DEFAULT_SINK@ +5% & +dunstify "Turned the volume up +5" & + diff --git a/dwm-6.2/config.h b/dwm-6.2/config.h index bb94b70..7101bbf 100644 --- a/dwm-6.2/config.h +++ b/dwm-6.2/config.h @@ -2,19 +2,19 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int gappx = 5; /* gaps between windows */ +static const unsigned int gappx = 30; /* gaps between windows */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const int vertpad = 10; /* vertical padding of bar */ -static const int sidepad = 10; /* horizontal padding of bar */ -static const char *fonts[] = { "monospace:size=10" }; -static const char dmenufont[] = "monospace:size=10"; +static const int vertpad = 5; +static const int sidepad = 8; +static const char *fonts[] = { "Source Code Pro:size=9" }; +static const char dmenufont[] = "Source Code Pro:size=9"; static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; static const char col_gray4[] = "#eeeeee"; -static const char col_cyan[] = "#005577"; +static const char col_cyan[] = "#00731f"; static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, @@ -22,7 +22,7 @@ static const char *colors[][3] = { }; /* tagging */ -static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; +static const char *tags[] = { "/", "dev", "web", "etc", }; static const Rule rules[] = { /* xprop(1): @@ -31,7 +31,9 @@ static const Rule rules[] = { */ /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, + { "Steam", NULL, NULL, 0, 1, -1}, + { "Firefox", NULL, NULL, 2 << 1, 0, -1 }, + { "st", NULL, NULL, 2, 0, -1 }, }; /* layout(s) */ @@ -41,9 +43,9 @@ static const int resizehints = 1; /* 1 means respect size hints in tiled resi static const Layout layouts[] = { /* symbol arrange function */ - { "[]=", tile }, /* first entry is default */ - { "><>", NULL }, /* no layout function means floating behavior */ - { "[M]", monocle }, + { "[]", tile }, /* first entry is default */ + { "_-_", NULL }, /* no layout function means floating behavior */ + { "(0*0)", monocle }, }; /* key definitions */ @@ -64,18 +66,18 @@ static const char *termcmd[] = { "st", NULL }; static Key keys[] = { /* modifier key function argument */ - { MODKEY, XK_p, spawn, {.v = dmenucmd } }, - { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, + { MODKEY, XK_d, spawn, {.v = dmenucmd } }, + { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, - { MODKEY, XK_i, incnmaster, {.i = +1 } }, +/* { MODKEY, XK_i, incnmaster, {.i = +1 } }, { MODKEY, XK_d, incnmaster, {.i = -1 } }, - { MODKEY, XK_h, setmfact, {.f = -0.05} }, +*/ { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, - { MODKEY, XK_Return, zoom, {0} }, + { MODKEY|ShiftMask, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, - { MODKEY|ShiftMask, XK_c, killclient, {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]} }, @@ -90,6 +92,13 @@ static Key keys[] = { { MODKEY, XK_minus, setgaps, {.i = -1 } }, { MODKEY, XK_equal, setgaps, {.i = +1 } }, { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } }, + { MODKEY|ShiftMask, XK_f, spawn, SHCMD("falkon") }, + { MODKEY|ShiftMask, XK_h, spawn, SHCMD("st htop") }, + { MODKEY|ShiftMask, XK_u, spawn, SHCMD("~/.local/bin/vol_up") }, + { MODKEY|ShiftMask, XK_l, spawn, SHCMD("~/.local/bin/darker") }, + { MODKEY|ShiftMask, XK_b, spawn, SHCMD("~/.local/bin/brighter") }, + { MODKEY|ShiftMask, XK_d, spawn, SHCMD("~/.local/bin/vol_down") }, + { MODKEY|ShiftMask, XK_m, spawn, SHCMD("~/.local/bin/mute") }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) @@ -99,7 +108,7 @@ static Key keys[] = { TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) - { MODKEY|ShiftMask, XK_q, quit, {0} }, + { MODKEY|ShiftMask, XK_q, quit, {0} }, }; /* button definitions */ diff --git a/dwm-6.2/dwm b/dwm-6.2/dwm Binary files differindex 6aec95a..127b3a2 100755 --- a/dwm-6.2/dwm +++ b/dwm-6.2/dwm diff --git a/dwm-6.2/dwm.o b/dwm-6.2/dwm.o Binary files differindex cf27c0b..8e3159f 100644 --- a/dwm-6.2/dwm.o +++ b/dwm-6.2/dwm.o @@ -11,7 +11,7 @@ theme="green" echo "Welcome to the sarc installer!" rm log.txt - sudo pacman -Sy --needed adobe-source-code-pro-fonts falkon xorg xorg-xinit light picom feh dunst pulseaudio + sudo pacman -Sy --needed adobe-source-code-pro-fonts falkon libnotify xorg xorg-xinit light picom feh dunst pulseaudio cd dwm-6.2 |