shell: alias mon: monitor select mode
This commit is contained in:
1 parent
26586f9283
commit
5798ef0cb3
1 file changed
+6
@@ -18,6 +18,12 @@ alias nocaps='setxkbmap pl -option ctrl:nocaps'
|
|||||||
alias fixdp='xrandr --output DP-0 --right-of DP-2'
|
alias fixdp='xrandr --output DP-0 --right-of DP-2'
|
||||||
alias a4='COLORTERM=truecolor TERM=xterm-256color a4'
|
alias a4='COLORTERM=truecolor TERM=xterm-256color a4'
|
||||||
|
|
||||||
|
mon() {
|
||||||
|
local mon=$(KFF_DEFAULT_COMMAND='xrandr --listmonitors | tail +2' kff | awk '{print $NF}')
|
||||||
|
local res=$(KFF_DEFAULT_COMMAND='echo "1920x1080\n2560x1440\n3840x2160"' kff)
|
||||||
|
xrandr --output "$mon" --mode "$res" --auto
|
||||||
|
}
|
||||||
|
|
||||||
zzz() {
|
zzz() {
|
||||||
sudo echo
|
sudo echo
|
||||||
if [[ -n "$WAYLAND_DISPLAY" ]]; then
|
if [[ -n "$WAYLAND_DISPLAY" ]]; then
|
||||||
|
|||||||
Reference in new issue
Block a user