New idea for filemanager.
This commit is contained in:
parent
e8e3f831ae
commit
46ad37b0f3
@ -4,7 +4,7 @@
|
||||
mkdir -p ~/.config ~/.local/settings
|
||||
|
||||
# link config
|
||||
for i in clipit dunst fontconfig ranger rofi zathura; do
|
||||
for i in clipit dunst fontconfig rofi zathura; do
|
||||
rm -rf ~/.config/${i}
|
||||
ln -sf ~/.local/repos/dotfiles/_desktop/${i} ~/.config
|
||||
done
|
||||
|
@ -1,2 +0,0 @@
|
||||
set preview_images true
|
||||
set preview_images_method ueberzug
|
@ -32,11 +32,9 @@ typedef struct {
|
||||
const void *cmd;
|
||||
} Sp;
|
||||
const char *spcmd1[] = {"st", "-n", "spterm", "-g", "120x34", NULL };
|
||||
const char *spcmd2[] = {"st", "-n", "spfile", "-g", "144x41", "-e", "ranger", NULL };
|
||||
static Sp scratchpads[] = {
|
||||
/* name cmd */
|
||||
{"spterm", spcmd1},
|
||||
{"spfile", spcmd2},
|
||||
};
|
||||
|
||||
/* tagging */
|
||||
@ -51,12 +49,12 @@ static const Rule rules[] = {
|
||||
{ NULL, NULL, "st", 0, 0, 1, 0, -1 },
|
||||
{ "Chromium-browser", NULL, NULL, 2, 0, 0, 0, -1 },
|
||||
{ "Ferdi" , NULL, NULL, 1 << 2, 0, 0, 0, -1 },
|
||||
{ NULL, "mutt", NULL, 1 << 3, 0, 1, 0, -1 },
|
||||
{ NULL, "mutt", NULL, 1 << 3, 0, 1, 1, -1 },
|
||||
{ NULL, "nnn", NULL, 1 << 4, 0, 1, 1, -1 },
|
||||
{ "Wfica", NULL, NULL, 1 << 9, 0, 0, 0, -1 },
|
||||
{ NULL, NULL, "Citrix Workspace", 1 << 8, 0, 0, 0, -1 },
|
||||
{ NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */
|
||||
{ NULL, "spterm", NULL, SPTAG(0), 1, 1, 0, -1 },
|
||||
{ NULL, "spfile", NULL, SPTAG(1), 1, 1, 0, -1 },
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
@ -106,12 +104,12 @@ static Key keys[] = {
|
||||
/* apps n'shit */
|
||||
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
|
||||
{ MODKEY, XK_space, spawn, SHCMD("rofi -show run -i") },
|
||||
{ MODKEY, XK_f, spawn, SHCMD("st -n nnn -e nnn") },
|
||||
{ MODKEY, XK_i, spawn, SHCMD("scrot --select 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'") },
|
||||
{ SHTKEY, XK_i, spawn, SHCMD("scrot 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'") },
|
||||
{ MODKEY, XK_m, spawn, SHCMD("kill -50 $(pidof dwmblocks)") },
|
||||
{ MODKEY, XK_q, killclient, {0} },
|
||||
{ MODKEY, XK_e, togglescratch, {.ui = 0 } },
|
||||
{ MODKEY, XK_f, togglescratch, {.ui = 1 } },
|
||||
/* service controls */
|
||||
{ CTRKEY, XK_b, spawn, SHCMD("rofi-bluetooth") },
|
||||
{ CTRKEY, XK_d, spawn, SHCMD("rofi_display") },
|
||||
|
Loading…
Reference in New Issue
Block a user