This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.globl _start | |
_start: | |
# logical operations | |
mov $0, %rax | |
mov $1, %rbx | |
and %rbx, %rax | |
# rax is now 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(W)[09:01:15]{config.c:297} Config file /home/finkrer/.config/clight.conf not found. | |
Clight | |
* Software version: 4.1 | |
* Global config dir: /etc/default | |
* Global data dir: /usr/share/clight | |
* Starting time: Thu Jul 9 09:01:15 2020 | |
Starting options: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import dbus | |
import subprocess | |
from gi.repository import GLib | |
from dbus.mainloop.glib import DBusGMainLoop | |
night_mode = False | |
backlight_threshold = 0.3 |