add virus scan popup binding

master
histausse 2 years ago
parent 4fd296e840
commit ebd402f197
Signed by: histausse
GPG Key ID: 67486F107F62E9E9

@ -0,0 +1,57 @@
env:
TERM: "xterm-256color"
shell:
program: /usr/bin/bash
# Font configuration (changes require restart)
font:
# The size to use.
size: 8
normal:
family: Comic Mono
style: Regular
# The bold font face
bold:
family: Comic Mono
style: Bold
# The italic font face
italic:
family: Comic Mono
window:
opacity: 0.5
dimensions:
columns: 75
lines: 20
# Colors (Tomorrow Night Bright)
colors:
# Default colors
primary:
background: '0x770000'
foreground: '0xeaeaea'
# Normal colors
normal:
black: '0x000000'
red: '0xd54e53'
green: '0xb9ca4a'
yellow: '0xe6c547'
blue: '0x7aa6da'
magenta: '0xc397d8'
cyan: '0x70c0ba'
white: '0x424242'
# Bright colors
bright:
black: '0x666666'
red: '0xff3334'
green: '0x9ec400'
yellow: '0xe7c547'
blue: '0x7aa6da'
magenta: '0xb77ee0'
cyan: '0x54ced6'
white: '0x2a2a2a'

@ -228,7 +228,7 @@ default_border pixel
# Lock screen
bindsym $mod+Ctrl+l exec --no-startup-id "sh ~/.config/i3/lock.sh # && xset dpms force off"
bindsym $mod+Shift+v exec --no-startup-id "sh ~/.config/i3/lock.sh && echo mem > /sys/power/state"
# bindsym $mod+Shift+v exec --no-startup-id "sh ~/.config/i3/lock.sh && echo mem > /sys/power/state"
# Screen shot
bindsym Print exec --no-startup-id "spectacle -r"
@ -259,6 +259,10 @@ bindsym $mod+w exec --no-startup-id "feh --no-fehbg --bg-fill --randomize ~/.con
# Dolphin
#bindsym $mod+Tab exec --no-startup-id dolphin
# Run a virus scan on the Downloads folder
bindsym $mod+Shift+v exec --no-startup-id alacritty --hold --config-file ~/.config/alacritty/popup.yml --class floating -e clamscan --recursive ~/Downloads
for_window [instance="floating"] floating enabled
for_window [class="kronometer"] floating enable
for_window [title="^Android Emulator - .*"] floating enable

Loading…
Cancel
Save