Opengist Logo Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 31ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login Register

All gists

All Recently liked Recently forked
Recently created Least recently created Recently updated Least recently updated
matthew

matthew / Launch or raise Logseq

Last active 17 hours ago

Simple bash script to launch or raise Logseq and position it on the right side of the screen

0 0 1
1 #!/bin/bash
2 # Launch Logseq and/or raise it.
3 #
4 # In all cases, it raises it on the current workspace, and positions it on the
5 # right half of the screen. Change the logic in get_width(), get_height(), and
6 # get_geometry() to change positioning and size.
7 #
8 # I bind this to <Super><Ctrl>-l, which allows me to launch it at any time.
9
10 get_width() {
matthew

matthew / wezterm

Last active 17 hours ago

My wezterm configuration

0 0 10
1 -- Pull in the wezterm API, some of its modules, and plugins
2 local wezterm = require 'wezterm'
3 local act = wezterm.action
4 local merge = require 'merge'
5 local mux = wezterm.mux
6 local resurrect = require 'resurrect-config'
7 local smart_splits = require 'smart-splits-setup'
8
9 -- --------------------------------------------------------------------
10 -- CONFIGURATION
Newer Older