From 557ba52be00cd6d49e7b062d59f670b42fd2ac04 Mon Sep 17 00:00:00 2001 From: dslm4515 Date: Sun, 21 Feb 2021 01:07:14 -0600 Subject: [PATCH] Added example dotfiles. --- configs/foot/foot.ini | 131 ++++++++++++++++++ configs/wayfire.ini | 313 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 444 insertions(+) create mode 100644 configs/foot/foot.ini create mode 100644 configs/wayfire.ini diff --git a/configs/foot/foot.ini b/configs/foot/foot.ini new file mode 100644 index 0000000..fb51fdc --- /dev/null +++ b/configs/foot/foot.ini @@ -0,0 +1,131 @@ +# -*- conf -*- + +# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) +# term=foot (or xterm-256color if built with -Dterminfo=false) +term = xterm-256color +# login-shell=no +title = foot-terminal + +# font=monospace:size=8 +# font-bold= +# font-italic= +# font-bold-italic= +# line-height= +# letter-spacing=0 +# horizontal-letter-offset=0 +# vertical-letter-offset=0 +# dpi-aware=yes + +# initial-window-size-pixels=700x500 # Or, +# initial-window-size-chars= +# initial-window-mode=windowed +# pad=2x2 # optionally append 'center' +# resize-delay-ms=100 + +# bold-text-in-bright=no +# bell=none +bell=notify +# word-delimiters=,│`|:"'()[]{}<> +# notify=notify-send -a foot -i foot ${title} ${body} +# selection-target=primary +# workers= + +[scrollback] +# lines=1000 +# multiplier=3.0 +# indicator-position=relative +# indicator-format= + +[cursor] +# style=block +# color=111111 dcdccc +# blink=no +blink=no + +[mouse] +# hide-when-typing=no +# alternate-scroll-mode=yes + +[colors] +# alpha=1.0 +# foreground=dcdccc +# background=111111 +# regular0=222222 # black +# regular1=cc9393 # red +# regular2=7f9f7f # green +# regular3=d0bf8f # yellow +# regular4=6ca0a3 # blue +# regular5=dc8cc3 # magenta +# regular6=93e0e3 # cyan +# regular7=dcdccc # white +# bright0=666666 # bright black +# bright1=dca3a3 # bright red +# bright2=bfebbf # bright green +# bright3=f0dfaf # bright yellow +# bright4=8cd0d3 # bright blue +# bright5=fcace3 # bright magenta +# bright6=b3ffff # bright cyan +# bright7=ffffff # bright white +# selection-foreground= +# selection-background= + +[csd] +# preferred=server +# size=26 +# color= +# button-width=26 +# button-minimize-color=ff0000ff +# button-maximize-color=ff00ff00 +# button-close-color=ffff0000 + +[key-bindings] +# scrollback-up-page=Shift+Page_Up +# scrollback-up-half-page=none +# scrollback-up-line=none +# scrollback-down-page=Shift+Page_Down +# scrollback-down-half-page=none +# scrollback-down-line=none +# clipboard-copy=Control+Shift+C +# clipboard-paste=Control+Shift+V +# primary-paste=Shift+Insert +# search-start=Control+Shift+R +# font-increase=Control+plus Control+equal Control+KP_Add +# font-decrease=Control+minus Control+KP_Subtract +# font-reset=Control+0 Control+KP_0 +# spawn-terminal=Control+Shift+N +# minimize=none +# maximize=none +# fullscreen=none +# pipe-visible=[sh -c "xurls | bemenu | xargs -r firefox"] none +# pipe-scrollback=[sh -c "xurls | bemenu | xargs -r firefox"] none +# pipe-selected=[xargs -r firefox] none + +[search-bindings] +# cancel=Control+g Escape +# commit=Return +# find-prev=Control+r +# find-next=Control+s +# cursor-left=Left Control+b +# cursor-left-word=Control+Left Mod1+b +# cursor-right=Right Control+f +# cursor-right-word=Control+Right Mod1+f +# cursor-home=Home Control+a +# cursor-end=End Control+e +# delete-prev=BackSpace +# delete-prev-word=Mod1+BackSpace Control+BackSpace +# delete-next=Delete +# delete-next-word=Mod1+d Control+Delete +# extend-to-word-boundary=Control+w +# extend-to-next-whitespace=Control+Shift+W +# clipboard-paste=Control+v Control+y +# primary-paste=Shift+Insert + +[mouse-bindings] +# primary-paste=BTN_MIDDLE +# select-begin=BTN_LEFT +# select-begin-block=Control+BTN_LEFT +# select-extend=BTN_RIGHT +# select-extend-character-wise=Control+BTN_RIGHT +# select-word=BTN_LEFT-2 +# select-word-whitespace=Control+BTN_LEFT-2 +# select-row=BTN_LEFT-3 diff --git a/configs/wayfire.ini b/configs/wayfire.ini new file mode 100644 index 0000000..97c1979 --- /dev/null +++ b/configs/wayfire.ini @@ -0,0 +1,313 @@ +# 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,fr +# xkb_variant = dvorak,bepo +# +# See Input options for a complete reference. +# https://github.com/WayfireWM/wayfire/wiki/Configuration#input + +# Output configuration ───────────────────────────────────────────────────────── + +# Example configuration: +# +# [output:eDP-1] +# mode = 1920x1080@60000 +# layout = 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 \ + animate \ + autostart \ + command \ + cube \ + decoration \ + expo \ + fast-switcher \ + fisheye \ + grid \ + idle \ + invert \ + move \ + oswitch \ + place \ + resize \ + switcher \ + vswitch \ + window-rules \ + wobbly \ + wrot \ + zoom + +# Enable/Disable Xwayland +xwayland = 0 + +# 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 | KEY_F4 + +# 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 = + +# 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 = wf-dock + +# Output configuration +# https://wayland.emersion.fr/kanshi/ +outputs = kanshi + +# Notifications +# https://wayland.emersion.fr/mako/ +notifications = mako + +# Screen color temperature +# https://sr.ht/~kennylevinsen/wlsunset/ +gamma = wlsunset + +# Idle configuration +# https://github.com/swaywm/swayidle +# https://github.com/swaywm/swaylock +idle = swayidle before-sleep swaylock + +# XDG desktop portal +# Needed by some GTK applications +portal = /usr/libexec/xdg-desktop-portal + +pkagent = /usr/libexec/polkit-gnome-authentication-agent-1 + +# 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 = foot -T " t e r m i n a l" + +# 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_ENTER +command_launcher = wofi + +# Screen locker +# https://github.com/swaywm/swaylock +binding_lock = KEY_ESC +command_lock = swaylock + +# 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 = amixer set Master 5%+ +repeatable_binding_volume_down = KEY_VOLUMEDOWN +command_volume_down = amixer set Master 5%- +binding_mute = KEY_MUTE +command_mute = amixer set Master 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 ────────────────────────────────────────────────────────────────────── + +# 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. +binding_win_left = KEY_LEFT +binding_win_down = KEY_DOWN +binding_win_up = KEY_UP +binding_win_right = KEY_RIGHT + +# Show the current workspace row as a cube. +[cube] +activate = BTN_LEFT +# 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 + +# 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