From 5c8bfa72a0b60d57ca7ddef97959d3a6aadb7f8c Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 31 Dec 2022 17:35:48 +0100 Subject: [PATCH] screen change --- home/.config/awesome/ui/sidebar/init.lua | 8 ++++---- home/.xprofile | 4 ++-- themes/sddm/scripts/Xsetup | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/home/.config/awesome/ui/sidebar/init.lua b/home/.config/awesome/ui/sidebar/init.lua index f0807b5..485159c 100644 --- a/home/.config/awesome/ui/sidebar/init.lua +++ b/home/.config/awesome/ui/sidebar/init.lua @@ -132,12 +132,12 @@ sidebar.timer = gears.timer { -- Toggle function sidebar.toggle = function(s) if sidebar.visible then - --slide.target = awful.screen.focused().geometry.x - sidebar.width - slide.target = awful.screen.focused().geometry.x + sidebar.width + slide.target = awful.screen.focused().geometry.x - sidebar.width + --slide.target = awful.screen.focused().geometry.x + sidebar.width sidebar.timer:start() else - --slide.target = awful.screen.focused().geometry.x + dpi(10) - slide.target = awful.screen.focused().geometry.x - dpi(195) + slide.target = awful.screen.focused().geometry.x + dpi(10) + --slide.target = awful.screen.focused().geometry.x - dpi(195) sidebar.visible = not sidebar.visible end end diff --git a/home/.xprofile b/home/.xprofile index 8b80658..dfdb940 100644 --- a/home/.xprofile +++ b/home/.xprofile @@ -4,8 +4,8 @@ #killall -9 xcompmgr dunst picom dwmbar # Screen With Xrandr: -xrandr --output eDP-1 --mode 1366x768 --pos 0x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 1366x0 --rotate normal & -#xrandr --output eDP-1 --mode 1366x768 --pos 1600x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 0x0 --rotate normal & +#xrandr --output eDP-1 --mode 1366x768 --pos 0x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 1366x0 --rotate normal & +xrandr --output eDP-1 --mode 1366x768 --pos 1600x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 0x0 --rotate normal & # Num Lock : #numlockx & diff --git a/themes/sddm/scripts/Xsetup b/themes/sddm/scripts/Xsetup index 8fc6bde..5eefa5e 100755 --- a/themes/sddm/scripts/Xsetup +++ b/themes/sddm/scripts/Xsetup @@ -1,8 +1,8 @@ #!/bin/sh # Xsetup - run as root before the login dialog appears # Screen With Xrandr: -xrandr --output eDP-1 --mode 1366x768 --pos 0x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 1366x0 --rotate normal & -#xrandr --output eDP-1 --mode 1366x768 --pos 1600x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 0x0 --rotate normal & +#xrandr --output eDP-1 --mode 1366x768 --pos 0x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 1366x0 --rotate normal & +xrandr --output eDP-1 --mode 1366x768 --pos 1600x132 --rotate normal --output HDMI-1 --primary --mode 1600x900 --pos 0x0 --rotate normal & # Keybord Layout : setxkbmap -layout fr,dz -variant ,ar -option grp:alt_shift_toggle