feat(ostree-images): import river template files from wayblue
This commit is contained in:
parent
3f8e44008c
commit
576311545e
60 changed files with 2169 additions and 0 deletions
3
ostree-images/river/files/system/wayfire/etc/environment
Normal file
3
ostree-images/river/files/system/wayfire/etc/environment
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
WAYFIRE_CONFIG_FILE=/usr/share/wayfire/wayfire.ini
|
||||
GTK_THEME=Adwaita:dark
|
||||
QT_STYLE_OVERRIDE=adwaita-dark
|
||||
|
|
@ -0,0 +1 @@
|
|||
TerminalEmulator=foot
|
||||
16
ostree-images/river/files/system/wayfire/usr/bin/startwayfire
Executable file
16
ostree-images/river/files/system/wayfire/usr/bin/startwayfire
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Tell this script to exit if there are any errors.
|
||||
# You should have this in every custom script, to ensure that your completed
|
||||
# builds actually ran successfully without any errors!
|
||||
set -oue pipefail
|
||||
|
||||
|
||||
wayfire_conf="$HOME/.config/wayfire.ini"
|
||||
default_conf="/usr/share/wayfire/wayfire.ini"
|
||||
|
||||
if [ -f "$wayfire_conf" ]; then
|
||||
wayfire -c "$wayfire_conf"
|
||||
else
|
||||
wayfire -c "$default_conf"
|
||||
fi
|
||||
|
|
@ -0,0 +1,332 @@
|
|||
# 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
|
||||
# xkb_options = grp:win_space_toggle
|
||||
#
|
||||
# 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
|
||||
# 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 \
|
||||
animate \
|
||||
autostart \
|
||||
command \
|
||||
cube \
|
||||
decoration \
|
||||
expo \
|
||||
fast-switcher \
|
||||
fisheye \
|
||||
foreign-toplevel \
|
||||
grid \
|
||||
gtk-shell \
|
||||
idle \
|
||||
invert \
|
||||
move \
|
||||
oswitch \
|
||||
place \
|
||||
resize \
|
||||
shortcuts-inhibit \
|
||||
switcher \
|
||||
vswitch \
|
||||
wayfire-shell \
|
||||
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 = <super> KEY_Q | <alt> 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 = <super> BTN_LEFT
|
||||
|
||||
# Resize them with right mouse button + Super.
|
||||
[resize]
|
||||
activate = <super> BTN_RIGHT
|
||||
|
||||
# Zoom in the desktop by scrolling + Super.
|
||||
[zoom]
|
||||
modifier = <super>
|
||||
|
||||
# Change opacity by scrolling with Super + Alt.
|
||||
[alpha]
|
||||
modifier = <super> <alt>
|
||||
|
||||
# Rotate windows with the mouse.
|
||||
[wrot]
|
||||
activate = <super> <ctrl> BTN_RIGHT
|
||||
|
||||
# Fisheye effect.
|
||||
[fisheye]
|
||||
toggle = <super> <ctrl> KEY_F
|
||||
|
||||
# Startup commands ─────────────────────────────────────────────────────────────
|
||||
|
||||
[autostart]
|
||||
|
||||
# Automatically start background and panel.
|
||||
# Set to false if you want to override the default clients.
|
||||
autostart_wf_shell = false
|
||||
background = wf-background -c /usr/share/wayfire/wf-shell.ini
|
||||
panel = wf-panel -c /usr/share/wayfire/wf-shell.ini
|
||||
|
||||
# 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
|
||||
notifications = dunst
|
||||
|
||||
# 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-gtk
|
||||
|
||||
polkit = /usr/libexec/xfce-polkit
|
||||
|
||||
GTK_Theme=adw-gtk3-dark
|
||||
GDK_BACKEND=wayland
|
||||
|
||||
nm_applet = nm-applet --indicator
|
||||
bt_applet = blueman-applet
|
||||
|
||||
0_environment = dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY XAUTHORITY
|
||||
keyring = /usr/bin/gnome-keyring-daemon --start --components=secrets
|
||||
kwallet = exec /usr/libexec/pam_kwallet_init
|
||||
|
||||
# Example configuration:
|
||||
#
|
||||
# [idle]
|
||||
# toggle = <super> 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 = <super> KEY_ENTER
|
||||
command_terminal = foot
|
||||
|
||||
# Start your launcher
|
||||
binding_launcher = <super> <shift> KEY_ENTER
|
||||
command_launcher = rofi -show drun
|
||||
|
||||
# Screen locker
|
||||
# https://github.com/swaywm/swaylock
|
||||
binding_lock = <super> <shift> KEY_ESC
|
||||
command_lock = swaylock
|
||||
|
||||
# Logout
|
||||
# https://github.com/ArtsyMacaw/wlogout
|
||||
binding_logout = <super> 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 = <shift> 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
|
||||
repeatable_binding_light_up = KEY_BRIGHTNESSUP
|
||||
command_light_up = brightnessctl s +5%
|
||||
repeatable_binding_light_down = KEY_BRIGHTNESSDOWN
|
||||
command_light_down = brightnessctl s 5%-
|
||||
|
||||
# Windows ──────────────────────────────────────────────────────────────────────
|
||||
|
||||
# Actions related to window management functionalities.
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# [wm-actions]
|
||||
# toggle_fullscreen = <super> KEY_F
|
||||
# toggle_always_on_top = <super> KEY_X
|
||||
# toggle_sticky = <super> <shift> 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 = <super> KEY_KP1
|
||||
slot_b = <super> KEY_KP2
|
||||
slot_br = <super> KEY_KP3
|
||||
slot_l = <super> KEY_LEFT | <super> KEY_KP4
|
||||
slot_c = <super> KEY_UP | <super> KEY_KP5
|
||||
slot_r = <super> KEY_RIGHT | <super> KEY_KP6
|
||||
slot_tl = <super> KEY_KP7
|
||||
slot_t = <super> KEY_KP8
|
||||
slot_tr = <super> KEY_KP9
|
||||
# Restore default.
|
||||
restore = <super> KEY_DOWN | <super> KEY_KP0
|
||||
|
||||
# Change active window with an animation.
|
||||
[switcher]
|
||||
next_view = <alt> KEY_TAB
|
||||
prev_view = <alt> <shift> KEY_TAB
|
||||
|
||||
# Simple active window switcher.
|
||||
[fast-switcher]
|
||||
activate = <alt> KEY_ESC
|
||||
|
||||
# Workspaces ───────────────────────────────────────────────────────────────────
|
||||
|
||||
# Switch to workspace.
|
||||
[vswitch]
|
||||
binding_left = <ctrl> <super> KEY_LEFT
|
||||
binding_down = <ctrl> <super> KEY_DOWN
|
||||
binding_up = <ctrl> <super> KEY_UP
|
||||
binding_right = <ctrl> <super> KEY_RIGHT
|
||||
# Move the focused window with the same key-bindings, but add Shift.
|
||||
with_win_left = <ctrl> <super> <shift> KEY_LEFT
|
||||
with_win_down = <ctrl> <super> <shift> KEY_DOWN
|
||||
with_win_up = <ctrl> <super> <shift> KEY_UP
|
||||
with_win_right = <ctrl> <super> <shift> KEY_RIGHT
|
||||
|
||||
# Show the current workspace row as a cube.
|
||||
[cube]
|
||||
activate = <ctrl> <alt> BTN_LEFT
|
||||
# Switch to the next or previous workspace.
|
||||
#rotate_left = <super> <ctrl> KEY_H
|
||||
#rotate_right = <super> <ctrl> KEY_L
|
||||
|
||||
# Show an overview of all workspaces.
|
||||
[expo]
|
||||
toggle = <super>
|
||||
# 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 = <super> KEY_O
|
||||
# Same with the window.
|
||||
next_output_with_win = <super> <shift> KEY_O
|
||||
|
||||
# Invert the colors of the whole output.
|
||||
[invert]
|
||||
toggle = <super> 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
|
||||
|
|
@ -0,0 +1,175 @@
|
|||
[background]
|
||||
# Full path to image or directory of images
|
||||
# image = /usr/share/wayfire/wallpaper.jpg
|
||||
# Whether to scale images or preserve background ratio
|
||||
preserve_aspect = 0
|
||||
# In the case of directory, timeout between changing backgrounds, in seconds
|
||||
cycle_timeout = 150
|
||||
# In the case of directory, whether or not to randomize images
|
||||
randomize = 0
|
||||
|
||||
[panel]
|
||||
# widgets_* is a space-separated list of widgets to be displayed
|
||||
# at the corresponding part of the panel
|
||||
# Supported widgets are: launchers clock network battery window-list volume menu notifications tray command-output
|
||||
# A special widgets is spacing widgets, it can be used to add padding everywhere on the panel
|
||||
# To use it, just append the amount of pixels you want as a padding
|
||||
# to the word "spacing" and use it as a plugin
|
||||
widgets_left = menu window-list
|
||||
widgets_center = launchers
|
||||
widgets_right = notifications volume battery tray clock
|
||||
|
||||
# The minimal size of the panel. Note that some widgets might force panel bigger than this size.
|
||||
# All widgets also have individual settings for size
|
||||
# Changing this requires a panel restart
|
||||
minimal_height = 24
|
||||
|
||||
# automatically hide when pointer isn't over the panel
|
||||
autohide = false
|
||||
|
||||
# time in milliseconds to wait before hiding
|
||||
autohide_duration = 300
|
||||
|
||||
# layer can be top, bottom, overlay or background
|
||||
layer = top
|
||||
|
||||
# where to position panel
|
||||
# Possible values are only "top" and "bottom"
|
||||
position = bottom
|
||||
|
||||
# set the background color.
|
||||
background_color = gtk_headerbar # match the color of a GtkHeaderbar
|
||||
#background_color = $555555 # Hex color, for example $FFFFFF for white
|
||||
#background_color = 0.033 0.041 0.047 0.9 # RGBA color, 1.0 0.0 0.0 0.5 for semi-transparent red
|
||||
|
||||
|
||||
# Configuration for the launchers widget
|
||||
# can be a desktop file
|
||||
launcher_terminal1 = foot.desktop
|
||||
|
||||
# or a combination of bash command + icon
|
||||
# launcher_cmd_1 = env XDG_CURRENT_DESKTOP=GNOME gnome-control-center
|
||||
# launcher_icon_1 = /usr/share/icons/gnome/48x48/categories/preferences-system.png
|
||||
|
||||
launcher_thunar = thunar.desktop
|
||||
launcher_wcm = wayfire-config-manager.desktop
|
||||
|
||||
# spacing between widgets, can be negative
|
||||
launchers_spacing = 4
|
||||
|
||||
# size of the launcher icon
|
||||
launchers_size = 42
|
||||
|
||||
|
||||
# Configuration for the clock widget
|
||||
# clock format, uses the Glib Time formatting
|
||||
clock_format = %e %a %H:%M
|
||||
# clock font
|
||||
clock_font = DejaVu Sans:style=Book 12
|
||||
|
||||
|
||||
# Configuration for the battery widget
|
||||
# How much info to display:
|
||||
# 0 -> only icon, 1 -> icon + percentage, 2 -> full info
|
||||
battery_status = 1
|
||||
battery_icon_size = 32
|
||||
|
||||
# invert the colors of the icon, needs to be adjusted according to the size of the icons,
|
||||
# because some icon sizes are white, and others are black
|
||||
battery_icon_invert = 1
|
||||
|
||||
# Font to use in the battery percentage indicator
|
||||
battery_font = default
|
||||
|
||||
|
||||
# Configuration for the network widget
|
||||
# Whether to display connection details, for ex. Wifi AP name
|
||||
network_status = 1
|
||||
|
||||
network_status_font = DejaVu Sans:style=Book 10
|
||||
# network_icon_size = 30
|
||||
network_icon_invert_color = 1
|
||||
|
||||
# whether to colour the wifi signal strength
|
||||
network_status_use_color = yes
|
||||
|
||||
|
||||
# Configuration for the menu widget
|
||||
# whether to enable fuzzy search in the menu
|
||||
menu_fuzzy_search = 1
|
||||
|
||||
# Minimum width and height for the contents of the menu.
|
||||
# Can be useful for small screens and/or high DPI scaling.
|
||||
menu_min_content_width = 500
|
||||
menu_min_content_height = 500
|
||||
|
||||
# image file to use as the menu icon
|
||||
menu_icon = /usr/share/icons/Paper/32x32/places/fedora.png
|
||||
|
||||
# command run when the logout button is clicked
|
||||
menu_logout_command =
|
||||
|
||||
|
||||
# Configuration for the volume widget
|
||||
# Number of seconds volume popover will display
|
||||
# after scrolling on the volume icon
|
||||
volume_display_timeout = 2.5
|
||||
|
||||
|
||||
# Configuration for the tray widget
|
||||
# Amount of smooth scrolling needed to trigger one scroll wheel step
|
||||
tray_smooth_scrolling_threshold = 5
|
||||
|
||||
# The icon size to use for tray icons
|
||||
tray_icon_size = 32
|
||||
|
||||
# Enable showing of the tray menu when using middle-click, otherwise, right-click is used
|
||||
tray_menu_on_middle_click = false
|
||||
|
||||
|
||||
# Configuration for the notifications widget
|
||||
notifications_autohide_timeout = 2.5
|
||||
|
||||
# Show criticial notifications in do-not-disturb mode, which is triggered by middle-clicking the DND button.
|
||||
notifications_critical_in_dnd = true
|
||||
notifications_icon_size = 32
|
||||
|
||||
|
||||
# Configuration for the command output widget, there may be multiple commands.
|
||||
# The command output widget is used to display the output of a shell command, which can be periodically refreshed.
|
||||
# For example, showing the current CPU temperature by parsing `sensors` output (command may need adjustment for your particular sensor name!)
|
||||
|
||||
# Maximum amount of characters to show in the panel, if the command's output is too long
|
||||
commands_output_max_chars = 10
|
||||
|
||||
# A list of commands + attributes, multiple commands can be declared after one another. The commands are numbered 1, 2, 3, etc.
|
||||
|
||||
# The command to be run, uncomment and adapt according to the output of sensors on your system
|
||||
#command_output_1 = sensors | grep Package | cut -d ' ' -f 5
|
||||
|
||||
# A command which is run and whose output is displayed in a tooltip when hovering the widget
|
||||
#command_output_tooltip_1 = sensors
|
||||
|
||||
# Refresh the output of the command ever 1s. Can be set to -1 for manual updates with the mouse, or 0 for a single update at startup.
|
||||
# command_output_period_1 = 1
|
||||
|
||||
# Optionally, an icon can be displayed next to the text. Leave empty (first option) for no icon.
|
||||
# command_output_icon_1 =
|
||||
# command_output_icon_1 = text-x-script
|
||||
|
||||
# Position and size for the icon, if it is not empty
|
||||
#command_output_icon_size_1 = 32
|
||||
#command_output_icon_position_1 = left # or right, top, bottom
|
||||
|
||||
[dock]
|
||||
# time in milliseconds to wait before hiding
|
||||
autohide_duration = 300
|
||||
|
||||
# vertical alignment on the desktop
|
||||
# the only possible values are "top" and "bottom"
|
||||
position = bottom
|
||||
|
||||
# For applications that aren't installed/configured properly, you can manually
|
||||
# set icons for given app_id's. Below is an example for IntelliJ IDEA
|
||||
# icon_mapping_jetbrains-idea-ce = /<path to intellij>/idea.png
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Name=Wayfire
|
||||
Exec=/usr/bin/startwayfire
|
||||
Icon=
|
||||
Type=Application
|
||||
DesktopNames=Wayfire
|
||||
Loading…
Add table
Add a link
Reference in a new issue