screen settings
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
xrandr --output DVI-I-0 --off --output DVI-I-1 --off --output HDMI-0 --primary --mode 3440x1440 --pos 1440x475 --rotate normal --output DP-0 --mode 2560x1440 --pos 0x0 --rotate left --output DP-1 --off --output DVI-D-0 --off
|
||||
xrandr --output DVI-I-0 --off --output DVI-I-1 --off --output HDMI-0 --primary --mode 3440x1440 --rate 99.99 --pos 1440x475 --rotate normal --output DP-0 --mode 2560x1440 --pos 0x0 --rotate left --output DP-1 --off --output DVI-D-0 --off
|
||||
|
||||
12
.config/screenlayout/screenmenu.sh
Executable file
12
.config/screenlayout/screenmenu.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
prefix=${PASSWORD_STORE_DIR-~/.config/screenlayout}
|
||||
screen_files=( "$prefix"/*.sh )
|
||||
screen_files=( "${screen_files[@]#"$prefix"/}" )
|
||||
screen_files=( "${screen_files[@]%.sh}" )
|
||||
|
||||
screen_file=$(printf '%s\n' "${screen_files[@]}" | rofi -dmenu -theme nord -font 'pango:monospace 18'"$@")
|
||||
|
||||
[[ -n $screen_file ]] || exit
|
||||
|
||||
$("${prefix}/${screen_file}.sh")
|
||||
|
||||
Reference in New Issue
Block a user