From 728100d2e98b63ef69a2683464ad54aaaeb565ea Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Wed, 30 May 2018 23:42:54 +0200 Subject: [PATCH] New workspaces, no border and explorer bindings for i3 --- .config/i3/config | 17 ++++++++++++++--- .config/i3/lock/lock.sh | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 3 deletions(-) create mode 100755 .config/i3/lock/lock.sh diff --git a/.config/i3/config b/.config/i3/config index 04e7f71..b5726a0 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -93,8 +93,8 @@ bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" -# all windows (except non-float) have a 1px border -new_window pixel 1 +# no border nor title +new_window none # hide borders when touching edges hide_edge_borders both @@ -126,6 +126,9 @@ bindsym $mod+r mode "resize" #put workspace 1 on main screen workspace 1 output DVI-D-0 +workspace 2 output HDMI-0 +workspace 3 output HDMI-0 +workspace 4 output DVI-D-0 #start compositor exec --no-startup-id compton @@ -156,6 +159,9 @@ bindsym $mod+Shift+l exec --no-startup-id $Locker && echo mem > /sys/power/state exec_always --no-startup-id xset dpms 600 exec_always --no-startup-id xautolock -time 9 -locker $Locker +#Notifications +exec_always --no-startup-id dunst + #i3 gaps gaps inner 10 gaps outer 0 @@ -165,4 +171,9 @@ smart_gaps on bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set 'Master' 5%+ bindsym XF86AudioLowerVolume exec --no-startup-id amixer set 'Master' 5%- bindsym XF86AudioMute exec --no-startup-id amixer set 'Master' toggle -bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause \ No newline at end of file +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause + +#Open explorer without last tabs +bindsym Mod4+e exec spacefm -n +#Open explorer with last tabs (sym to Ctrl+T, Ctrl+Maj+T) +bindsym Mod4+Shift+e exec spacefm diff --git a/.config/i3/lock/lock.sh b/.config/i3/lock/lock.sh new file mode 100755 index 0000000..ab3e2ba --- /dev/null +++ b/.config/i3/lock/lock.sh @@ -0,0 +1,41 @@ +#!/bin/sh + +B='#00000000' # blank +C='#50343444' # clear ish +D='#e6b790ff' # default +T='#a55f41bb' # text +W='#b7a56cff ' # wrong +V='#bb00bbbb' # verifying +I='#fceac655' # inside circle + +i3lock \ +--insidevercolor=$I \ +--ringvercolor=$D \ +\ +--insidewrongcolor=$I \ +--ringwrongcolor=$D \ +\ +--insidecolor=$I \ +--ringcolor=$D \ +--linecolor=$B \ +--separatorcolor=$D \ +\ +--verifcolor=$T \ +--wrongcolor=$T \ +--timecolor=$T \ +--datecolor=$T \ +--layoutcolor=$T \ +--keyhlcolor=$C \ +--bshlcolor=$C \ +\ +--screen 1 \ +--blur 10 \ +--clock \ +--indicator \ +--timestr="%H:%M:%S" \ +\ +--veriftext="Chosto ?" \ +--wrongtext="LEURRE" \ +--modsize=10 \ +--radius=110 \ +--noinputtext="OH DIS DONC" \ \ No newline at end of file