From 3bbbdfab9a79996152a163ec186209ad5eb46723 Mon Sep 17 00:00:00 2001 From: stkhan Date: Thu, 22 Apr 2021 14:47:24 -0500 Subject: Changed qutebrowser to falkon --- README.md | 9 +++++++-- dwm-6.2/config.h | 45 ++++++++++++++++++--------------------------- dwm-6.2/dwm | Bin 66864 -> 66200 bytes dwm-6.2/dwm.o | Bin 60056 -> 58608 bytes dwm-6.2/themes/blue | 2 +- dwm-6.2/themes/green | 2 +- dwm-6.2/themes/red | 2 +- install.sh | 3 +-- log.txt | 0 9 files changed, 29 insertions(+), 34 deletions(-) create mode 100644 log.txt diff --git a/README.md b/README.md index ac84475..869c186 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,15 @@ ## About This is the setup I use on Linux. I use my own versions of paleofetch, dwm, dmenu, and dwmblocks, however st comes from Luke Smith (lukesmith.xyz) -Installing is done by running the install.sh script, then start it with startx. +## Installation + +```git clone https://github.com/SkywalkerSW5/sarc +cd sarc +./install.sh +``` ## Themes -Their are dwm config files that are different themes. You can change what theme you want in the install.sh file. Then run it again, and the theme will change. +Their are dwm config files that are different themes. To change the theme, edit the theme variable in the install.sh script. Then run it again, and the theme will change. Note that if you want to change anything in the dwm config, do it in dwm/themes/theme_you_want, otherwise it won't be permanent. diff --git a/dwm-6.2/config.h b/dwm-6.2/config.h index bdb4ba7..bb94b70 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 = 30; /* gaps between windows */ +static const unsigned int gappx = 5; /* 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 = 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 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 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[] = "#00731f"; +static const char col_cyan[] = "#005577"; 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[] = { "/", "dev", "web", "etc", }; +static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; static const Rule rules[] = { /* xprop(1): @@ -31,9 +31,7 @@ static const Rule rules[] = { */ /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Steam", NULL, NULL, 0, 1, -1}, - { "Firefox", NULL, NULL, 2 << 1, 0, -1 }, - { "st", NULL, NULL, 2, 0, -1 }, + { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, }; /* layout(s) */ @@ -43,9 +41,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 */ - { "(0*0)", monocle }, + { "[]=", tile }, /* first entry is default */ + { "><>", NULL }, /* no layout function means floating behavior */ + { "[M]", monocle }, }; /* key definitions */ @@ -66,18 +64,18 @@ static const char *termcmd[] = { "st", NULL }; static Key keys[] = { /* modifier key function argument */ - { MODKEY, XK_d, spawn, {.v = dmenucmd } }, - { MODKEY, XK_Return, spawn, {.v = termcmd } }, + { MODKEY, XK_p, spawn, {.v = dmenucmd } }, + { MODKEY|ShiftMask, 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|ShiftMask, XK_Return, zoom, {0} }, + { MODKEY, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, - { MODKEY, XK_x, killclient, {0} }, + { MODKEY|ShiftMask, XK_c, killclient, {0} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, @@ -92,13 +90,6 @@ 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("qutebrowser") }, - { 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) @@ -108,7 +99,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 index 6cae4fc..6aec95a 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 b2c1f7d..cf27c0b 100644 Binary files a/dwm-6.2/dwm.o and b/dwm-6.2/dwm.o differ diff --git a/dwm-6.2/themes/blue b/dwm-6.2/themes/blue index 7125782..6539f57 100644 --- a/dwm-6.2/themes/blue +++ b/dwm-6.2/themes/blue @@ -92,7 +92,7 @@ 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("qutebrowser") }, + { MODKEY|ShiftMask, XK_f, spawn, SHCMD("falkon") }, { MODKEY|ShiftMask, XK_h, spawn, SHCMD("st htop") }, { MODKEY|ShiftMask, XK_b, spawn, SHCMD("~/.local/bin/brighter") }, { MODKEY|ShiftMask, XK_l, spawn, SHCMD("~/.local/bin/darker") }, diff --git a/dwm-6.2/themes/green b/dwm-6.2/themes/green index bdb4ba7..7101bbf 100644 --- a/dwm-6.2/themes/green +++ b/dwm-6.2/themes/green @@ -92,7 +92,7 @@ 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("qutebrowser") }, + { 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") }, diff --git a/dwm-6.2/themes/red b/dwm-6.2/themes/red index f300eed..124afc0 100644 --- a/dwm-6.2/themes/red +++ b/dwm-6.2/themes/red @@ -92,7 +92,7 @@ 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("qutebrowser") }, + { 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_d, spawn, SHCMD("~/.local/bin/vol_down") }, diff --git a/install.sh b/install.sh index 7c97891..9d674c6 100755 --- a/install.sh +++ b/install.sh @@ -6,12 +6,11 @@ dmenu="dmenu-5.0" st="st-0.8.2" dwmblocks="dwmblocks" paleofetch="paleofetch" -theme='green' echo "Welcome to the sarc installer!" rm log.txt - sudo pacman -Sy --needed adobe-source-code-pro-fonts xorg xorg-xinit light picom feh dunst pulseaudio + sudo pacman -Sy --needed adobe-source-code-pro-fonts falkon xorg xorg-xinit light picom feh dunst pulseaudio cd dwm-6.2 diff --git a/log.txt b/log.txt new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3