screen change

This commit is contained in:
Luca 2022-12-31 17:35:48 +01:00
parent 64900719ac
commit 5c8bfa72a0
3 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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 &

View file

@ -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