Merge branch 'dev' into venus
nvim: fix tex snippets system: use $internal in displayselect reset dwm after switching colors or display layout
This commit is contained in:
commit
621ad66900
@ -110,7 +110,7 @@ ls.add_snippets("tex", {
|
|||||||
t({ "}"}),
|
t({ "}"}),
|
||||||
}),
|
}),
|
||||||
s("ii", {
|
s("ii", {
|
||||||
t({ "\\textit{" }),
|
t({ "\\emph{" }),
|
||||||
i(1),
|
i(1),
|
||||||
t({ "}"}),
|
t({ "}"}),
|
||||||
}),
|
}),
|
||||||
@ -119,7 +119,7 @@ ls.add_snippets("tex", {
|
|||||||
i(1),
|
i(1),
|
||||||
t({ "}"}),
|
t({ "}"}),
|
||||||
}),
|
}),
|
||||||
s("fsc", {
|
s("sc", {
|
||||||
t({ "\\textsc{" }),
|
t({ "\\textsc{" }),
|
||||||
i(1),
|
i(1),
|
||||||
t({ "}"}),
|
t({ "}"}),
|
||||||
|
@ -30,7 +30,7 @@ super + BackSpace
|
|||||||
slock
|
slock
|
||||||
|
|
||||||
super + shift + d
|
super + shift + d
|
||||||
displayselect
|
displayselect && kill -1 $(pidof dwm)
|
||||||
|
|
||||||
super + F9
|
super + F9
|
||||||
kbacklight
|
kbacklight
|
||||||
@ -41,8 +41,8 @@ super + shift + o
|
|||||||
super + c
|
super + c
|
||||||
switch-colors && kill -1 $(pidof dwm)
|
switch-colors && kill -1 $(pidof dwm)
|
||||||
|
|
||||||
super + alt + c
|
super + shift + c
|
||||||
switch-colors -s
|
switch-colors -s && kill -1 $(pidof dwm)
|
||||||
|
|
||||||
# Others
|
# Others
|
||||||
super + Return
|
super + Return
|
||||||
|
@ -54,7 +54,7 @@ default() {
|
|||||||
|
|
||||||
external() {
|
external() {
|
||||||
internal=$(echo "$screens" | dmenu -i -p "Select internal display:")
|
internal=$(echo "$screens" | dmenu -i -p "Select internal display:")
|
||||||
screens=$(echo "$screens" | grep -v -w "eDP-1")
|
screens=$(echo "$screens" | grep -v -w "$internal")
|
||||||
primary=$(echo "$screens" | dmenu -i -p "Select primary display:")
|
primary=$(echo "$screens" | dmenu -i -p "Select primary display:")
|
||||||
xrandr --output $primary --primary && default
|
xrandr --output $primary --primary && default
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user