screen settings
This commit is contained in:
@@ -51,7 +51,7 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
|||||||
|
|
||||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
exec --no-startup-id nm-applet
|
# exec --no-startup-id nm-applet
|
||||||
|
|
||||||
# Use pactl to adjust volume in PulseAudio.
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
set $refresh_i3status killall -SIGUSR1 i3status
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
@@ -233,7 +233,9 @@ exec_always feh --bg-fill /$wallpaper_path
|
|||||||
#KEYBINDS
|
#KEYBINDS
|
||||||
bindsym $mod+Shift+z exec i3lock
|
bindsym $mod+Shift+z exec i3lock
|
||||||
bindsym Control+Mod1+s exec /home/wholteza/.config/passmenu/passmenu
|
bindsym Control+Mod1+s exec /home/wholteza/.config/passmenu/passmenu
|
||||||
bindsym $mod+p exec arandr
|
bindsym $mod+Shift+p exec arandr
|
||||||
|
bindsym $mod+p exec /home/wholteza/.config/screenlayout/screenmenu.sh
|
||||||
|
bindsym print exec "scrot -s /home/wholteza/Screenshots/%Y-%m-%d-%T-screenshot.png"
|
||||||
# border / titlebar
|
# border / titlebar
|
||||||
title_align center
|
title_align center
|
||||||
default_border normal
|
default_border normal
|
||||||
@@ -257,12 +259,13 @@ for_window [class="OVPN"] floating enable
|
|||||||
# for_window [class="Feh"] border pixel 0
|
# for_window [class="Feh"] border pixel 0
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "project" {
|
# mode "project" {
|
||||||
bindsym s exec ~/.config/screenlayout/bepis-steamlink.sh
|
# bindsym s exec ~/.config/screenlayout/bepis-steamlink.sh
|
||||||
|
|
||||||
bindsym Return mode "default"
|
# bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
# bindsym Escape mode "default"
|
||||||
bindsym $mod+Shift+p mode "default"
|
# bindsym $mod+Shift+p mode "default"
|
||||||
}
|
# }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bindsym $mod+Shift+p mode "project"
|
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/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