1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-22 08:21:27 +00:00

some little updates

This commit is contained in:
Horhik 2020-12-04 22:24:19 +02:00
parent 801abac2d5
commit f8b480c55a
7 changed files with 14 additions and 12 deletions

View file

@ -74,8 +74,8 @@ static const Rule rules[] = {
{ "spotify", NULL, NULL, 7 , 0, -1, 0 }, { "spotify", NULL, NULL, 7 , 0, -1, 0 },
{ NULL, NULL, "scratchpad", 0, 1, -1, 's' }, { NULL, NULL, "scratchpad", 0, 1, -1, 's' },
{ NULL, NULL, "sp_volume", 0, 1, -1, 'v' }, { NULL, NULL, "sp_volume", 0, 1, -1, 'v' },
{ NULL, NULL, "Go For It!", 0, 1, -1, 't' },
{ NULL, NULL, "ScratchEmacs", 0, 1, -1, 'e' }, { NULL, NULL, "ScratchEmacs", 0, 1, -1, 'e' },
{ "Evolution", NULL, "Tasks - Evolution", 0, 1, -1, 't' },
{ NULL, NULL, "Task - No Summary", 0, 1, -1, 0 } { NULL, NULL, "Task - No Summary", 0, 1, -1, 0 }
}; };
// default gaps // default gaps
@ -112,7 +112,7 @@ static const char *flameshot[] = { "flameshot","gui", NULL };
static const char *scratchpadcmd[] = {"s", "alacritty", "-t", "scratchpad", NULL}; static const char *scratchpadcmd[] = {"s", "alacritty", "-t", "scratchpad", NULL};
static const char *sp_emacs[] = {"e", "emacs", "-T", "ScratchEmacs", NULL}; static const char *sp_emacs[] = {"e", "emacs", "-T", "ScratchEmacs", NULL};
static const char *sp_volume_control[] = {"v","alacritty", "-t", "sp_volume","-e", "pulsemixer", NULL}; static const char *sp_volume_control[] = {"v","alacritty", "-t", "sp_volume","-e", "pulsemixer", NULL};
static const char *tasks[] = {"t","evolution", NULL}; static const char *tasks[] = {"t","go-for-it", NULL};
static Key keys[] = { static Key keys[] = {
/* modifier key function argument */ /* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY, XK_p, spawn, {.v = dmenucmd } },
@ -163,7 +163,7 @@ static Key keys[] = {
{ MODKEY, XK_u, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_u, togglescratch, {.v = scratchpadcmd } },
{ MODKEY|ShiftMask, XK_m, togglescratch, {.v = sp_volume_control } }, { MODKEY|ShiftMask, XK_m, togglescratch, {.v = sp_volume_control } },
{ MODKEY, XK_e, togglescratch, {.v = sp_emacs } }, { MODKEY, XK_e, togglescratch, {.v = sp_emacs } },
{ MODKEY, XK_t, togglescratch, {.v = tasks } }, { MODKEY|ShiftMask, XK_d, togglescratch, {.v = tasks } },
{ MODKEY, XK_n, togglealttag, {0} }, { MODKEY, XK_n, togglealttag, {0} },
TAGKEYS( XK_1, 0) TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1) TAGKEYS( XK_2, 1)

View file

@ -74,8 +74,8 @@ static const Rule rules[] = {
{ "spotify", NULL, NULL, 7 , 0, -1, 0 }, { "spotify", NULL, NULL, 7 , 0, -1, 0 },
{ NULL, NULL, "scratchpad", 0, 1, -1, 's' }, { NULL, NULL, "scratchpad", 0, 1, -1, 's' },
{ NULL, NULL, "sp_volume", 0, 1, -1, 'v' }, { NULL, NULL, "sp_volume", 0, 1, -1, 'v' },
{ NULL, NULL, "Go For It!", 0, 1, -1, 't' },
{ NULL, NULL, "ScratchEmacs", 0, 1, -1, 'e' }, { NULL, NULL, "ScratchEmacs", 0, 1, -1, 'e' },
{ "Evolution", NULL, "Tasks - Evolution", 0, 1, -1, 't' },
{ NULL, NULL, "Task - No Summary", 0, 1, -1, 0 } { NULL, NULL, "Task - No Summary", 0, 1, -1, 0 }
}; };
// default gaps // default gaps
@ -112,7 +112,7 @@ static const char *flameshot[] = { "flameshot","gui", NULL };
static const char *scratchpadcmd[] = {"s", "alacritty", "-t", "scratchpad", NULL}; static const char *scratchpadcmd[] = {"s", "alacritty", "-t", "scratchpad", NULL};
static const char *sp_emacs[] = {"e", "emacs", "-T", "ScratchEmacs", NULL}; static const char *sp_emacs[] = {"e", "emacs", "-T", "ScratchEmacs", NULL};
static const char *sp_volume_control[] = {"v","alacritty", "-t", "sp_volume","-e", "pulsemixer", NULL}; static const char *sp_volume_control[] = {"v","alacritty", "-t", "sp_volume","-e", "pulsemixer", NULL};
static const char *tasks[] = {"t","evolution", NULL}; static const char *tasks[] = {"t","go-for-it", NULL};
static Key keys[] = { static Key keys[] = {
/* modifier key function argument */ /* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY, XK_p, spawn, {.v = dmenucmd } },
@ -163,7 +163,7 @@ static Key keys[] = {
{ MODKEY, XK_u, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_u, togglescratch, {.v = scratchpadcmd } },
{ MODKEY|ShiftMask, XK_m, togglescratch, {.v = sp_volume_control } }, { MODKEY|ShiftMask, XK_m, togglescratch, {.v = sp_volume_control } },
{ MODKEY, XK_e, togglescratch, {.v = sp_emacs } }, { MODKEY, XK_e, togglescratch, {.v = sp_emacs } },
{ MODKEY, XK_t, togglescratch, {.v = tasks } }, { MODKEY|ShiftMask, XK_d, togglescratch, {.v = tasks } },
{ MODKEY, XK_n, togglealttag, {0} }, { MODKEY, XK_n, togglealttag, {0} },
TAGKEYS( XK_1, 0) TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1) TAGKEYS( XK_2, 1)

Binary file not shown.

Binary file not shown.

View file

@ -2,10 +2,10 @@
LocationMode=path-bar LocationMode=path-bar
ShowHidden=false ShowHidden=false
ShowSizeColumn=true ShowSizeColumn=true
GeometryX=352 GeometryX=0
GeometryY=1198 GeometryY=0
GeometryWidth=1128 GeometryWidth=1128
GeometryHeight=811 GeometryHeight=811
SortColumn=name SortColumn=modified
SortOrder=ascending SortOrder=ascending
StartupMode=recent StartupMode=recent

View file

@ -8,7 +8,8 @@ rounded-corners-exclude = [
rounded-corners-rule = [ rounded-corners-rule = [
"5:class_g = 'Dunst'", "5:class_g = 'Dunst'",
"class_g *= 'awesome'" "0:class_g = 'awesome'"
"15:class_g = 'Go-for-it'"
]; ];
corner-radius = 4; corner-radius = 4;
@ -21,7 +22,7 @@ round-borders-rule = [
"3:class_g = 'URxvt'", "3:class_g = 'URxvt'",
"3:class_g = 'Alacritty'", "3:class_g = 'Alacritty'",
"5:class_g = 'Dunst'", "5:class_g = 'Dunst'",
"15:class_g = 'Signal'" "15:class_g = 'Signal'",
]; ];
shadow = true; shadow = true;
shadow-radius = 10; shadow-radius = 10;
@ -55,6 +56,7 @@ opacity-rule = [
#"55:name *= 'cava'", #"55:name *= 'cava'",
#"55:class_g *= 'cava'", #"55:class_g *= 'cava'",
"85:class_g *= 'Anki'", "85:class_g *= 'Anki'",
"85:class_g *= 'Go-for-it'",
"95:class_g *= 'notion'", "95:class_g *= 'notion'",
"95:class_g = 'Emacs'", "95:class_g = 'Emacs'",
"90:class_g *= 'Alacritty'", "90:class_g *= 'Alacritty'",

View file

@ -71,7 +71,7 @@ ZSH_THEME="cloud"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=(git) plugins=(git colorize colored-man-pages emoji rustup sudo)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh