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({ "}"}),
|
||||
}),
|
||||
s("ii", {
|
||||
t({ "\\textit{" }),
|
||||
t({ "\\emph{" }),
|
||||
i(1),
|
||||
t({ "}"}),
|
||||
}),
|
||||
@ -119,7 +119,7 @@ ls.add_snippets("tex", {
|
||||
i(1),
|
||||
t({ "}"}),
|
||||
}),
|
||||
s("fsc", {
|
||||
s("sc", {
|
||||
t({ "\\textsc{" }),
|
||||
i(1),
|
||||
t({ "}"}),
|
||||
|
@ -30,7 +30,7 @@ super + BackSpace
|
||||
slock
|
||||
|
||||
super + shift + d
|
||||
displayselect
|
||||
displayselect && kill -1 $(pidof dwm)
|
||||
|
||||
super + F9
|
||||
kbacklight
|
||||
@ -41,8 +41,8 @@ super + shift + o
|
||||
super + c
|
||||
switch-colors && kill -1 $(pidof dwm)
|
||||
|
||||
super + alt + c
|
||||
switch-colors -s
|
||||
super + shift + c
|
||||
switch-colors -s && kill -1 $(pidof dwm)
|
||||
|
||||
# Others
|
||||
super + Return
|
||||
|
@ -54,7 +54,7 @@ default() {
|
||||
|
||||
external() {
|
||||
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:")
|
||||
xrandr --output $primary --primary && default
|
||||
}
|
||||
|
Reference in New Issue
Block a user