Skip to content

Instantly share code, notes, and snippets.

View wilhelmy's full-sized avatar

Moritz Wilhelmy wilhelmy

View GitHub Profile
@h4cc
h4cc / munin_disable_warning.cmd
Created November 29, 2013 14:09
Disable warnings for a munin plugin
# Open the plugin configuration.
# Name is the same as filename under /etc/munin/plugins/{plugin_name}
$ /etc/munin/plugin-conf.d/{plugin_name}
# New Content:
[{plugin_name}]
env.warning 0
env.critical 0
@syl20bnr
syl20bnr / i3_focus_win.py
Last active July 13, 2024 14:29
Python script for i3 which allows to focus the nth window of the current container hierarchy. It requires i3-py: https://github.com/ziberna/i3-py
#!/usr/bin/env python
#
# author: syl20bnr (2013)
# goal: Focus the nth window in the current workspace (limited to 10 firsts)
#
# Example of usage in i3 config:
#
# bindsym $mod+0 exec focus_win.py -n 0
# bindsym $mod+1 exec focus_win.py -n 1
# ... ...