Skip to content

cytopia/i3-utils-bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published