You are not logged in.

#1 2019-12-25 20:25:31

ArchLinuxSU
Member
Registered: 2019-10-09
Posts: 13

I can not assign a script to a hotkey

Hello. Problem:

bindsym Print exec ~/custom_bash/hotkeys_bash/PrintScreen.sh

from ~/.config/i3/config does nothing. (implies taking a screenshot) Running the script from the console works without errors. Content ~/custom_bash/hotkeys_bash/PrintScreen.sh:

#!/bin/bash

# Take a screenshot
import -window root ~/Pictures/Screenshots/$(date +%F-%M-%S).png

Thanks for the answer.

Offline

Board footer

Powered by FluxBB