Skip to content

Latest commit

 

History

History
283 lines (259 loc) · 7.57 KB

gui.org

File metadata and controls

283 lines (259 loc) · 7.57 KB

GUI app configs

Zathura

set selection-clipboard clipboard

set default-bg "#1e1e1e"
set default-fg "#dddddd"

set recolor             true
set recolor-darkcolor   "#cccccc"
set recolor-lightcolor  "#161616"
set recolor-keephue     true

set notification-fg     "#1e1e1e"
set notification-bg     "#d098ff"
set notification-error-fg     "#1e1e1e"
set notification-error-bg     "#ff5555"
set notification-warning-fg     "#1e1e1e"
set notification-warning-bg     "#f2b374"

set statusbar-fg "#dddddd"
set statusbar-bg "#161616"

set inputbar-fg "#dddddd"
set inputbar-bg "#1e1e1e"

set completion-fg           "#dddddd"
set completion-bg           "#1e1e1e"
set completion-group-fg     "#dddddd"
set completion-group-bg     "#161616"
set completion-highlight-bg "#f2b374"
set completion-highlight-fg "#1e1e1e"

set index-fg "#dddddd"
set index-bg "#1e1e1e"
set index-active-fg "#1e1e1e"
set index-active-bg "#99a3ff"

map b toggle_statusbar
map <M-f> exec "zathura %"

Sioyek

move_left l
move_right h

next_page J
previous_page K

prev_state <C-o>
next_state <C-i>

add_highlight H
add_bookmark a

fit_to_page_width w
fit_to_page_height =

open_document_embedded o
open_document <C-A-o>

toggle_statusbar b

GTK

Settings

2.0

Note that the quotes are required here!

gtk-primary-button-warps-slider = 0
gtk-toolbar-style = 3
gtk-menu-images = 1
gtk-button-images = 1
gtk-cursor-theme-size = 24
gtk-enable-animations = 1
gtk-theme-name = "Dracula"
gtk-icon-theme-name = "breeze-dark"
gtk-font-name = "Ubuntu 10"
gtk-decoration-layout = "icon:minimize,maximize,close"

3.0

Some settings in GTK 3.0 don’t work if we quote their values.

[Settings]
<<gtk-settings-2.0>>
gtk-theme-name = Dracula
gtk-icon-theme-name = breeze-dark
gtk-font-name = Ubuntu 10
gtk-error-bell = false
gtk-decoration-layout = icon:minimize,maximize,close

4.0

<<gtk-settings-3.0>>

File dialog bookmarks

Bookmarks for GTK’s FileChooser. Each bookmark is bound to the shortcut Alt+<number>, where indexing starts from 1, and Alt+0 chooses the 10th item.

file://<<eval-user-home()>>/proj projects
file://<<eval-user-home()>>/src src
file://<<eval-user-home()>>/tmp ~/tmp
file://<<eval-user-home()>>/data data
file://<<eval-user-home()>>/mnt/cloud cloud
file://<<eval-user-home()>>/repo repo
file://<<eval-user-home()>>/data/literature literature
file://<<eval-user-home()>>/.local/share ~/.local/share
file:///dev/null unbound
file:///tmp/stage-<<eval-user-name()>> stage

Flameshot

[General]
allowMultipleGuiInstances=false
autoCloseIdleDaemon=true
buttons=@Variant(\0\0\0\x7f\0\0\0\x19QList<CaptureTool::Type>\0)
checkForUpdates=false
contrastOpacity=188
contrastUiColor=#f298c3
disabledTrayIcon=false
drawColor=#ff8c8c
drawThickness=2
savePath=<<eval-user-home()>>/img
savePathFixed=false
showDesktopNotification=true
showHelp=false
showStartupLaunchMessage=false
startupLaunch=false
uiColor=#d098ff
undoLimit=100
uploadHistoryMax=25

[Shortcuts]
TYPE_ACCEPT=Enter
TYPE_ARROW=A
TYPE_CIRCLE=C
TYPE_CIRCLECOUNT=N
TYPE_COMMIT_CURRENT_TOOL=Ctrl+Return
TYPE_COPY=Ctrl+C
TYPE_DELETE_CURRENT_TOOL=Del
TYPE_DRAWER=D
TYPE_EXIT=Ctrl+Q
TYPE_IMAGEUPLOADER=Ctrl+U
TYPE_MARKER=M
TYPE_MOVESELECTION=Ctrl+M
TYPE_MOVE_DOWN=J
TYPE_MOVE_LEFT=H
TYPE_MOVE_RIGHT=L
TYPE_MOVE_UP=K
TYPE_OPEN_APP=Ctrl+O
TYPE_PENCIL=P
TYPE_PIN=F
TYPE_PIXELATE=B
TYPE_RECTANGLE=R
TYPE_REDO=Ctrl+R
TYPE_RESIZE_DOWN=Shift+J
TYPE_RESIZE_LEFT=Shift+H
TYPE_RESIZE_RIGHT=Shift+L
TYPE_RESIZE_UP=Shift+K
TYPE_SAVE=Ctrl+S
TYPE_SELECTION=S
TYPE_SELECTIONINDICATOR=
TYPE_SELECT_ALL=Ctrl+A
TYPE_SIZEDECREASE=-
TYPE_SIZEINCREASE=+
TYPE_TEXT=T
TYPE_TOGGLE_PANEL=Space
TYPE_UNDO=U

Mpv

osd-fractions=yes
ytdl-format=bestvideo[height<=?720]+bestaudio/best
title=${path}
hwdec=auto
# Panning
Alt+LEFT add video-pan-x +.01
Alt+h add video-pan-x +.01
Alt+RIGHT add video-pan-x -.01
Alt+l add video-pan-x -.01
Alt+UP add video-pan-y +.01
Alt+k add video-pan-y +.01
Alt+DOWN add video-pan-y -.01
Alt+j add video-pan-y -.01

Ctrl+r cycle_values video-rotate "90" "180" "270" "0"

n playlist-next
p playlist-prev

Alt+s playlist-shuffle

Del run rm ${path}
Alt+f run mpv --no-terminal ${path}

Ctrl+l ab-loop

h seek -0.5 exact
l seek +0.5 exact

VirtualBox

<?xml version="1.0"?>
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.12-linux">
  <Global>
    <ExtraData>
      <ExtraDataItem name="GUI/Input/AutoCapture" value="false"/>
      <ExtraDataItem name="GUI/RecentFolderCD"
                     value="<<eval-user-home()>>/mnt/vm/lib"/>
      <ExtraDataItem name="GUI/SuppressMessages" value="remindAboutAutoCapture"/>
      <ExtraDataItem name="GUI/Toolbar" value="false"/>
    </ExtraData>
    <SystemProperties defaultMachineFolder="<<eval-user-home()>>/mnt/vm/vbox"
                      defaultHardDiskFormat="VDI"
                      VRDEAuthLibrary="VBoxAuth"
                      webServiceAuthLibrary="VBoxAuth"
                      LogHistoryCount="3"
                      proxyMode="0"
                      exclusiveHwVirt="true"/>
  </Global>
</VirtualBox>

Dconf

[org/gnome/desktop/peripherals/touchpad]
natural-scroll=false
send-events='enabled'
tap-to-click=true
two-finger-scrolling-enabled=true

[org/gnome/desktop/input-sources]
sources=[('xkb', 'ba+alternatequotes'), ('xkb', 'us')]

[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0]
binding='<Super>Return'
command='term'
name='Terminal'

Desktop entries

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
NoDisplay=true

Emacs

<<desktop-base>>
Exec=myemacs -c
Name=Emacs
MimeType=text/plain;text/markdown;text/org;application/x-bibtex;application/x-octet-stream;

VS Code

<<desktop-base>>
Exec=code
Name=VSCode

alacritty-open

<<desktop-base>>
Exec=alacritty --working-directory %U
MimeType=inode/directory

Helpers

(user-login-name)
(expand-file-name "~")