swaylock VS pure

Compare swaylock vs pure and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
swaylock pure
16 17
769 12,772
3.5% -
6.3 4.4
29 days ago 14 days ago
C Shell
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

swaylock

Posts with mentions or reviews of swaylock. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-26.
  • How to change the swayidle config
    2 projects | /r/Fedora | 26 Apr 2023
    I am using the Fedora 38 Sway Spin and I want to change the swayidle behaviour, because I want to use swaylock-effects instead of swaylock.
  • swaylock version 1.7 has been released!
    1 project | /r/swaywm | 27 Nov 2022
  • Why do wayfire took so long to load configs?
    9 projects | /r/Wayfire | 23 Sep 2022
    # Default config for Wayfire # # Copy this to ~/.config/wayfire.ini and edit it to your liking. # # Take the tutorial to get started. # https://github.com/WayfireWM/wayfire/wiki/Tutorial # # Read the Configuration document for a complete reference. # https://github.com/WayfireWM/wayfire/wiki/Configuration # Input configuration ────────────────────────────────────────────────────────── # Example configuration: # # [input] # xkb_layout = us # xkb_variant = dvorak,bepo # # See Input options for a complete reference. # https://github.com/WayfireWM/wayfire/wiki/Configuration#input # Output configuration ───────────────────────────────────────────────────────── # Example configuration: # # [eDP-1] # mode = 1920x1080@60000 # position = 0,0 # transform = normal # scale = 1.000000 # # You can get the names of your outputs with wlr-randr. # https://github.com/emersion/wlr-randr # # See also kanshi for configuring your outputs automatically. # https://wayland.emersion.fr/kanshi/ # # See Output options for a complete reference. # https://github.com/WayfireWM/wayfire/wiki/Configuration#output # Core options ───────────────────────────────────────────────────────────────── [core] # List of plugins to be enabled. # See the Configuration document for a complete list. plugins = \ alpha \ simple-tile \ blur \ animate \ autostart \ command \ cube \ decoration \ expo \ fast-switcher \ fisheye \ grid \ idle \ invert \ move \ oswitch \ place \ resize \ switcher \ vswitch \ window-rules \ wm-actions \ wobbly \ wrot \ zoom # Note: [blur] is not enabled by default, because it can be resource-intensive. # Feel free to add it to the list if you want it. # You can find its documentation here: # https://github.com/WayfireWM/wayfire/wiki/Configuration#blur # Close focused window. close_top_view = KEY_Q # Workspaces arranged into a grid: 3 × 3. vwidth = 3 vheight = 3 # Prefer client-side decoration or server-side decoration preferred_decoration_mode = client # Mouse bindings ─────────────────────────────────────────────────────────────── # Drag windows by holding down Super and left mouse button. [move] activate = BTN_LEFT # Resize them with right mouse button + Super. [resize] activate = BTN_RIGHT # Zoom in the desktop by scrolling + Super. [zoom] modifier = | pinch in 2 # Change opacity by scrolling with Super + Alt. [alpha] modifier = # Rotate windows with the mouse. [wrot] activate = BTN_RIGHT # Fisheye effect. [fisheye] toggle = KEY_F # Startup commands ───────────────────────────────────────────────────────────── [autostart] # Automatically start background and panel. # Set to false if you want to override the default clients. autostart_wf_shell = true # Set the wallpaper, start a panel and dock if you want one. # https://github.com/WayfireWM/wf-shell # # These are started by the autostart_wf_shell option above. # # background = wf-background # panel = wf-panel # dock = sfwbar = sfwbar & bluetooth = blueman-applet & # Output configuration # https://wayland.emersion.fr/kanshi/ # outputs = kanshi # Screen color temperature # https://sr.ht/~kennylevinsen/wlsunset/ gamma = wlsunset -l 5.3811 -L 100.3854 & # Idle configuration # https://github.com/swaywm/swayidle # https://github.com/swaywm/swaylock idle = swayidle -w timeout 600 "swaylock --screenshots --clock --indicator --indicator-radius 100 --indicator-thickness 7 --effect-blur 30x5 --effect-vignette 0.8:0.8 --ring-color 500797 --key-hl-color 880033 --line-color 00000000 --inside-color 00000088 --separator-color 00000000 --grace 2 --fade-in 0.2" # import-enviroment = systemctl --user import-enviroment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # XDG desktop portal # Needed by some GTK applications portal = /usr/lib/xdg-desktop-portal-wlr nm-applet = sleep 1 && nm-applet --indicator & notifications = sleep 2 && swaync & # notifications = dunst # Example configuration: # # [idle] # toggle = KEY_Z # screensaver_timeout = 300 # dpms_timeout = 600 # # Disables the compositor going idle with Super + z. # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds. # Applications ───────────────────────────────────────────────────────────────── [command] # Start a terminal # https://github.com/alacritty/alacritty binding_terminal = KEY_ENTER command_terminal = kitty -c /home/cancel/.config/kitty/kitty.wayfire # Start your launcher # https://hg.sr.ht/~scoopta/wofi # Note: Add mode=run or mode=drun to ~/.config/wofi/config. # You can also specify the mode with --show option. binding_launcher = KEY_D command_launcher = wofi --show drun # Screen locker # https://github.com/swaywm/swaylock binding_lock = KEY_ESC command_lock = swaylock --screenshots --clock --indicator --indicator-radius 100 --indicator-thickness 7 --effect-blur 30x5 --effect-vignette 0.8:0.8 --ring-color 500797 --key-hl-color 880033 --line-color 00000000 --inside-color 00000088 --separator-color 00000000 --grace 2 --fade-in 0.2 # Logout # https://github.com/ArtsyMacaw/wlogout binding_logout = KEY_ESC command_logout = wlogout # Screenshots # https://wayland.emersion.fr/grim/ # https://wayland.emersion.fr/slurp/ binding_screenshot = KEY_PRINT command_screenshot = grim $(date '+%F_%T').webp binding_screenshot_interactive = KEY_PRINT command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').webp # Volume controls # https://alsa-project.org repeatable_binding_volume_up = KEY_VOLUMEUP command_volume_up = pactl set-sink-volume @DEFAULT_SINK@ +10% repeatable_binding_volume_down = KEY_VOLUMEDOWN command_volume_down = pactl set-sink-volume @DEFAULT_SINK@ -10% binding_mute = KEY_MUTE command_mute = pactl set-source-mute @DEFAULT_SOURCE@ toggle # Screen brightness # https://haikarainen.github.io/light/ repeatable_binding_light_up = KEY_BRIGHTNESSUP command_light_up = light -A 5 repeatable_binding_light_down = KEY_BRIGHTNESSDOWN command_light_down = light -U 5 # Windows ────────────────────────────────────────────────────────────────────── # Actions related to window management functionalities. # # Example configuration: # [wm-actions] toggle_fullscreen = KEY_F toggle_always_on_top = KEY_X toggle_sticky = KEY_X # Position the windows in certain regions of the output. [grid] # # ⇱ ↑ ⇲ │ 7 8 9 # ← f → │ 4 5 6 # ⇱ ↓ ⇲ d │ 1 2 3 0 # ‾ ‾ slot_bl = KEY_KP1 slot_b = KEY_KP2 slot_br = KEY_KP3 slot_l = KEY_LEFT | KEY_KP4 slot_c = KEY_UP | KEY_KP5 slot_r = KEY_RIGHT | KEY_KP6 slot_tl = KEY_KP7 slot_t = KEY_KP8 slot_tr = KEY_KP9 # Restore default. restore = KEY_DOWN | KEY_KP0 # Change active window with an animation. [switcher] next_view = KEY_TAB prev_view = KEY_TAB # Simple active window switcher. [fast-switcher] activate = KEY_ESC # Workspaces ─────────────────────────────────────────────────────────────────── # Switch to workspace. [vswitch] binding_left = KEY_LEFT binding_down = KEY_DOWN binding_up = KEY_UP binding_right = KEY_RIGHT # Move the focused window with the same key-bindings, but add Shift. with_win_left = KEY_LEFT with_win_down = KEY_DOWN with_win_up = KEY_UP with_win_right = KEY_RIGHT # Show the current workspace row as a cube. [cube] activate = BTN_LEFT deform = 0 # Switch to the next or previous workspace. #rotate_left = KEY_H #rotate_right = KEY_L # Show an overview of all workspaces. [expo] toggle = # Select a workspace. # Workspaces are arranged into a grid of 3 × 3. # The numbering is left to right, line by line. # # ⇱ k ⇲ # h ⏎ l # ⇱ j ⇲ # ‾ ‾ # See core.vwidth and core.vheight for configuring the grid. select_workspace_1 = KEY_1 select_workspace_2 = KEY_2 select_workspace_3 = KEY_3 select_workspace_4 = KEY_4 select_workspace_5 = KEY_5 select_workspace_6 = KEY_6 select_workspace_7 = KEY_7 select_workspace_8 = KEY_8 select_workspace_9 = KEY_9 # Outputs ────────────────────────────────────────────────────────────────────── # Change focused output. [oswitch] # Switch to the next output. next_output = KEY_O # Same with the window. next_output_with_win = KEY_O # Invert the colors of the whole output. [invert] toggle = KEY_I [Blur] kawase_degrade = 5 kawase_iterations = 3 kawase_offset = 7 method = kawase [simple-tile] key_focus_above = KEY_K key_focus_below = KEY_J key_focus_left = KEY_H key_focus_right = KEY_L key_toggle = KEY_T inner_gap_size = 10 outer_horiz_gap_size = 9 outer_vert_gap_size = 9 button_move = button_resize = KEY_S BTN_LEFT tile_by_default = !(app_id is "Steam") [decoration] border_size = 4 button_order = minimize maximize close title_height = 30 # Rules ──────────────────────────────────────────────────────────────────────── # Example configuration: # # [window-rules] # maximize_alacritty = on created if app_id is "Alacritty" then maximize # # You can get the properties of your applications with the following command: # $ WAYLAND_DEBUG=1 alacritty 2>&1 | kak # # See Window rules for a complete reference. # https://github.com/WayfireWM/wayfire/wiki/Configuration#window-rules
  • A screen locker that plays video?
    1 project | /r/swaywm | 23 May 2022
    After that you could go for swaylock with a transparent color like mentioned here: https://github.com/swaywm/swaylock/issues/192
  • Release 1.6 · swaywm/swaylock
    1 project | /r/swaywm | 7 Mar 2022
  • Can KScreenLocker and SDDM merged into one single program?
    2 projects | /r/kde | 9 Jan 2022
    I meant that a standard of some sort is probably needed to handle both the desktop environment telling the display manager to lock the screen AND allowing said display manager to take over the screen and lock it. On Wayland at the moment I'm not aware of any screen locker that isn't part of the DE itself that works on GNOME or KDE (I only know of swaylock and waylock, and both require protocols that are only implemented by wlroots based compositors, at least according to Waylock's readme).
  • Display blank/black screen few seconds before swaylock
    2 projects | /r/swaywm | 2 Jan 2022
    Based on this issue, you're only going to get this from writing a script or something to do it, or try a fork like swaylock-effects or something.
  • Does Sway have screen lock feature?
    1 project | /r/swaywm | 25 Oct 2021
  • Secure alternative to Swaylock available in the Fedora repositories?
    2 projects | /r/swaywm | 19 Oct 2021
    It seems Swaylock, Sway's default screen locker, has some concerning security issues that could allow easy access to the desktop requiring very little effort from an attacker. [ Related GitHub post ]
  • Swaylock blank input with only background visisble
    2 projects | /r/swaywm | 19 Apr 2021
    Hmmm - looks like it's an old unfixed bug

pure

Posts with mentions or reviews of pure. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-22.
  • Carapace: A multi-shell completion library and binary
    8 projects | news.ycombinator.com | 22 Apr 2024
    Beyond zprof (https://www.bigbinary.com/blog/zsh-profiling) not really I'm afraid. I did the majority of my zsh-prompt hacking 10 years ago and haven't thought about it since. That snippet could be from anywhere.

    You could peek at something like zprezto https://github.com/sorin-ionescu/prezto or pure https://github.com/sindresorhus/pure for tips.

    Fetching git/hg/... info is always slow, so try and speed that up where you can (as to how to do that, uhh... I know my prompt has a dirty-state check nicked from pure for speed reasons). You can also cache any `asdf init zsh` or similar to a file and do the same "run in background" trick so the next shell will have any changes.

    The biggest improvement I can remember was dropping zprezto for my own much smaller config, I really did not need much comparatively. Mostly some git info and "good default" options. I use zgenom for a plugin manager but only have 3 plugins, probably I should just dump it and inline the plugins to avoid getting owned one day.

  • Config to make powerlevel10k look like Starship?
    1 project | /r/zsh | 21 Apr 2023
    Run p10k configure and choose Lean style. Pure style is inferior in all respects. It exists to make https://github.com/sindresorhus/pure users feel at home.
  • What is this terminal and how do I get it?
    2 projects | /r/vscode | 6 Apr 2023
  • Pure: Pretty, minimal and fast ZSH prompt
    1 project | news.ycombinator.com | 13 Sep 2022
  • A Web Developer's Ultimate Guide to the Terminal on macOS
    14 projects | dev.to | 21 Jul 2022
    git clone "$HOME/.zsh/pure" downloads Pure from GitHub. Here we tell git where to download from ("https://github.com/sindresorhus/pure.git") and where to put the downloaded files ("$HOME/.zsh/pure")
  • Useful Shell Prompt (2020)
    6 projects | news.ycombinator.com | 1 Apr 2022
    I've been using pure theme for a few years and absolutely love it. It shows me everything I need, but doesn't feel cluttered.

    It uses 2 lines, which is actually really nice. It gives space to show where you are and git status/branch, while still allowing you to write long commands.

    https://github.com/sindresorhus/pure

  • Suggest a fast convenient zsh prompt?
    4 projects | /r/zsh | 29 Jan 2022
    I’ve always been pretty happy with https://github.com/sindresorhus/pure
  • pure prompt
    1 project | /r/ohmyzsh | 6 Jan 2022
    hey I am trying to install the Pure prompt but I am unable to do so using npm I tried to find an alternative made for oh my zsh method so I tried to do this but it results in an error saying that the pure theme can not be found even though I can see the symlink in the themes folder all I did different from this was to clone it into the themes folder so please help thanks in advance
  • Mastering Bash and Terminal
    3 projects | news.ycombinator.com | 10 Dec 2021
    My favorite for this purpose is pure prompt: https://github.com/sindresorhus/pure

    I wasn’t sure about multi line at first, but really digging it now.

  • What are some of the best zsh themes?
    3 projects | /r/zsh | 29 Oct 2021
    https://github.com/sindresorhus/pure has been my go-to for years. Haven't found a reason to change.

What are some alternatives?

When comparing swaylock and pure you can also consider the following projects:

swaylock-effects - Swaylock, with fancy effects

starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

wlogout - A wayland based logout menu

iterm2-snazzy - Elegant iTerm2 theme with bright colors

swayidle - Idle management daemon for Wayland

fancy-git - That's a terminal prompt changer that shows a few cool git informations about your repository state. You can choose among different styles and enjoy all the aliases it provides you. Feel free for contributing, pull requests and issues are always welcome! ;)

mako - A lightweight Wayland notification daemon

powerlevel10k - A Zsh theme

xsecurelock - X11 screen lock utility with security in mind

tide - 🌊 The ultimate Fish prompt.

waylock - A small screenlocker for Wayland compositors

clink-flex-prompt - Flex prompt for Clink