Skip to content

Instantly share code, notes, and snippets.

View Circl3s's full-sized avatar
😼
owo

Feliks Maak Circl3s

😼
owo
View GitHub Profile
@Circl3s
Circl3s / gif.ps1
Created January 28, 2023 23:46
Powershell script for converting videos to gifs using ffmpeg :)
param(
[Parameter(Mandatory=$True)]
[String]$In,
[String]$Out,
[String]$Scale = "-1:-1"
)
if ($Out.Length -eq 0) {
$Out = (Get-Item $In).BaseName + ".gif"
}

Keybase proof

I hereby claim:

  • I am circl3s on github.
  • I am maak4422 (https://keybase.io/maak4422) on keybase.
  • I have a public key ASCiFxrEElB7t5v0xm35V7y2RXqWc7cQ4HYcCNEeynH0DQo

To claim this, I am signing this object:

@Circl3s
Circl3s / i3-popout.config
Created October 22, 2018 15:14
Pop-out player (or picture-in-picture, whatevs) for i3. Just slap in in the config and watch it do the magic. (For now works only on 1920x1080 xd)
# Pop-out player:
# Press mod+PageUp to pop out the current window: float it, resize it, stick it.
# Press mod+Shift+PageUp to enter edit mode.
bindsym $mod+Prior fullscreen disable, floating enable, resize set 576 324, sticky enable, move window to position 1322 735
bindsym $mod+Shift+Prior mode "$mode_popout"
set $mode_popout Pop-out player: (k) lower left, (l) lower right, (i) upper left, (o) upper right
mode "$mode_popout" {
# Change position