Skip to content

Instantly share code, notes, and snippets.

@Kabouik
Kabouik / rofi config
Created August 5, 2019 19:29
rofi config
mathieu@solus-desktop ~ $ rofi --help
rofi usage:
rofi [-options ...]
Command line only options:
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
${DISPLAY}
@Kabouik
Kabouik / demo.svg
Last active August 27, 2021 12:54
fzproxy demo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Kabouik
Kabouik / readme.md
Last active July 29, 2022 06:36
postmarketOS on F(x)tec Pro¹ (SD845/msm8998)

postmarketOS and mainline kernel on F(x)tec Pro¹

Below are the steps required to flash postmarketOS (port made by Danct12 based on earlier work by Notkit) and mainline kernel (work done by Kholk and the github.com/somainline group) on the Pro1 msm8998:

2022-03-10. As of today, Danct12's port has not been merged yet, hence there are a couple extra steps to manually apply patches to pmaports. Beware that this is all work in progress and there will be bugs and missing functionality. 2022-03-12. device-fxtec-qx1000-nonfree-firmware added to the port, meaning support for model, WLAN and GPU.

  1. pip3 install --user pmbootstrap
  2. pmbootstrap init and choose edge and whatever device (I chose qemu and aarch64, but it should not matter, we'll redo it later).
  3. cd /path/to/work/directory/you/chose/above/cache_git/pmaports
@Kabouik
Kabouik / nm-wifi-fzf.sh
Created September 6, 2022 15:22 — forked from guyzmo/nm-wifi-fzf.sh
Connect to Wifi networks using network manager listed by fzf
wl(){
local ssid
local conn
nmcli device wifi rescan > /dev/null
ssid=$(nmcli device wifi list | tail -n +2 | grep -v '^ *\B--\B' | fzf -m | sed 's/^ *\*//' | awk '{print $1}')
if [ "x$ssid" != "x" ]; then
# check if the SSID has already a connection setup
conn=$(nmcli con | grep "$ssid" | awk '{print $1}' | uniq)
#!/usr/bin/env bash
# This script will install Cutie or Phosh on a device
# already running Droidian. This is an alternative to
# using one of the Cutie Droidian images that need to
# be flashed.
# Use at your own risk, odds are it will break things.
# Authors: Kabouik (@bouic), Erik (@eriki73)
# https://t.me/CutieShellProject
@Kabouik
Kabouik / README.adoc
Last active February 11, 2024 15:19
TWRP on F(x)tec Pro¹, an SFOS perspective
Warning
This guide is meant to be used with the Pro1 (QX1000 model, SOC SD835 or also called msm8998). If you have a Pro1x (QX1050 model, SOC SD662), head over here.

TWRP on F(x)tec Pro¹, an SFOS perspective

Inspired from this guide and proofread by @kabouik, @pcfe and @enigma9o7.

@Kabouik
Kabouik / Droidian-SFOS_dual_boot.md
Last active April 20, 2024 15:14
Dual-booting Droidian and SailfishOS on the F(x)tec Pro1

Dual-booting Droidian and SailfishOS on the F(x)tec Pro1

Author: kabouik but all credits to g7


Known issues related to dual-booting, as of 2023-09-10:

  • Switching from Droidian to SailfishOS can be done directly on the phone, but from SailfishOS to Droidian requires a computer.
  • Nothing else so far, yay.

Foreword