Git Product home page Git Product logo

i3-utils-bin's Introduction

i3-utils-bin

Binary utilities for a minimalistic i3 setup.


This repository is part of the i3-utils. (See also i3-utils-systemd)


Tools

System tools

Tool Description
system-hibernate Wrapper script to hibternate as user. (systemd or dbus)
system-reboot Wrapper script to reboot as user. (systemd or dbus)
system-shutdown Wrapper script to shutdown as user. (systemd or dbus)
system-suspend Wrapper script to suspend as user. (systemd or dbus)

Hardware tools

Tool Description
xf86-audio Increase, decrease and mute currently selected (active) audio device. Supports notifications.
xf86-backlight Adjust your screens backlight. Supports notifications.

X tools

Tool Description
xcolorpick Zenity based RGB color picker for any pixel on your screen.
ximage Wrapper for sxiv that allows for opening multiple files automatically within a directory.
ximage.desktop Desktop application file for ximage registering png, jpg, jpeg and gif.
xkiller Wrapper for xkill. Xkill itself cannot be terminated when started from a hotkey. That is where xkiller comes into play. It can be terminated simply starting it again. (via hotkey, dunst, rofi or via the command line).
xlock Wrapper for i3lock with blurred screenshot and optional custom overlay which will also suspend any notifications during lock and can be run in the background without locking the script itself, so that you can run another script afterwards (such as system-suspend).
xscreenshot Wrapper for scrot or maim.

Rofi/Dmenu tools

Tool Description
rcalc A wrapper for qalc adding the ability to syncronize every result accross all existing clipboards.

Integration

Requirements

Install

This will add binaries to /usr/local/bin/.

$ sudo make install

Uninstall

This will remove binaries from /usr/local/bin/.

$ sudo make uninstall

Example usage for i3

###
### System
###

set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (p) poweroff
mode "$mode_system" {
	bindsym l exec --no-startup-id system-lock, mode "default"
	bindsym e exec --no-startup-id i3-msg exit, mode "default"
	bindsym s exec --no-startup-id "system-lock -b; system-suspend",   mode "default"
	bindsym h exec --no-startup-id "system-lock -b; system-hibernate", mode "default"
	bindsym r exec --no-startup-id system-reboot,    mode "default"
	bindsym p exec --no-startup-id system-shutdown,  mode "default"

	# Back to normal: Enter or Escape
	bindsym Return mode "default"
	bindsym Escape mode "default"
}


###
### Hardware
###

# Sreen Backlight brightness
bindsym XF86MonBrightnessUp   exec xf86-backlight -c up
bindsym XF86MonBrightnessDown exec xf86-backlight -c down

# Audio Volume
bindsym XF86AudioRaiseVolume  exec xf86-audio -D pulse -c up
bindsym XF86AudioLowerVolume  exec xf86-audio -D pulse -c down
bindsym XF86AudioMute         exec xf86-audio -D pulse -c toggle


###
### X Tools
###

# Screenshot (with multi monitors)
bindsym Print exec "xscreenshot -m multi"

# Screenshot (select rectangle)
bindsym $mod+Sys_Req exec "xscreenshot -m selection"

# Screenshot (active window)
bindsym $mod+Shift+Sys_Req exec "xscreenshot -m window"


###
### Rofi calculator
###

bindsym $mod+space exec "exec rofi -show combi -combi-modi window,drun,run -modi combi,'calc:rcalc' -sidebar-mode"

Credits

i3-utils-bin's People

Contributors

cytopia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.