Skip to content

Instantly share code, notes, and snippets.

View abiosoft's full-sized avatar

Abiola Ibrahim abiosoft

View GitHub Profile
//
// AppDelegate.swift
// test
//
// Created by IOANNIS DELIGIANNIS on 1/2/16.
// Copyright © 2016 IOANNIS DELIGIANNIS. All rights reserved.
//
import Cocoa
// Run any SwiftUI view as a Mac app.
import Cocoa
import SwiftUI
NSApplication.shared.run {
VStack {
Text("Hello, World")
.padding()
.background(Capsule().fill(Color.blue))
@abiosoft
abiosoft / comands.txt
Created August 26, 2018 10:33 — forked from AnderRasoVazquez/comands.sh
Terminal Commands To Initiate Gala Windows And Workspaces Actions
Open a Terminal and try the next commands :
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:1
Luna : Workspace Overview ( keep Enter pressed ), Freya : Multitasking View
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:2
Terminal maximizes
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:3
Terminal minimizes
@abiosoft
abiosoft / xgala.txt
Created August 25, 2018 12:00 — forked from valc93/xgala.txt
XFCE + GALA
Source: https://www.reddit.com/r/linux/comments/14heuu/xfce_gala_plank_awesome/
Add the elementary daily ppa and install gala + plank + dconf-tools
sudo apt-add-repository ppa:elementary-os/daily
sudo apt-get update $$ sudo apt-get dist-upgrade
sudo apt-get install gala plank dconf-tools gtk2-engines-pixbuf
Set gala as xfce's default window manager
@abiosoft
abiosoft / gtk.css
Created April 27, 2018 18:58 — forked from jamesridgway/gtk.css
Reduce title bar size for applications in Gnome by creating ~/.config/gtk-3.0/gtk.css with the following contents
# Gnome 3 - based on https://blog.samalik.com/make-your-gnome-title-bars-smaller/
.header-bar.default-decoration {
padding-top: 3px;
padding-bottom: 3px;
font-size: 0.8em;
}
.header-bar.default-decoration .button.titlebutton {
padding: 0px;
}
@abiosoft
abiosoft / GIF-Screencast-OSX.md
Created March 2, 2016 10:41 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: