This file contains hidden or 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
| [saivert@fedoravmw ~]$ systemctl --user status pipewire-pulse.socket | |
| ● pipewire-pulse.socket - PipeWire PulseAudio | |
| Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; vendor preset: disabled) | |
| Active: active (running) since Fri 2020-12-04 19:53:35 CET; 14min ago | |
| Triggers: ● pipewire-pulse.service | |
| Listen: /run/user/1001/pulse/native (Stream) | |
| CGroup: /user.slice/user-1001.slice/[email protected]/pipewire-pulse.socket | |
| Dec 04 19:53:35 fedoravmw.saivert.lan systemd[1556]: Listening on PipeWire PulseAudio. | |
| [saivert@fedoravmw ~]$ systemctl --user status pipewire-pulse.service |
This file contains hidden or 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
| $ systemctl --user mask pulseaudio.socket | |
| Created symlink /home/saivert/.config/systemd/user/pulseaudio.socket → /dev/null. | |
| $ systemctl --user enable pipewire.socket pipewire-pulse.socket | |
| Created symlink /home/saivert/.config/systemd/user/sockets.target.wants/pipewire.socket → /usr/lib/systemd/user/pipewire.socket. | |
| Created symlink /home/saivert/.config/systemd/user/sockets.target.wants/pipewire-pulse.socket → /usr/lib/systemd/user/pipewire-pulse.socket. |
This file contains hidden or 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
| struct spa_pod * | |
| makevolumepod() { | |
| char buf[1024]; | |
| struct spa_pod_builder b = SPA_POD_BUILDER_INIT(buf, sizeof(buf)); | |
| struct spa_pod_frame f[1]; | |
| struct spa_pod *pod; | |
| float vol[2]; | |
| vol[0] = vol[1] = .5f; |
This file contains hidden or 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/gjs | |
| imports.gi.versions.Gtk = '3.0'; | |
| const GLib = imports.gi.GLib; | |
| const Gtk = imports.gi.Gtk; | |
| const GSound = imports.gi.GSound; | |
| // We start out with 0 cookies | |
| var cookies = 0; |
This file contains hidden or 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/pwsh | |
| $CLR = "$([char]27)[2K" | |
| $R = ([char]13) | |
| Function LeaveIt { | |
| Write-Host -Nonewline $CLR | |
| Write-Host "Bye!" | |
| exit | |
| } |
This file contains hidden or 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
| // SPDX-License-Identifier: GPL-2.0 | |
| // This is garbage code | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| #include <sys/sysmacros.h> | |
| #include <systemd/sd-bus.h> | |
| static sd_bus * bus; |
This file contains hidden or 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
| // SPDX-License-Identifier: GPL-2.0 | |
| #include <stdio.h> | |
| #include <fcntl.h> | |
| #include <poll.h> | |
| #include <signal.h> | |
| #include <unistd.h> | |
| #include <libudev.h> | |
| #include <libinput.h> | |
| #include <errno.h> | |
| #include <termios.h> |
This file contains hidden or 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
| { | |
| "app-id": "music.deadbeef.player", | |
| "branch": "master", | |
| "runtime": "org.gnome.Platform", | |
| "runtime-version": "3.38", | |
| "sdk": "org.gnome.Sdk", | |
| "command": "deadbeef", | |
| "finish-args": [ | |
| "--share=ipc", | |
| "--socket=x11", |
This file contains hidden or 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
| { | |
| "name": "libdispatch", | |
| "buildsystem": "cmake", | |
| "subdir": "libdispatch", | |
| "build-options": { | |
| "env": { | |
| "CC": "clang", | |
| "CXX": "clang++" | |
| } | |
| }, |
This file contains hidden or 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
| // SPDX-License-Identifier: GPL-2.0 | |
| // Coding style: Linux kernel | |
| #include <fcntl.h> | |
| #include <unistd.h> | |
| #include <poll.h> | |
| #include <stdlib.h> | |
| #include <ctype.h> | |
| #include <signal.h> | |
| #include <string.h> |