cristianmiranda / dotfiles Goto Github PK
View Code? Open in Web Editor NEW๐ค ~/dotfiles
Home Page: http://dotfiles.cmiranda.ar
๐ค ~/dotfiles
Home Page: http://dotfiles.cmiranda.ar
status
commit --amend
# Could loop forever (commit/fixup session)
forgit::add && g commit
forgit::add && g fixup
stash list
stash
stash pop
stash drop
co
br
gc
glc
gr
At the moment I couldn't find a way of running xbindkeys
on start
Revert custom changes on bumblebee-status repo and use config file to handle left-click actions.
Also, do the following on all git submodules (including bumblebee-status):
git -C $SUBMODULE submodule sync --quiet --recursive
git submodule update --init --recursive $SUBMODULE
TODO:
At the moment Power Manager is in charge of what happens when the lid gets closed/opened and sometimes when switching displays power gets cut off and the computer gets suspended.
TODO:
Docs:
Relace dunst
scripting with a better and more solid approach using DBus notifications.
See https://askubuntu.com/questions/89279/listening-to-incoming-libnotify-notifications-using-dbus
import glib
import dbus
from dbus.mainloop.glib import DBusGMainLoop
def print_notification(bus, message):
keys = ["app_name", "replaces_id", "app_icon", "summary",
"body", "actions", "hints", "expire_timeout"]
args = message.get_args_list()
if len(args) == 8:
notification = dict([(keys[i], args[i]) for i in range(8)])
print notification["app_name"], notification["summary"], notification["body"]
loop = DBusGMainLoop(set_as_default=True)
session_bus = dbus.SessionBus()
session_bus.add_match_string("type='method_call',interface='org.freedesktop.Notifications',member='Notify',eavesdrop=true")
session_bus.add_message_filter(print_notification)
glib.MainLoop().run()
Relace dunst
scripting with a better and more solid approach using DBus notifications.
See https://askubuntu.com/questions/89279/listening-to-incoming-libnotify-notifications-using-dbus
import glib
import dbus
from dbus.mainloop.glib import DBusGMainLoop
def print_notification(bus, message):
keys = ["app_name", "replaces_id", "app_icon", "summary",
"body", "actions", "hints", "expire_timeout"]
args = message.get_args_list()
if len(args) == 8:
notification = dict([(keys[i], args[i]) for i in range(8)])
print notification["app_name"], notification["summary"], notification["body"]
loop = DBusGMainLoop(set_as_default=True)
session_bus = dbus.SessionBus()
session_bus.add_match_string("type='method_call',interface='org.freedesktop.Notifications',member='Notify',eavesdrop=true")
session_bus.add_message_filter(print_notification)
glib.MainLoop().run()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.