Compare commits

...

3 Commits

4 changed files with 76 additions and 73 deletions

View File

@ -5,3 +5,5 @@ xrandr --output DP-0 --primary
xrandr --output DP-2 --left-of DP-0 xrandr --output DP-2 --left-of DP-0
xrandr --output DP-1-3 --right-of DP-0 xrandr --output DP-1-3 --right-of DP-0
xinput --set-prop 11 "libinput Accel Profile Enabled" 0, 1, 0
xinput --set-prop 11 "libinput Accel Speed" 0.4

View File

@ -0,0 +1,50 @@
# ~/.config/betterlockscreenrc
# default options
display_on=0
span_image=false
lock_timeout=300
fx_list=(dim blur dimblur pixel dimpixel color)
dim_level=40
blur_level=1
pixel_scale=10,1000
solid_color=333333
wallpaper_cmd="feh --bg-fill"
quiet=false
# default theme
loginbox=00000066
loginshadow=00000000
locktext="Taper votre mot de passe..."
font="FiraCode Nerd Font Mono"
ringcolor=ffffffff
insidecolor=00000000
separatorcolor=00000000
ringvercolor=ffffffff
insidevercolor=00000000
ringwrongcolor=ffffffff
insidewrongcolor=d23c3dff
timecolor=ffffffff
time_format="%H:%M:%S"
greetercolor=ffffffff
layoutcolor=ffffffff
keyhlcolor=d23c3dff
bshlcolor=d23c3dff
veriftext="Vérification..."
verifcolor=ffffffff
wrongtext="Mot de passe incorrect !"
wrongcolor=d23c3dff
modifcolor=d23c3dff
bgcolor=000000ff
#
# expert options (change at own risk!)
#
# i3lockcolor_bin="i3lock-color" # Manually set command for i3lock-color
# suspend_command="systemctl suspend" # Manually change action e.g. hibernate/suspend-command
# i3lock-color - custom arguments
# lockargs=() # overwriting default "(-n)"
# lockargs+=(--ignore-empty-password) # appending new argument

View File

@ -175,7 +175,9 @@ bindsym $mod+Shift+0 move container to workspace number $ws10
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
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'" 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'"
bindsym $mod+l exec betterlockscreen -l dimblur --display 1 --off 10
bindsym $mod+r mode "resize"
mode "resize" { mode "resize" {
bindsym Left resize shrink width 10 px or 10 ppt bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt bindsym Down resize grow height 10 px or 10 ppt
@ -187,7 +189,8 @@ mode "resize" {
bindsym $mod+r mode "default" bindsym $mod+r mode "default"
} }
bindsym $mod+r mode "resize"
#exec --no-startup-id xautolock -time 10 -locker "betterlockscreen -l dimblur --display 1 --off 10" -notify 30 -notifier "notify-send -u critical -t 10000 -- 'LOCKING screen in 30 seconds'"
exec --no-startup-id ~/.config/i3/startup_apps.sh exec --no-startup-id ~/.config/i3/startup_apps.sh
exec --no-startup-id deadd-notification-center exec --no-startup-id deadd-notification-center

View File

@ -34,8 +34,10 @@
"false": "p:red" "false": "p:red"
}, },
"transient_prompt": { "transient_prompt": {
"foreground": "p:text", "foreground": "p:text",
"template": "{{ now | date \"15:04:05\" }} {{ if gt .Code 0 }}<p:false></>{{ else }}<p:true>\u276f</>{{ end }} " "template": "{{ .PWD }} {{ now | date \"15:04:05\" }} {{ if gt .Code 0 }}<p:false></>{{ else }}<p:true></>{{ end }} "
}, },
"blocks": [ "blocks": [
{ {
@ -137,87 +139,33 @@
"type": "python" "type": "python"
}, },
{ {
"background": "#AE1401", "background": "p:yellow",
"foreground": "#ffffff", "foreground": "p:text",
"invert_powerline": true, "invert_powerline": true,
"powerline_symbol": "\ue0b2", "powerline_symbol": "",
"properties": { "style": "accordion",
"display_mode": "files", "template": "  ",
"fetch_version": true
},
"style": "powerline",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue791 ",
"type": "ruby"
},
{
"background": "#FEAC19",
"foreground": "#ffffff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
"display_mode": "files",
"fetch_version": false
},
"style": "powerline",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \uf0e7",
"type": "azfunc"
},
{
"background_templates": [
"{{if contains \"default\" .Profile}}#FFA400{{end}}",
"{{if contains \"jan\" .Profile}}#f1184c{{end}}"
],
"foreground": "#ffffff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
"display_default": false
},
"style": "powerline",
"template": " {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} \ue7ad ",
"type": "aws"
},
{
"background": "#ffff66",
"foreground": "#111111",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"style": "powerline",
"template": " \uf0ad ",
"type": "root" "type": "root"
}, },
{ {
"background": "#c4a000", "background": "p:surface0",
"foreground": "#000000",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"style": "powerline",
"template": " {{ .FormattedMs }} \uf252 ",
"type": "executiontime"
},
{
"background": "#000000",
"background_templates": [ "background_templates": [
"{{ if gt .Code 0 }}#cc2222{{ end }}" "{{ if gt .Code 0 }}p:red{{ end }}"
],
"foreground": "p:text",
"foreground_templates": [
"{{ if gt .Code 0 }}p:surface0{{ end }}"
], ],
"foreground": "#d3d7cf",
"invert_powerline": true, "invert_powerline": true,
"powerline_symbol": "\ue0b2", "powerline_symbol": "",
"properties": { "properties": {
"always_enabled": true "always_enabled": true
}, },
"style": "powerline",
"template": " {{ if gt .Code 0 }}{{ reason .Code }}{{ else }}\uf42e{{ end }} ",
"type": "status"
},
{
"background": "#d3d7cf",
"foreground": "#000000",
"invert_powerline": true,
"style": "diamond", "style": "diamond",
"template": " {{ .CurrentDate | date .Format }} \uf017 ", "template": " {{ if gt .Code 0 }}{{ reason .Code }}{{ else }}{{ end }} ",
"trailing_diamond": "", "type": "status",
"type": "time" "trailing_diamond": ""
} }
], ],
"type": "prompt" "type": "prompt"
@ -227,7 +175,7 @@
"newline": true, "newline": true,
"segments": [ "segments": [
{ {
"foreground": "#d3d7cf", "foreground": "p:text",
"style": "plain", "style": "plain",
"template": "", "template": "",
"type": "text" "type": "text"