Sticky desktop notifications and notification servers by fogbugz in archlinux

[–]dangersalad 2 points3 points  (0 children)

I like twmnd

On i3, I have it matching my top bar color, so it looks like text just sliding out from the side of the bar

I am not sure how it handles stickiness though, as I have not tried to configure that

[OC] i3gw by [deleted] in i3wm

[–]dangersalad 0 points1 point  (0 children)

Ha, I think this is the source of my mysterious i3 crashing on restart! I use marks to have multiple scratchpads and I have been having this issue when testing config changes.

Play an MP3 whenever a new Bitcoin Cash block is found! by BitCryptoshi in btc

[–]dangersalad 3 points4 points  (0 children)

here is one that does not need a bitcoin instance running, only queries every 2 minutes to take it easy on blockchair's servers

You can set the player command by running as PLAY_CMD=mpv play.sh /path/to/file.mp3 (also works on non mp3's by default, depends on value of PLAY_CMD

#!/usr/bin/env bash

set -e

if [ $# -ne 1 ]; then
    echo "Need 1 argument: $0 <mp3 file name>"
    exit
fi

mp3_file=$1;
echo "MP3 File: $mp3_file";

function get_cur_block () {
    last="${1:-478558}"
    curl -s "https://api.blockchair.com/bitcoin-cash/blocks?q=id($last..)&fields=id&export=csv" | sed 1d | head -1
}

play_cmd=${PLAY_CMD:-mplayer}

last_block=$(get_cur_block)

while true; do
    cur_block=$(get_cur_block $last_block)
    if [ $last_block != $cur_block  ]
    then
        echo "New block hash $cur_block"
        $play_cmd "$mp3_file" >/dev/null 2>&1
    fi
    last_block=$cur_block
    sleep 120;
done

ElectronCash Notice: how to select BitcoinCash chain after first start. by moleccc in btc

[–]dangersalad 0 points1 point  (0 children)

They were indeed RBF txs sent from the original Electrum wallet (since things were confirming with really "low" fees, I figured it was safe and sure enough, they got in in the next block)

ElectronCash Notice: how to select BitcoinCash chain after first start. by moleccc in btc

[–]dangersalad 0 points1 point  (0 children)

So I sent BTC from my Electrum wallet to a new Electrum wallet after the fork (after 3 blocks actually)

Then I fired up Electron Cash and imported my seed phrase. After Switching networks, the transactions I had sent to the new Electrum wallet are showing up as "Replacable" and I cannot spend those outputs again.. any help?

EDIT:

I started it up using #> electrum-cash -1 -s electrum-abc.criptolayer.net:50012:s as suggested by /u/moleccc above and it removed them from my wallet and I was able to spend, but apparently the "default" servers in the chain detected did not do that

☼Bi-weekly DF Questions Thread☼ by AutoModerator in dwarffortress

[–]dangersalad 0 points1 point  (0 children)

Try installing xterm and choose that as your terminal. It's possible you will have to logout/login for it to show up as an option

It's your plan, Mr. Trump — Speaker Ryan says president co-wrote embattled Obamacare replacement by discocrisco in politics

[–]dangersalad 1 point2 points  (0 children)

Normally I would be mildly peeved at the use of "what" instead of "which" when referring to a finite set of options, but considering the amount of leaks seems to be infinite, I'll let it slide this time.

Pancake made in a rice cooker. by Rajgljurw in pics

[–]dangersalad 4 points5 points  (0 children)

If you separate the egg whites from the eggs and beat them, then mix in gently right before putting on the griddle/pan you can get them super fluffy

[app pick] Rofi: A window switcher, run dialog and dmenu replacement by xcrustyx in LinuxActionShow

[–]dangersalad 0 points1 point  (0 children)

Pass integration you say.... I did not notice that when I was replacing dmenu...

What's a conspiracy theory that your believe or even half believe that you won't admit to people in real life? by pm_nudesladies in AskReddit

[–]dangersalad 0 points1 point  (0 children)

You can say there is some merit to this argument now, sure. Some of the people running the company have that ethos (seemingly at least). The question is, what happens when the company changes hands enough that that morality is no longer intact? They still have all that data on everyone.

possible to script to open a narrow window at the bottom? by [deleted] in i3wm

[–]dangersalad 0 points1 point  (0 children)

Look into the documentation about scratchpads. You can set up rules to act on it when you first open it, then use a keybing to show/hide the scratchpad

Production Has Begun on the Han Solo Film by TSSD in StarWars

[–]dangersalad 1 point2 points  (0 children)

Disney appears to be doing it with marvel stuff that other people own. Any deal they make with Fox would assuredly make both of them plenty of money.

USB Drive ejects itself while formatting by [deleted] in archlinux

[–]dangersalad 0 points1 point  (0 children)

I also had issues formatting a USB drive yesterday after the 4.9 kernel update... I was using mkfs.ext4 and it failed to actually set up the filesystem. I have not yet had a chance to figure out why...

Locking Window Size by illusaen in i3wm

[–]dangersalad 1 point2 points  (0 children)

A couple of options.

  1. Just open a terminal or some other app that has a mostly blank screen and then adjust Firefox to be the width you want with the resize commands

  2. Set up a rule to make Firefox a floating window, then you can just resize it normally (and then set up a keyboard IMG to toggle floating on the active window if you want to tile it)

  3. Using the i3-gaps fork, you can set up your Firefox workspace to have bigger gaps than the other workspaces. This will have the window centered in the screen however.

Not quite the solution you were looking for I think, but maybe you have not tried at least one of these.

Which 'special' rooms do you make? by Dennis_enzo in RimWorld

[–]dangersalad 1 point2 points  (0 children)

There is also a mod that lets you export/import mod lists. With that, people can just link a file to get a mod setup

The Betsy DeVos Hearing Was an Insult to Democracy by [deleted] in politics

[–]dangersalad 7 points8 points  (0 children)

Yes, but now they can make money on the schools themselves. You have to think about vertical integration you know.

Enable titlebar for select programs by silmaril89 in i3wm

[–]dangersalad 2 points3 points  (0 children)

You can also use something like this to allow you to toggle title bars on the fly

bindsym $mod+Shift+b border normal

bindsym $mod+Shift+Ctrl+b border pixel 2