All Projects → okitavera → Clearine

okitavera / Clearine

Licence: mit
Beautiful Logout UI for X11 window manager

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Clearine

Quicktile
Adds window-tiling hotkeys to any X11 desktop. (An analogue to WinSplit Revolution for people who don't want to use Compiz Grid)
Stars: ✭ 719 (+681.52%)
Mutual labels:  gtk3, x11
gxkb
🇫🇷🇬🇧🇩🇪 X11 keyboard indicator and switcher
Stars: ✭ 101 (+9.78%)
Mutual labels:  x11, gtk3
Pmenu
A pie-menu in xlib and imlib2.
Stars: ✭ 66 (-28.26%)
Mutual labels:  x11
Applications Menu
Applications Menu for elementary OS and the Pantheon desktop environment
Stars: ✭ 84 (-8.7%)
Mutual labels:  gtk3
Calendar
Desktop calendar app designed for elementary OS
Stars: ✭ 78 (-15.22%)
Mutual labels:  gtk3
Ideogram
Insert emoji anywhere in elementary OS, even in non-native apps
Stars: ✭ 68 (-26.09%)
Mutual labels:  gtk3
Sc Controller
User-mode driver and GTK3 based GUI for Steam Controller
Stars: ✭ 1,222 (+1228.26%)
Mutual labels:  gtk3
Efibootmgr Gui
Manage EFI boot loader entries with this simple GUI
Stars: ✭ 55 (-40.22%)
Mutual labels:  gtk3
Autorandr
Auto-detect the connected display hardware and load the appropriate X11 setup using xrandr
Stars: ✭ 1,286 (+1297.83%)
Mutual labels:  x11
Octobtt
OctoBTT
Stars: ✭ 77 (-16.3%)
Mutual labels:  x11
Lightdm Tiny Greeter
👋 A Tiny GTK3 LightDM Greeter
Stars: ✭ 83 (-9.78%)
Mutual labels:  gtk3
Agenda
A simple, fast, no-nonsense to-do (task) list.
Stars: ✭ 74 (-19.57%)
Mutual labels:  gtk3
Viter
A Vim-ish terminal emulator written and expandable in Python.
Stars: ✭ 69 (-25%)
Mutual labels:  gtk3
Vkmark
Vulkan benchmark
Stars: ✭ 80 (-13.04%)
Mutual labels:  x11
Fest
A GTK+ 3 Matrix client written in Rust [work in progress]
Stars: ✭ 67 (-27.17%)
Mutual labels:  gtk3
Pyglossary
A tool for converting dictionary files aka glossaries. The primary purpose is to be able to use our offline glossaries in any Open Source dictionary we like on any OS/device.
Stars: ✭ 1,257 (+1266.3%)
Mutual labels:  gtk3
X11vnc Desktop
Docker image for Ubuntu with X11 and VNC
Stars: ✭ 57 (-38.04%)
Mutual labels:  x11
Planner
Task manager with Todoist support designed for GNU/Linux 🚀
Stars: ✭ 1,179 (+1181.52%)
Mutual labels:  gtk3
Pitivi
MIRROR of https://gitlab.gnome.org/GNOME/pitivi for your convenience
Stars: ✭ 79 (-14.13%)
Mutual labels:  gtk3
Connmap
connmap is an X11 desktop widget that shows location of your current network peers on a world map (tested only with i3wm). Made with C and libcairo.
Stars: ✭ 90 (-2.17%)
Mutual labels:  x11

Clearine

Beautiful Logout UI for X11 window manager. Inspired from oblogout and Android Oreo's power menu.

Preview

Dependencies

  • python (version 3)
  • python-gobject
  • python-cairo

Installation

For Arch user, you can install it via AUR insteads:

$ yaourt -S clearine-git

For Void user :

$ sudo xbps-install -S clearine

Install from source

Install the dependencies first:

$ sudo pacman -S python-cairo python-gobject # Arch Linux

clone this repo into your local storage:

$ git clone https://github.com/yuune/clearine.git
$ cd clearine

then install via pip:

$ pip install .

if you not using pip, you can run setup.py directly:

$ python3 setup.py install --prefix=/usr --root="/" --optimize=1

Configuration file

Clearine basically read configuration from "~/.config/clearine.conf" . if that file is unavailable, clearine will read from "/etc/clearine.conf" or "/usr/share/clearine/clearine.conf" insteads.

Configuration format

The configuration format is using section-style like this :

[main]
    # set background opacity
    opacity = 0.8
    # set gaps
    gap-left = 70
    gap-right = 70
    gap-top = 70
    gap-bottom = 70
    # set mode (vertical/horizontal)
    mode = horizontal
    # set spacing between card and widget
    spacing = 20

[command]
    # set command to launch when the button is clicked
    logout = openbox --exit
    lock = i3lock
    restart = systemctl reboot
    shutdown = systemctl poweroff
    
[shortcuts]
    cancel = Escape
    lock = K
    suspend = P
    hibernate = H
    logout = L
    restart = R
    shutdown = S

[card]
    # set background color and border radius for card
    background-color = #e1e5e8
    border-radius = 5
    # set padding
    padding-bottom = 10
    padding-left = 10
    padding-right = 10
    padding-top = 10

[button]
    # button theme name
    theme = Clearine-Fallback
    # button item sort
    items = logout, lock, restart, shutdown, cancel
    # set button text font and text color
    label-font = DejaVu Sans Book 9
    label-size = 9
    label-color = #101314
    # set button width and height
    width = 70
    height = 70
    # set button icon width and height
    icon-width = 32
    icon-height = 32
    # set per-button margin
    margin-bottom = 0
    margin-left = 0
    margin-right = 0
    margin-top = 0
    # set spacing between button
    spacing = 0
    # opacity
    opacity-normal = 0.7
    opacity-focus = 1.0

[widget]
    # set widget first line font, size, color and format
    firstline-font = DejaVu Sans ExtraLight
    firstline-size = 90
    firstline-color = #e1e5e8
    firstline-format = %H.%M
    # set widget second line font, size, color and format
    secondline-font = DejaVu Sans Book
    secondline-size = 14
    secondline-color = #e1e5e8
    secondline-format = %A, %d %B %Y

For the color, you can use hex format like this :

[card]
    background-color = #e1e5e8

or you can get color from your X resources, by using format like this:

[card]
    background-color = {background}

[widget]
    firstline-color = {color6}

Themes

You can use the png or svg for the icon button.

See /usr/share/themes/Clearine-Fallback for example

Credits

License

The code is available under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].