Skip to content

Instantly share code, notes, and snippets.

View nwg-piotr's full-sized avatar
🏠
~/, sweet ~/

Piotr Miller nwg-piotr

🏠
~/, sweet ~/
View GitHub Profile
Build started at 2020-11-08T20:06:43.595841
Main binary: /usr/bin/python
Build Options: -Dprefix=/opt/wayfire
Python system: Linux
The Meson build system
Version: 0.56.0
Source dir: /home/piotr/Clones/wf-install/wf-shell
Build dir: /home/piotr/Clones/wf-install/wf-shell/build
Build type: native build
Project name: wf-shell
$ wcm
II 08-11-20 20:59:09.762 - [subprojects/wf-config/src/file.cpp:445] Reading XML configuration options from directory /opt/wayfire/share/wayfire/metadata
II 08-11-20 20:59:09.762 - [subprojects/wf-config/src/file.cpp:456] Reading XML configuration options from file /opt/wayfire/share/wayfire/metadata/keycolor.xml
II 08-11-20 20:59:09.763 - [subprojects/wf-config/src/file.cpp:456] Reading XML configuration options from file /opt/wayfire/share/wayfire/metadata/simple-tile.xml
II 08-11-20 20:59:09.765 - [subprojects/wf-config/src/file.cpp:456] Reading XML configuration options from file /opt/wayfire/share/wayfire/metadata/grid.xml
II 08-11-20 20:59:09.766 - [subprojects/wf-config/src/file.cpp:456] Reading XML configuration options from file /opt/wayfire/share/wayfire/metadata/scale.xml
II 08-11-20 20:59:09.767 - [subprojects/wf-config/src/file.cpp:456] Reading XML configuration options from file /opt/wayfire/share/wayfire/metadata/idle.xml
II 08-11-20 20:59:09.767 - [subprojects/wf-config/src/file.cpp:456]
@nwg-piotr
nwg-piotr / screenshot
Last active May 11, 2023 22:58
Script for taking screenshots on sway and Hyprland
#!/bin/bash
# Original script based on some early version of https://github.com/moverest/sway-interactive-screenshot
# modified for use with key bindings. For now supports sway & Hyprland.
SWAY=$(echo "$SWAYSOCK")
HYPR=$(echo "$HYPRLAND_INSTANCE_SIGNATURE")
if [[ -n "$SWAY" && -n "$HYPR" ]]; then
echo "This script only works on sway or Hyprland, terminating.";
exit 1