mirror of
https://gitlab.com/linuxstuff/dotfiles.git
synced 2026-06-20 04:30:53 +02:00
added support for secondary monitor
This commit is contained in:
@@ -6,9 +6,10 @@ autostart() {
|
|||||||
run "xmodmap" "$HOME/.Xmodmap"
|
run "xmodmap" "$HOME/.Xmodmap"
|
||||||
|
|
||||||
# Display
|
# Display
|
||||||
|
run "sh ~/.screenlayout/dual.sh"
|
||||||
run "nvidia-settings --load-config-only"
|
run "nvidia-settings --load-config-only"
|
||||||
run "dunst"
|
run "dunst"
|
||||||
run "picom"
|
run "picom -b"
|
||||||
run "zsh $HOME/.config/polybar/launch.sh"
|
run "zsh $HOME/.config/polybar/launch.sh"
|
||||||
run "nitrogen --restore"
|
run "nitrogen --restore"
|
||||||
run "unclutter --timeout 5 --jitter 5 --ignore-scrolling"
|
run "unclutter --timeout 5 --jitter 5 --ignore-scrolling"
|
||||||
|
|||||||
+5
-5
@@ -292,11 +292,11 @@ bindsym $mod+Ctrl+o exec --no-startup-id "sh ~/.config/polybar/launch.sh"
|
|||||||
bindsym $mod+Escape mode "$mode_system"
|
bindsym $mod+Escape mode "$mode_system"
|
||||||
set $mode_system | [s]hutdown , [r]eboot , [p]owersave , [h]ibernate , [l]ock , [e]xit
|
set $mode_system | [s]hutdown , [r]eboot , [p]owersave , [h]ibernate , [l]ock , [e]xit
|
||||||
mode "$mode_system" {
|
mode "$mode_system" {
|
||||||
bindsym s exec --no-startup-id ~/Scripts/Display/glitchlock/glitchlock.sh shutdown, mode "default"
|
bindsym s exec --no-startup-id bash ~/Scripts/Display/glitchlock/glitchlock.sh shutdown, mode "default"
|
||||||
bindsym r exec --no-startup-id ~/Scripts/Display/glitchlock/glitchlock.sh reboot, mode "default"
|
bindsym r exec --no-startup-id bash ~/Scripts/Display/glitchlock/glitchlock.sh reboot, mode "default"
|
||||||
bindsym p exec --no-startup-id ~/Scripts/Display/glitchlock/glitchlock.sh suspend, mode "default"
|
bindsym p exec --no-startup-id bash ~/Scripts/Display/glitchlock/glitchlock.sh suspend, mode "default"
|
||||||
bindsym h exec --no-startup-id ~/Scripts/Display/glitchlock/glitchlock.sh hibernate, mode "default"
|
bindsym h exec --no-startup-id bash ~/Scripts/Display/glitchlock/glitchlock.sh hibernate, mode "default"
|
||||||
bindsym l exec --no-startup-id ~/Scripts/Display/glitchlock/glitchlock.sh lock, mode "default"
|
bindsym l exec --no-startup-id bash ~/Scripts/Display/glitchlock/glitchlock.sh lock, mode "default"
|
||||||
bindsym e exit, mode "default"
|
bindsym e exit, mode "default"
|
||||||
|
|
||||||
# exit system mode: "Enter" or "Escape"
|
# exit system mode: "Enter" or "Escape"
|
||||||
|
|||||||
@@ -17,3 +17,7 @@ modules-left = disk_short_pc checkupdates ovpn nvpn eth_pc
|
|||||||
[bar/floating_wm]
|
[bar/floating_wm]
|
||||||
inherit="bar/base_floating_wm"
|
inherit="bar/base_floating_wm"
|
||||||
monitor = ${env:MONITOR:DP-4}
|
monitor = ${env:MONITOR:DP-4}
|
||||||
|
|
||||||
|
[bar/floating_wm_secondary]
|
||||||
|
inherit="bar/base_floating_wm"
|
||||||
|
monitor = ${env:MONITOR:HDMI-0}
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ bash ~/.config/polybar/config-merge/config-merge.sh ~/.config/polybar/config
|
|||||||
#
|
#
|
||||||
polybar floating -r -l warning &
|
polybar floating -r -l warning &
|
||||||
polybar floating_wm -r -l warning &
|
polybar floating_wm -r -l warning &
|
||||||
|
polybar floating_wm_secondary -r -l warning &
|
||||||
polybar floating_popup -r -l warning &
|
polybar floating_popup -r -l warning &
|
||||||
#
|
#
|
||||||
#polybar pc_vnc_landscape -r -l warning &
|
#polybar pc_vnc_landscape -r -l warning &
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
configuration {
|
configuration {
|
||||||
theme: "~/.config/rofi/rofi.rasi";
|
/*theme: "~/.config/rofi/rofi.rasi";*/
|
||||||
|
|
||||||
/* modi: "window,run,ssh";*/
|
/* modi: "window,run,ssh";*/
|
||||||
/* width: 50;*/
|
/* width: 50;*/
|
||||||
@@ -148,4 +148,6 @@ configuration {
|
|||||||
/* me-select-entry: "MousePrimary";*/
|
/* me-select-entry: "MousePrimary";*/
|
||||||
/* me-accept-entry: "MouseDPrimary";*/
|
/* me-accept-entry: "MouseDPrimary";*/
|
||||||
/* me-accept-custom: "Control+MouseDPrimary";*/
|
/* me-accept-custom: "Control+MouseDPrimary";*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@theme "~/.config/rofi/rofi.rasi"
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
# Dependencies: "rofi-greenclip"
|
|
||||||
|
|
||||||
[Unit]
|
|
||||||
Description=Greenclip daemon
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/greenclip daemon
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=default.target
|
|
||||||
Executable
+2
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-0 --mode 1600x1200 --pos 1920x0 --rotate normal --output DP-4 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-5 --off
|
||||||
Reference in New Issue
Block a user