upload to gitea
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<actions>
|
||||
<action>
|
||||
<icon>utilities-terminal</icon>
|
||||
<name>Open Terminal Here</name>
|
||||
<unique-id>1611168259857250-1</unique-id>
|
||||
<command>sh -c 'cd %f; footclient'</command>
|
||||
<description>Open a terminal at the current location</description>
|
||||
<patterns>*</patterns>
|
||||
<startup-notify/>
|
||||
<directories/>
|
||||
</action>
|
||||
</actions>
|
||||
@@ -0,0 +1,195 @@
|
||||
# -*- conf -*-
|
||||
|
||||
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
||||
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
|
||||
# login-shell=no
|
||||
|
||||
# app-id=foot
|
||||
# title=foot
|
||||
# locked-title=no
|
||||
|
||||
font=JetBrainsMono-Regular:size=11
|
||||
# font-bold=<bold variant of regular font>
|
||||
# font-italic=<italic variant of regular font>
|
||||
# font-bold-italic=<bold+italic variant of regular font>
|
||||
# line-height=<font metrics>
|
||||
# letter-spacing=0
|
||||
# horizontal-letter-offset=0
|
||||
# vertical-letter-offset=0
|
||||
# underline-offset=<font metrics>
|
||||
# box-drawings-uses-font-glyphs=no
|
||||
# dpi-aware=auto
|
||||
|
||||
# initial-window-size-pixels=700x500 # Or,
|
||||
# initial-window-size-chars=<COLSxROWS>
|
||||
# initial-window-mode=windowed
|
||||
pad=12x12 # optionally append 'center'
|
||||
# resize-delay-ms=100
|
||||
|
||||
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
|
||||
|
||||
# bold-text-in-bright=no
|
||||
# word-delimiters=,│`|:"'()[]{}<>
|
||||
# selection-target=primary
|
||||
# workers=<number of logical CPUs>
|
||||
|
||||
[environment]
|
||||
# name=value
|
||||
|
||||
[bell]
|
||||
# urgent=no
|
||||
# notify=no
|
||||
# command=
|
||||
# command-focused=no
|
||||
|
||||
[scrollback]
|
||||
# lines=1000
|
||||
# multiplier=3.0
|
||||
# indicator-position=relative
|
||||
# indicator-format=
|
||||
|
||||
[url]
|
||||
# launch=xdg-open ${url}
|
||||
# label-letters=sadfjklewcmpgh
|
||||
# osc8-underline=url-mode
|
||||
# protocols=http, https, ftp, ftps, file, gemini, gopher
|
||||
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
|
||||
|
||||
[cursor]
|
||||
# style=block
|
||||
# color=<inverse foreground/background>
|
||||
# blink=no
|
||||
# beam-thickness=1.5
|
||||
# underline-thickness=<font underline thickness>
|
||||
|
||||
[mouse]
|
||||
# hide-when-typing=no
|
||||
# alternate-scroll-mode=yes
|
||||
|
||||
[colors]
|
||||
alpha=0.9 # Adjust alpha to change transparency level
|
||||
foreground=e3e3ea # ColorForeground
|
||||
background=1c1824 # ColorBackground
|
||||
|
||||
## Normal/regular colors (color palette 0-7)
|
||||
regular0=546E7A # gray
|
||||
regular1=FF4A4A # red
|
||||
regular2=3FF27D # green
|
||||
regular3=FFC233 # yellow
|
||||
regular4=339CFF # blue
|
||||
regular5=C166FF # purple
|
||||
regular6=33FFF0 # cyan
|
||||
regular7=E5E5E5 # white
|
||||
|
||||
## Bright colors (color palette 8-15)
|
||||
bright0=B0BEC5 # bright gray
|
||||
bright1=FF7070 # bright red
|
||||
bright2=62FFA0 # bright green
|
||||
bright3=FFD966 # bright yellow
|
||||
bright4=66B2FF # bright blue
|
||||
bright5=D884FF # bright purple
|
||||
bright6=5DFFF5 # bright cyan
|
||||
bright7=FFFFFF # bright white
|
||||
|
||||
## dimmed colors (see foot.ini(5) man page)
|
||||
# dim0=<not set>
|
||||
# ...
|
||||
# dim7=<not-set>
|
||||
|
||||
## The remaining 256-color palette
|
||||
# 16 = <256-color palette #16>
|
||||
# ...
|
||||
# 255 = <256-color palette #255>
|
||||
|
||||
## Misc colors
|
||||
# selection-foreground=<inverse foreground/background>
|
||||
# selection-background=<inverse foreground/background>
|
||||
# jump-labels=<regular0> <regular3> # black-on-yellow
|
||||
# scrollback-indicator=<regular0> <bright4> # black-on-bright-blue
|
||||
# search-box-no-match=<regular0> <regular1> # black-on-red
|
||||
# search-box-match=<regular0> <regular3> # black-on-yellow
|
||||
# urls=<regular3>
|
||||
|
||||
[csd]
|
||||
# preferred=server
|
||||
size=0
|
||||
# font=<primary font>
|
||||
# color=<foreground color>
|
||||
# hide-when-typing=no
|
||||
# border-width=0
|
||||
# border-color=<csd.color>
|
||||
# button-width=26
|
||||
# button-color=<background color>
|
||||
# button-minimize-color=<regular4>
|
||||
# button-maximize-color=<regular2>
|
||||
# button-close-color=<regular1>
|
||||
|
||||
[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 XF86Copy
|
||||
# clipboard-paste=Control+Shift+v XF86Paste
|
||||
# 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 | fuzzel | xargs -r firefox"] none
|
||||
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||
# pipe-selected=[xargs -r firefox] none
|
||||
# show-urls-launch=Control+Shift+u
|
||||
# show-urls-copy=none
|
||||
# show-urls-persistent=none
|
||||
# prompt-prev=Control+Shift+z
|
||||
# prompt-next=Control+Shift+x
|
||||
# unicode-input=none
|
||||
# noop=none
|
||||
|
||||
[search-bindings]
|
||||
# cancel=Control+g Control+c 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+Shift+v Control+y XF86Paste
|
||||
# primary-paste=Shift+Insert
|
||||
# unicode-input=none
|
||||
|
||||
[url-bindings]
|
||||
# cancel=Control+g Control+c Control+d Escape
|
||||
# toggle-url-visible=t
|
||||
|
||||
[text-bindings]
|
||||
# \x03=Mod4+c # Map Super+c -> Ctrl+c
|
||||
|
||||
[mouse-bindings]
|
||||
# selection-override-modifiers=Shift
|
||||
# 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
|
||||
|
||||
# vim: ft=dosini
|
||||
@@ -0,0 +1,115 @@
|
||||
# output=<not set>
|
||||
font=JetBrainsMono-Regular:size=14
|
||||
dpi-aware=no
|
||||
# use-bold=no
|
||||
prompt="❯ "
|
||||
# placeholder=
|
||||
# icon-theme=hicolor
|
||||
# icons-enabled=yes
|
||||
# fields=filename,name,generic
|
||||
# password-character=*
|
||||
# filter-desktop=no
|
||||
# match-mode=fzf
|
||||
# sort-result=yes
|
||||
# match-counter=no
|
||||
# delayed-filter-ms=300
|
||||
# delayed-filter-limit=20000
|
||||
# show-actions=no
|
||||
terminal=footclient -e
|
||||
# launch-prefix=<not set>
|
||||
# list-executables-in-path=no
|
||||
|
||||
# anchor=center
|
||||
# x-margin=0
|
||||
# y-margin=0
|
||||
lines=16
|
||||
width=50
|
||||
tabs=4
|
||||
horizontal-pad=50
|
||||
vertical-pad=18
|
||||
inner-pad=10
|
||||
|
||||
image-size-ratio=.25
|
||||
|
||||
# line-height=<use font metrics>
|
||||
# letter-spacing=0
|
||||
|
||||
# layer=overlay
|
||||
exit-on-keyboard-focus-loss=no
|
||||
|
||||
# cache=<not set>
|
||||
|
||||
# render-workers=<number of logical CPUs>
|
||||
# match-workers=<number of logical CPUs>
|
||||
|
||||
[colors]
|
||||
background=08052bdd
|
||||
text=e3e3eaff
|
||||
prompt=ff7f7fff
|
||||
# placeholder=ffd966ff
|
||||
input=ff7f7fff
|
||||
match=FFE57Fff
|
||||
selection-match=FFE57Fff
|
||||
selection=44475add
|
||||
selection-text=FFFFFFff
|
||||
# counter=93a1a1ff
|
||||
border=7f3fbf55
|
||||
|
||||
[border]
|
||||
# width=1
|
||||
# radius=10
|
||||
|
||||
[dmenu]
|
||||
# mode=text # text|index
|
||||
# exit-immediately-if-empty=no
|
||||
|
||||
[key-bindings]
|
||||
# cancel=Escape Control+g Control+c Control+bracketleft
|
||||
# execute=Return KP_Enter Control+y
|
||||
# execute-or-next=Tab
|
||||
# execute-input=Shift+Return Shift+KP_Enter
|
||||
# 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 Control+h
|
||||
# delete-prev-word=Mod1+BackSpace Control+BackSpace Control+w
|
||||
# delete-line-backward=Control+u
|
||||
# delete-next=Delete KP_Delete Control+d
|
||||
# delete-next-word=Mod1+d Control+Delete Control+KP_Delete
|
||||
# delete-line-forward=Control+k
|
||||
# prev=Up Control+p
|
||||
# prev-with-wrap=ISO_Left_Tab
|
||||
# prev-page=Page_Up KP_Page_Up
|
||||
# next=Down Control+n
|
||||
# next-with-wrap=none
|
||||
# next-page=Page_Down KP_Page_Down
|
||||
# expunge=Shift+Delete
|
||||
# clipboard-paste=Control+v XF86Paste
|
||||
# primary-paste=Shift+Insert Shift+KP_Insert
|
||||
|
||||
# custom-N: *dmenu mode only*. Like execute, but with a non-zero
|
||||
# exit-code; custom-1 exits with code 10, custom-2 with 11, custom-3
|
||||
# with 12, and so on.
|
||||
|
||||
# custom-1=Mod1+1
|
||||
# custom-2=Mod1+2
|
||||
# custom-3=Mod1+3
|
||||
# custom-4=Mod1+4
|
||||
# custom-5=Mod1+5
|
||||
# custom-6=Mod1+6
|
||||
# custom-7=Mod1+7
|
||||
# custom-8=Mod1+8
|
||||
# custom-9=Mod1+9
|
||||
# custom-10=Mod1+0
|
||||
# custom-11=Mod1+exclam
|
||||
# custom-12=Mod1+at
|
||||
# custom-13=Mod1+numbersign
|
||||
# custom-14=Mod1+dollar
|
||||
# custom-15=Mod1+percent
|
||||
# custom-16=Mod1+dead_circumflex
|
||||
# custom-17=Mod1+ampersand
|
||||
# custom-18=Mod1+asterix
|
||||
# custom-19=Mod1+parentleft
|
||||
@@ -0,0 +1,16 @@
|
||||
[Settings]
|
||||
gtk-theme-name=Arc-Dark
|
||||
gtk-icon-theme-name=Qogir-dark
|
||||
gtk-font-name=Noto Sans 10
|
||||
gtk-cursor-theme-name=Qogir-dark
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=0
|
||||
gtk-menu-images=0
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=1
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintmedium
|
||||
gtk-xft-rgba=rgb
|
||||
|
After Width: | Height: | Size: 21 MiB |
@@ -0,0 +1,19 @@
|
||||
[main]
|
||||
gtk-theme=Arc-Dark
|
||||
time-format=%l:%M %p
|
||||
start-hidden=1
|
||||
modules=userinfo-module;powerbar-module
|
||||
|
||||
[userinfo]
|
||||
round-image=true
|
||||
horizontal-layout=false
|
||||
under-clock=true
|
||||
|
||||
[powerbar]
|
||||
show-labels=true
|
||||
linked-buttons=true
|
||||
reboot-command=systemctl reboot
|
||||
poweroff-command=systemctl -i poweroff
|
||||
suspend-command=systemctl suspend
|
||||
userswitch-command=
|
||||
logout-command=swaymsg exit
|
||||
@@ -0,0 +1,47 @@
|
||||
* {
|
||||
border: none;
|
||||
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8)
|
||||
}
|
||||
window {
|
||||
background-image: url("background-lock.png");
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-color: black;
|
||||
}
|
||||
#clock-label {
|
||||
font-family: JetBrainsMono;
|
||||
font-size: 64.0px;
|
||||
}
|
||||
#unlock-button {
|
||||
background: none;
|
||||
background-color: rgba(127, 63, 191, 0.4);
|
||||
border: 2px solid rgba(127, 63, 191, 0.5);
|
||||
padding: 4px;
|
||||
}
|
||||
#unlock-button:hover {
|
||||
background-color: rgba(127, 63, 191, 0.9);
|
||||
}
|
||||
#input-field {
|
||||
border-radius: 10px;
|
||||
background-color: rgba(127, 127, 255, 0.1);
|
||||
border: 2px solid rgba(127, 63, 191, 0.5);
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
#powerbar-box button {
|
||||
background: none;
|
||||
background-color: rgba(127, 63, 191, 0.4);
|
||||
border: 2px solid rgba(127, 63, 191, 0.5);
|
||||
border-radius: 10px;
|
||||
padding: 4px;
|
||||
}
|
||||
#powerbar-box button:hover {
|
||||
background-color: rgba(127, 63, 191, 0.9);
|
||||
}
|
||||
#input-label {
|
||||
font-size: 0px;
|
||||
}
|
||||
#window-box infobar {
|
||||
background-color: transparent;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
font=UbuntuMono 12.5
|
||||
|
||||
background-color=#404552
|
||||
text-color=#e5e9f0
|
||||
width=315
|
||||
height=200
|
||||
padding=10
|
||||
margin=10
|
||||
progress-color=over #eceff480
|
||||
icon-path=/usr/share/icons/Arc-X-D
|
||||
max-icon-size=70
|
||||
layer=overlay
|
||||
|
||||
border-size=5
|
||||
border-radius=0
|
||||
border-color=#5294e2
|
||||
|
||||
default-timeout=5000
|
||||
|
||||
[urgency=high]
|
||||
|
||||
ignore-timeout=1
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
window {
|
||||
background-color: rgba (38, 18, 57, 0.9);
|
||||
color: #eceff4;
|
||||
border-radius: 30px
|
||||
}
|
||||
|
||||
/* search entry */
|
||||
entry {
|
||||
box-shadow: 0 0 6px 5px #2e3440;
|
||||
background-color: rgba (0, 0, 0, 0.5)
|
||||
}
|
||||
|
||||
button, image {
|
||||
background-color: #3b4252;
|
||||
background: none;
|
||||
border: none;
|
||||
margin: 10px
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: rgba (127, 63, 191, .4);
|
||||
box-shadow: 0 0 6px 5px #190C26
|
||||
}
|
||||
|
||||
/* in case you wanted to give category buttons a different look */
|
||||
#category-button {
|
||||
margin: 0 0px 0 0px
|
||||
}
|
||||
|
||||
#pinned-box {
|
||||
padding-bottom: 1px;
|
||||
border-bottom: 1px solid gray
|
||||
}
|
||||
|
||||
#files-box {
|
||||
padding: 1px;
|
||||
border: 1px solid gray
|
||||
}
|
||||
|
After Width: | Height: | Size: 3.2 MiB |
@@ -0,0 +1,6 @@
|
||||
# Config for sway
|
||||
#
|
||||
# Read `man 5 sway` for a complete reference.
|
||||
|
||||
# user config directory
|
||||
include $HOME/.config/sway/config.d/*
|
||||
@@ -0,0 +1,23 @@
|
||||
# Custom windowing rules
|
||||
for_window [class="Yad" instance="yad"] floating enable
|
||||
for_window [app_id="yad"] floating enable
|
||||
for_window [app_id="blueman-manager"] floating enable, resize set width 40 ppt height 30 ppt
|
||||
for_window [app_id="pavucontrol" ] floating enable, resize set width 40 ppt height 30 ppt
|
||||
for_window [window_role="pop-up"] floating enable
|
||||
for_window [window_role="bubble"] floating enable
|
||||
for_window [window_role="task_dialog"] floating enable
|
||||
for_window [window_role="Preferences"] floating enable
|
||||
for_window [window_type="dialog"] floating enable
|
||||
for_window [window_type="menu"] floating enable
|
||||
for_window [window_role="About"] floating enable
|
||||
for_window [title="File Operation Progress"] floating enable, border pixel 1, sticky enable, resize set width 40 ppt height 30 ppt
|
||||
for_window [app_id="floating_shell_portrait"] floating enable, border pixel 1, sticky enable, resize set width 30 ppt height 40 ppt
|
||||
for_window [title="Picture in picture"] floating enable, sticky enable
|
||||
for_window [title="waybar_htop"] floating enable, resize set width 70 ppt height 70 ppt
|
||||
for_window [title="waybar_nmtui"] floating enable
|
||||
for_window [title="Save File"] floating enable
|
||||
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
||||
|
||||
# Inhibit idle
|
||||
for_window [app_id="firefox"] inhibit_idle fullscreen
|
||||
for_window [app_id="Chromium"] inhibit_idle fullscreen
|
||||
@@ -0,0 +1,47 @@
|
||||
# Apply xed settings with self-destructing script
|
||||
exec ~/.config/sway/scripts/xed_setup.sh
|
||||
|
||||
# Auth with polkit-gnome:
|
||||
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
# Import environment variables for user systemd service manager
|
||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
|
||||
# Update dbus environments with display variables
|
||||
exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
|
||||
# Idle configuration
|
||||
exec swayidle idlehint 1
|
||||
exec_always swayidle -w before-sleep "gtklock -d"
|
||||
|
||||
# Desktop notifications
|
||||
exec mako
|
||||
|
||||
# Start foot server
|
||||
exec_always --no-startup-id foot --server
|
||||
|
||||
# Autotiling
|
||||
exec autotiling
|
||||
|
||||
# cliphist
|
||||
exec wl-paste --type text --watch cliphist store
|
||||
exec wl-paste --type image --watch cliphist store
|
||||
|
||||
# Network Applet
|
||||
exec nm-applet --indicator
|
||||
|
||||
# Bluetooth Applet
|
||||
# exec blueman-applet
|
||||
|
||||
# Firewall Applet
|
||||
exec sleep 2 && firewall-applet
|
||||
|
||||
# Welcome App
|
||||
exec eos-welcome --startdelay=3
|
||||
|
||||
# Sway Fader
|
||||
# exec python3 ~/.config/sway/scripts/swayfader.py
|
||||
|
||||
# nwg-drawer
|
||||
exec_always nwg-drawer -r -c 7 -is 90 -mb 10 -ml 50 -mr 50 -mt 10
|
||||
@@ -0,0 +1,225 @@
|
||||
# Logo key. Use Mod1 for Alt.
|
||||
set $mod Mod4
|
||||
|
||||
# Add Vim key support
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
# Set default terminal emulator
|
||||
set $term footclient
|
||||
|
||||
# Application launcher
|
||||
set $launcher fuzzel
|
||||
|
||||
# Application menu
|
||||
set $menu nwg-drawer
|
||||
|
||||
# Power Menu
|
||||
set $powermenu ~/.config/sway/scripts/power_menu.sh
|
||||
|
||||
### Key bindings
|
||||
#
|
||||
# Basics:
|
||||
#
|
||||
# Launch the terminal
|
||||
bindsym $mod+Return exec $term
|
||||
|
||||
# Open the power menu
|
||||
bindsym $mod+Shift+e exec $powermenu
|
||||
|
||||
# Kill focused window
|
||||
bindsym $mod+q kill
|
||||
|
||||
# Start your launcher
|
||||
bindsym $mod+d exec $launcher
|
||||
|
||||
# Menu
|
||||
bindsym $mod+Shift+d exec $menu
|
||||
|
||||
# Lock screen
|
||||
bindsym $mod+f1 exec gtklock
|
||||
|
||||
# Activities
|
||||
bindsym $mod+p exec ~/.config/sway/scripts/window_switcher.sh
|
||||
|
||||
# Move windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
# Change "normal" to "inverse" to switch left and right
|
||||
floating_modifier $mod normal
|
||||
|
||||
# Reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
|
||||
#
|
||||
# Moving around:
|
||||
#
|
||||
bindsym {
|
||||
# Change window focus
|
||||
$mod+Left focus left
|
||||
$mod+Down focus down
|
||||
$mod+Up focus up
|
||||
$mod+Right focus right
|
||||
# Vim key support
|
||||
$mod+$left focus left
|
||||
$mod+$down focus down
|
||||
$mod+$up focus up
|
||||
$mod+$right focus right
|
||||
|
||||
# Move the focused window
|
||||
$mod+Shift+Left move left
|
||||
$mod+Shift+Down move down
|
||||
$mod+Shift+Up move up
|
||||
$mod+Shift+Right move right
|
||||
# Vim key support
|
||||
$mod+Shift+$left move left
|
||||
$mod+Shift+$down move down
|
||||
$mod+Shift+$up move up
|
||||
$mod+Shift+$right move right
|
||||
}
|
||||
|
||||
#
|
||||
# Workspaces:
|
||||
#
|
||||
# Workspace bindings are using bindcode instead of bindsym for better Azerty compatibility.
|
||||
# https://github.com/EndeavourOS-Community-Editions/sway/pull/81
|
||||
# Use wev to find keycodes for setting up other bindings this way.
|
||||
|
||||
bindcode {
|
||||
# Switch to workspace
|
||||
$mod+10 workspace number 1
|
||||
$mod+11 workspace number 2
|
||||
$mod+12 workspace number 3
|
||||
$mod+13 workspace number 4
|
||||
$mod+14 workspace number 5
|
||||
$mod+15 workspace number 6
|
||||
$mod+16 workspace number 7
|
||||
$mod+17 workspace number 8
|
||||
$mod+18 workspace number 9
|
||||
$mod+19 workspace number 10
|
||||
|
||||
# Move focused container to workspace
|
||||
$mod+Shift+10 move container to workspace number 1
|
||||
$mod+Shift+11 move container to workspace number 2
|
||||
$mod+Shift+12 move container to workspace number 3
|
||||
$mod+Shift+13 move container to workspace number 4
|
||||
$mod+Shift+14 move container to workspace number 5
|
||||
$mod+Shift+15 move container to workspace number 6
|
||||
$mod+Shift+16 move container to workspace number 7
|
||||
$mod+Shift+17 move container to workspace number 8
|
||||
$mod+Shift+18 move container to workspace number 9
|
||||
$mod+Shift+19 move container to workspace number 10
|
||||
}
|
||||
# Note: workspaces can have any name you want, not just numbers.
|
||||
# We just use 1-10 as the default.
|
||||
|
||||
#
|
||||
# Layout stuff:
|
||||
#
|
||||
# Set how the current window will be split
|
||||
# Split the window vertically
|
||||
bindsym $mod+v splitv
|
||||
# Split the window horizontally
|
||||
bindsym $mod+b splith
|
||||
|
||||
# Switch the current container between different layout styles
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# Make the current focus fullscreen
|
||||
bindsym $mod+f fullscreen
|
||||
|
||||
# Toggle between tiling and floating mode
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# Swap focus between the tiling area and the floating area
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# Move focus to the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
#
|
||||
# Scratchpad:
|
||||
#
|
||||
# Sway has a "scratchpad", which is a bag of holding for windows.
|
||||
# You can send windows there and get them back later.
|
||||
|
||||
# Move the currently focused window to the scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
#
|
||||
# Resizing containers:
|
||||
#
|
||||
bindsym {
|
||||
# Resize with arrow keys
|
||||
$mod+ctrl+Right resize shrink width 10 px
|
||||
$mod+ctrl+Up resize grow height 10 px
|
||||
$mod+ctrl+Down resize shrink height 10 px
|
||||
$mod+ctrl+Left resize grow width 10 px
|
||||
# Resize with Vim keys
|
||||
$mod+ctrl+l resize shrink width 10 px
|
||||
$mod+ctrl+k resize grow height 10 px
|
||||
$mod+ctrl+j resize shrink height 10 px
|
||||
$mod+ctrl+h resize grow width 10 px
|
||||
}
|
||||
|
||||
# Resize floating windows with mouse scroll:
|
||||
bindsym --whole-window --border {
|
||||
# Resize vertically
|
||||
$mod+button4 resize shrink height 5 px or 5 ppt
|
||||
$mod+button5 resize grow height 5 px or 5 ppt
|
||||
# Resize horizontally
|
||||
$mod+Shift+button4 resize shrink width 5 px or 5 ppt
|
||||
$mod+Shift+button5 resize grow width 5 px or 5 ppt
|
||||
}
|
||||
|
||||
#
|
||||
# Media Keys
|
||||
#
|
||||
bindsym {
|
||||
# Volume
|
||||
XF86AudioRaiseVolume exec pamixer -ui 2
|
||||
XF86AudioLowerVolume exec pamixer -ud 2
|
||||
XF86AudioMute exec pamixer --toggle-mute
|
||||
|
||||
# Player
|
||||
XF86AudioPlay exec playerctl play-pause
|
||||
XF86AudioNext exec playerctl next
|
||||
XF86AudioPrev exec playerctl previous
|
||||
|
||||
# Backlight
|
||||
XF86MonBrightnessUp exec brightnessctl -c backlight set +5%
|
||||
XF86MonBrightnessDown exec brightnessctl -c backlight set 5%-
|
||||
}
|
||||
|
||||
#
|
||||
# App shortcuts
|
||||
#
|
||||
# Launch the file explorer
|
||||
bindsym $mod+n exec thunar
|
||||
|
||||
# Launch the browser
|
||||
bindsym $mod+o exec firefox
|
||||
|
||||
# Launch the clipboard manager
|
||||
bindsym $mod+Ctrl+v exec cliphist list | fuzzel -d -w 90 -l 30 -p "Select an entry to copy it to your clipboard buffer:"| cliphist decode | wl-copy
|
||||
# Delete an entry from the clipboard manager
|
||||
bindsym $mod+Ctrl+x exec cliphist list | fuzzel -d -w 90 -l 30 -t cc9393ff -S cc9393ff -p "Select an entry to delete it from cliphist:"| cliphist delete
|
||||
# Note: you can clear all cliphist entries by running `cliphist wipe`
|
||||
|
||||
#
|
||||
# Screenshots
|
||||
#
|
||||
# Snip a selection and pipe to swappy
|
||||
bindsym print exec grim -g "$(slurp)" - | swappy -f -
|
||||
# Screenshot a window and pipe to swappy
|
||||
bindsym Ctrl+Print exec ~/.config/sway/scripts/screenshot_window.sh
|
||||
# Screenshot the current display and pipe to swappy
|
||||
bindsym Shift+Print exec ~/.config/sway/scripts/screenshot_display.sh
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
### Input configuration
|
||||
#
|
||||
# Read `man 5 sway-input` for more information about this section.
|
||||
|
||||
# Touchpad configuration
|
||||
input type:touchpad {
|
||||
dwt enabled
|
||||
tap enabled
|
||||
natural_scroll enabled
|
||||
}
|
||||
|
||||
# Enable numlock by default
|
||||
input type:keyboard xkb_numlock enabled
|
||||
|
||||
# Set keyboard layout and variant based on current system settings
|
||||
exec_always {
|
||||
'swaymsg input type:keyboard xkb_layout "$(localectl status | grep "X11 Layout" | sed -e "s/^.*X11 Layout://")"'
|
||||
'swaymsg input type:keyboard xkb_variant "$(localectl status | grep "X11 Variant" | sed -e "s/^.*X11 Variant://")"'
|
||||
}
|
||||
|
||||
# # Toggle between keyboard layouts. This example has the "us" and "gb"
|
||||
# # keyboard layouts, and uses Alt+Shift to toggle between them.
|
||||
# input "type:keyboard" {
|
||||
# xkb_layout "us,gb"
|
||||
# xkb_options "grp:alt_shift_toggle"
|
||||
# }
|
||||
# # Assign the same binding to "pkill -RTMIN+1 waybar" to send signal to
|
||||
# # the Waybar keyboard module (so the module shows the updated layout).
|
||||
# # This example uses Alt + left Shift.
|
||||
# bindsym Alt+Shift_L exec "pkill -RTMIN+1 waybar"
|
||||
@@ -0,0 +1,17 @@
|
||||
### Output configuration
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||
#
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
#
|
||||
# You can also bind workspaces 1,2,3 to specific outputs
|
||||
#
|
||||
# workspace 1 output eDP-2
|
||||
# workspace 2 output HDMI-A-1
|
||||
# workspace 3 output DP-1
|
||||
#
|
||||
# Wacom Tablet - Example
|
||||
# input "1386:884:Wacom_Intuos_S_Pad" map_to_output HDMI-A-1
|
||||
# input "1386:884:Wacom_Intuos_S_Pen" map_to_output HDMI-A-1
|
||||
@@ -0,0 +1,38 @@
|
||||
# Apply gtk theming
|
||||
exec_always ~/.config/sway/scripts/import-gsettings
|
||||
|
||||
# Set inner/outer gaps
|
||||
gaps inner 2
|
||||
gaps outer 0
|
||||
|
||||
# Hide titlebar on windows:
|
||||
default_border pixel 1
|
||||
|
||||
# Default Font
|
||||
font pango:Noto Sans Regular 10
|
||||
|
||||
# Thin borders:
|
||||
smart_borders on
|
||||
|
||||
# Set wallpaper:
|
||||
exec ~/.azotebg
|
||||
|
||||
# Title format for windows
|
||||
for_window [shell="xdg_shell"] title_format "%title (%app_id)"
|
||||
for_window [shell="x_wayland"] title_format "%class - %title"
|
||||
|
||||
# class border bground text indicator child_border
|
||||
client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4
|
||||
client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A
|
||||
client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36
|
||||
client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555
|
||||
client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36
|
||||
client.background #F8F8F2
|
||||
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
# Read `man 5 sway-bar` for more information about this section.
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
}
|
||||
@@ -0,0 +1,457 @@
|
||||
! layout
|
||||
us USA
|
||||
ad Andorra
|
||||
af Afghanistan
|
||||
ara Arabic
|
||||
al Albania
|
||||
am Armenia
|
||||
az Azerbaijan
|
||||
by Belarus
|
||||
be Belgium
|
||||
bd Bangladesh
|
||||
in India
|
||||
ba Bosnia and Herzegovina
|
||||
br Brazil
|
||||
bg Bulgaria
|
||||
ma Morocco
|
||||
mm Myanmar
|
||||
ca Canada
|
||||
cd Congo, Democratic Republic of the
|
||||
cn China
|
||||
hr Croatia
|
||||
cz Czechia
|
||||
dk Denmark
|
||||
nl Netherlands
|
||||
bt Bhutan
|
||||
ee Estonia
|
||||
ir Iran
|
||||
iq Iraq
|
||||
fo Faroe Islands
|
||||
fi Finland
|
||||
fr France
|
||||
gh Ghana
|
||||
gn Guinea
|
||||
ge Georgia
|
||||
de Germany
|
||||
gr Greece
|
||||
hu Hungary
|
||||
is Iceland
|
||||
il Israel
|
||||
it Italy
|
||||
jp Japan
|
||||
kg Kyrgyzstan
|
||||
kh Cambodia
|
||||
kz Kazakhstan
|
||||
la Laos
|
||||
latam Latin American
|
||||
lt Lithuania
|
||||
lv Latvia
|
||||
mao Maori
|
||||
me Montenegro
|
||||
mk Macedonia
|
||||
mt Malta
|
||||
mn Mongolia
|
||||
no Norway
|
||||
pl Poland
|
||||
pt Portugal
|
||||
ro Romania
|
||||
ru Russia
|
||||
rs Serbia
|
||||
si Slovenia
|
||||
sk Slovakia
|
||||
es Spain
|
||||
se Sweden
|
||||
ch Switzerland
|
||||
sy Syria
|
||||
tj Tajikistan
|
||||
lk Sri Lanka
|
||||
th Thailand
|
||||
tr Turkey
|
||||
tw Taiwan
|
||||
ua Ukraine
|
||||
gb United Kingdom
|
||||
uz Uzbekistan
|
||||
vn Vietnam
|
||||
kr Korea, Republic of
|
||||
nec_vndr/jp Japan (PC-98xx Series)
|
||||
ie Ireland
|
||||
pk Pakistan
|
||||
mv Maldives
|
||||
za South Africa
|
||||
epo Esperanto
|
||||
np Nepal
|
||||
ng Nigeria
|
||||
et Ethiopia
|
||||
sn Senegal
|
||||
brai Braille
|
||||
tm Turkmenistan
|
||||
ml Mali
|
||||
tz Tanzania
|
||||
|
||||
! variant
|
||||
chr us: Cherokee
|
||||
euro us: With EuroSign on 5
|
||||
intl us: International (with dead keys)
|
||||
alt-intl us: Alternative international (former us_intl)
|
||||
colemak us: Colemak
|
||||
dvorak us: Dvorak
|
||||
dvorak-intl us: Dvorak international
|
||||
dvorak-l us: Left handed Dvorak
|
||||
dvorak-r us: Right handed Dvorak
|
||||
dvorak-classic us: Classic Dvorak
|
||||
dvp us: Programmer Dvorak
|
||||
rus us: Russian phonetic
|
||||
mac us: Macintosh
|
||||
altgr-intl us: International (AltGr dead keys)
|
||||
olpc2 us: Group toggle on multiply/divide key
|
||||
srp us: Serbian
|
||||
ps af: Pashto
|
||||
uz af: Southern Uzbek
|
||||
olpc-ps af: OLPC Pashto
|
||||
olpc-fa af: OLPC Dari
|
||||
olpc-uz af: OLPC Southern Uzbek
|
||||
azerty ara: azerty
|
||||
azerty_digits ara: azerty/digits
|
||||
digits ara: digits
|
||||
qwerty ara: qwerty
|
||||
qwerty_digits ara: qwerty/digits
|
||||
buckwalter ara: Buckwalter
|
||||
phonetic am: Phonetic
|
||||
phonetic-alt am: Alternative Phonetic
|
||||
eastern am: Eastern
|
||||
western am: Western
|
||||
eastern-alt am: Alternative Eastern
|
||||
cyrillic az: Cyrillic
|
||||
legacy by: Legacy
|
||||
latin by: Latin
|
||||
oss be: Alternative
|
||||
oss_latin9 be: Alternative, latin-9 only
|
||||
oss_sundeadkeys be: Alternative, Sun dead keys
|
||||
iso-alternate be: ISO Alternate
|
||||
nodeadkeys be: Eliminate dead keys
|
||||
sundeadkeys be: Sun dead keys
|
||||
wang be: Wang model 724 azerty
|
||||
probhat bd: Probhat
|
||||
ben in: Bengali
|
||||
ben_probhat in: Bengali Probhat
|
||||
guj in: Gujarati
|
||||
guru in: Gurmukhi
|
||||
jhelum in: Gurmukhi Jhelum
|
||||
kan in: Kannada
|
||||
mal in: Malayalam
|
||||
mal_lalitha in: Malayalam Lalitha
|
||||
ori in: Oriya
|
||||
tam_unicode in: Tamil Unicode
|
||||
tam_keyboard_with_numerals in: Tamil Keyboard with Numerals
|
||||
tam_TAB in: Tamil TAB Typewriter
|
||||
tam_TSCII in: Tamil TSCII Typewriter
|
||||
tam in: Tamil
|
||||
tel in: Telugu
|
||||
urd-phonetic in: Urdu, Phonetic
|
||||
urd-phonetic3 in: Urdu, Alternative phonetic
|
||||
urd-winkeys in: Urdu, Winkeys
|
||||
bolnagri in: Hindi Bolnagri
|
||||
hin-wx in: Hindi Wx
|
||||
alternatequotes ba: Use guillemets for quotes
|
||||
unicode ba: Use Bosnian digraphs
|
||||
unicodeus ba: US keyboard with Bosnian digraphs
|
||||
us ba: US keyboard with Bosnian letters
|
||||
nodeadkeys br: Eliminate dead keys
|
||||
dvorak br: Dvorak
|
||||
nativo br: Nativo
|
||||
nativo-us br: Nativo for USA keyboards
|
||||
nativo-epo br: Nativo for Esperanto
|
||||
phonetic bg: Traditional phonetic
|
||||
bas_phonetic bg: New phonetic
|
||||
french ma: French
|
||||
tifinagh ma: Tifinagh
|
||||
tifinagh-alt ma: Tifinagh Alternative
|
||||
tifinagh-alt-phonetic ma: Tifinagh Alternative Phonetic
|
||||
tifinagh-extended ma: Tifinagh Extended
|
||||
tifinagh-phonetic ma: Tifinagh Phonetic
|
||||
tifinagh-extended-phonetic ma: Tifinagh Extended Phonetic
|
||||
fr-dvorak ca: French Dvorak
|
||||
fr-legacy ca: French (legacy)
|
||||
multix ca: Multilingual
|
||||
multi ca: Multilingual, first part
|
||||
multi-2gr ca: Multilingual, second part
|
||||
ike ca: Inuktitut
|
||||
shs ca: Secwepemctsin
|
||||
kut ca: Ktunaxa
|
||||
eng ca: English
|
||||
tib cn: Tibetan
|
||||
tib_asciinum cn: Tibetan (with ASCII numerals)
|
||||
alternatequotes hr: Use guillemets for quotes
|
||||
unicode hr: Use Croatian digraphs
|
||||
unicodeus hr: US keyboard with Croatian digraphs
|
||||
us hr: US keyboard with Croatian letters
|
||||
bksl cz: With <\|> key
|
||||
qwerty cz: qwerty
|
||||
qwerty_bksl cz: qwerty, extended Backslash
|
||||
ucw cz: UCW layout (accented letters only)
|
||||
dvorak-ucw cz: US Dvorak with CZ UCW support
|
||||
nodeadkeys dk: Eliminate dead keys
|
||||
mac dk: Macintosh
|
||||
mac_nodeadkeys dk: Macintosh, eliminate dead keys
|
||||
dvorak dk: Dvorak
|
||||
sundeadkeys nl: Sun dead keys
|
||||
mac nl: Macintosh
|
||||
std nl: Standard
|
||||
nodeadkeys ee: Eliminate dead keys
|
||||
dvorak ee: Dvorak
|
||||
us ee: US keyboard with Estonian letters
|
||||
pes_keypad ir: Persian, with Persian Keypad
|
||||
ku ir: Kurdish, Latin Q
|
||||
ku_f ir: Kurdish, (F)
|
||||
ku_alt ir: Kurdish, Latin Alt-Q
|
||||
ku_ara ir: Kurdish, Arabic-Latin
|
||||
ku iq: Kurdish, Latin Q
|
||||
ku_f iq: Kurdish, (F)
|
||||
ku_alt iq: Kurdish, Latin Alt-Q
|
||||
ku_ara iq: Kurdish, Arabic-Latin
|
||||
nodeadkeys fo: Eliminate dead keys
|
||||
nodeadkeys fi: Eliminate dead keys
|
||||
smi fi: Northern Saami
|
||||
classic fi: Classic
|
||||
mac fi: Macintosh
|
||||
nodeadkeys fr: Eliminate dead keys
|
||||
sundeadkeys fr: Sun dead keys
|
||||
oss fr: Alternative
|
||||
oss_latin9 fr: Alternative, latin-9 only
|
||||
oss_nodeadkeys fr: Alternative, eliminate dead keys
|
||||
oss_sundeadkeys fr: Alternative, Sun dead keys
|
||||
latin9 fr: (Legacy) Alternative
|
||||
latin9_nodeadkeys fr: (Legacy) Alternative, eliminate dead keys
|
||||
latin9_sundeadkeys fr: (Legacy) Alternative, Sun dead keys
|
||||
bepo fr: Bepo, ergonomic, Dvorak way
|
||||
bepo_latin9 fr: Bepo, ergonomic, Dvorak way, latin-9 only
|
||||
dvorak fr: Dvorak
|
||||
mac fr: Macintosh
|
||||
bre fr: Breton
|
||||
oci fr: Occitan
|
||||
geo fr: Georgian AZERTY Tskapo
|
||||
generic gh: Multilingual
|
||||
akan gh: Akan
|
||||
ewe gh: Ewe
|
||||
fula gh: Fula
|
||||
ga gh: Ga
|
||||
hausa gh: Hausa
|
||||
ergonomic ge: Ergonomic
|
||||
mess ge: MESS
|
||||
ru ge: Russian
|
||||
os ge: Ossetian
|
||||
deadacute de: Dead acute
|
||||
deadgraveacute de: Dead grave acute
|
||||
nodeadkeys de: Eliminate dead keys
|
||||
ro de: Romanian keyboard with German letters
|
||||
ro_nodeadkeys de: Romanian keyboard with German letters, eliminate dead keys
|
||||
dvorak de: Dvorak
|
||||
sundeadkeys de: Sun dead keys
|
||||
neo de: Neo 2
|
||||
mac de: Macintosh
|
||||
mac_nodeadkeys de: Macintosh, eliminate dead keys
|
||||
dsb de: Lower Sorbian
|
||||
dsb_qwertz de: Lower Sorbian (qwertz)
|
||||
qwerty de: qwerty
|
||||
simple gr: Simple
|
||||
extended gr: Extended
|
||||
nodeadkeys gr: Eliminate dead keys
|
||||
polytonic gr: Polytonic
|
||||
standard hu: Standard
|
||||
nodeadkeys hu: Eliminate dead keys
|
||||
qwerty hu: qwerty
|
||||
101_qwertz_comma_dead hu: 101/qwertz/comma/Dead keys
|
||||
101_qwertz_comma_nodead hu: 101/qwertz/comma/Eliminate dead keys
|
||||
101_qwertz_dot_dead hu: 101/qwertz/dot/Dead keys
|
||||
101_qwertz_dot_nodead hu: 101/qwertz/dot/Eliminate dead keys
|
||||
101_qwerty_comma_dead hu: 101/qwerty/comma/Dead keys
|
||||
101_qwerty_comma_nodead hu: 101/qwerty/comma/Eliminate dead keys
|
||||
101_qwerty_dot_dead hu: 101/qwerty/dot/Dead keys
|
||||
101_qwerty_dot_nodead hu: 101/qwerty/dot/Eliminate dead keys
|
||||
102_qwertz_comma_dead hu: 102/qwertz/comma/Dead keys
|
||||
102_qwertz_comma_nodead hu: 102/qwertz/comma/Eliminate dead keys
|
||||
102_qwertz_dot_dead hu: 102/qwertz/dot/Dead keys
|
||||
102_qwertz_dot_nodead hu: 102/qwertz/dot/Eliminate dead keys
|
||||
102_qwerty_comma_dead hu: 102/qwerty/comma/Dead keys
|
||||
102_qwerty_comma_nodead hu: 102/qwerty/comma/Eliminate dead keys
|
||||
102_qwerty_dot_dead hu: 102/qwerty/dot/Dead keys
|
||||
102_qwerty_dot_nodead hu: 102/qwerty/dot/Eliminate dead keys
|
||||
Sundeadkeys is: Sun dead keys
|
||||
nodeadkeys is: Eliminate dead keys
|
||||
mac is: Macintosh
|
||||
dvorak is: Dvorak
|
||||
lyx il: lyx
|
||||
phonetic il: Phonetic
|
||||
biblical il: Biblical Hebrew (Tiro)
|
||||
nodeadkeys it: Eliminate dead keys
|
||||
mac it: Macintosh
|
||||
us it: US keyboard with Italian letters
|
||||
geo it: Georgian
|
||||
kana jp: Kana
|
||||
OADG109A jp: OADG 109A
|
||||
mac jp: Macintosh
|
||||
phonetic kg: Phonetic
|
||||
ruskaz kz: Russian with Kazakh
|
||||
kazrus kz: Kazakh with Russian
|
||||
basic la: Laos
|
||||
stea la: Laos - STEA (proposed standard layout)
|
||||
nodeadkeys latam: Eliminate dead keys
|
||||
deadtilde latam: Include dead tilde
|
||||
sundeadkeys latam: Sun dead keys
|
||||
std lt: Standard
|
||||
us lt: US keyboard with Lithuanian letters
|
||||
ibm lt: IBM (LST 1205-92)
|
||||
lekp lt: LEKP
|
||||
lekpa lt: LEKPa
|
||||
apostrophe lv: Apostrophe (') variant
|
||||
tilde lv: Tilde (~) variant
|
||||
fkey lv: F-letter (F) variant
|
||||
cyrillic me: Cyrillic
|
||||
cyrillicyz me: Cyrillic, Z and ZHE swapped
|
||||
latinunicode me: Latin unicode
|
||||
latinyz me: Latin qwerty
|
||||
latinunicodeyz me: Latin unicode qwerty
|
||||
cyrillicalternatequotes me: Cyrillic with guillemets
|
||||
latinalternatequotes me: Latin with guillemets
|
||||
nodeadkeys mk: Eliminate dead keys
|
||||
us mt: Maltese keyboard with US layout
|
||||
nodeadkeys no: Eliminate dead keys
|
||||
dvorak no: Dvorak
|
||||
smi no: Northern Saami
|
||||
smi_nodeadkeys no: Northern Saami, eliminate dead keys
|
||||
mac no: Macintosh
|
||||
mac_nodeadkeys no: Macintosh, eliminate dead keys
|
||||
qwertz pl: qwertz
|
||||
dvorak pl: Dvorak
|
||||
dvorak_quotes pl: Dvorak, Polish quotes on quotemark key
|
||||
dvorak_altquotes pl: Dvorak, Polish quotes on key 1
|
||||
csb pl: Kashubian
|
||||
ru_phonetic_dvorak pl: Russian phonetic Dvorak
|
||||
dvp pl: Programmer Dvorak
|
||||
nodeadkeys pt: Eliminate dead keys
|
||||
sundeadkeys pt: Sun dead keys
|
||||
mac pt: Macintosh
|
||||
mac_nodeadkeys pt: Macintosh, eliminate dead keys
|
||||
mac_sundeadkeys pt: Macintosh, Sun dead keys
|
||||
nativo pt: Nativo
|
||||
nativo-us pt: Nativo for USA keyboards
|
||||
nativo-epo pt: Nativo for Esperanto
|
||||
cedilla ro: Cedilla
|
||||
std ro: Standard
|
||||
std_cedilla ro: Standard (Cedilla)
|
||||
winkeys ro: Winkeys
|
||||
crh_f ro: Crimean Tatar (Turkish F)
|
||||
crh_alt ro: Crimean Tatar (Turkish Alt-Q)
|
||||
crh_dobruca1 ro: Crimean Tatar (Dobruca-1 Q)
|
||||
crh_dobruca2 ro: Crimean Tatar (Dobruca-2 Q)
|
||||
phonetic ru: Phonetic
|
||||
phonetic_winkeys ru: Phonetic Winkeys
|
||||
typewriter ru: Typewriter
|
||||
legacy ru: Legacy
|
||||
typewriter-legacy ru: Typewriter, legacy
|
||||
tt ru: Tatar
|
||||
os_legacy ru: Ossetian, legacy
|
||||
os_winkeys ru: Ossetian, Winkeys
|
||||
cv ru: Chuvash
|
||||
cv_latin ru: Chuvash Latin
|
||||
udm ru: Udmurt
|
||||
kom ru: Komi
|
||||
sah ru: Yakut
|
||||
xal ru: Kalmyk
|
||||
dos ru: DOS
|
||||
srp ru: Serbian
|
||||
bak ru: Bashkirian
|
||||
yz rs: Z and ZHE swapped
|
||||
latin rs: Latin
|
||||
latinunicode rs: Latin Unicode
|
||||
latinyz rs: Latin qwerty
|
||||
latinunicodeyz rs: Latin Unicode qwerty
|
||||
alternatequotes rs: With guillemets
|
||||
latinalternatequotes rs: Latin with guillemets
|
||||
alternatequotes si: Use guillemets for quotes
|
||||
us si: US keyboard with Slovenian letters
|
||||
bksl sk: Extended Backslash
|
||||
qwerty sk: qwerty
|
||||
qwerty_bksl sk: qwerty, extended Backslash
|
||||
nodeadkeys es: Eliminate dead keys
|
||||
deadtilde es: Include dead tilde
|
||||
sundeadkeys es: Sun dead keys
|
||||
dvorak es: Dvorak
|
||||
ast es: Asturian variant with bottom-dot H and bottom-dot L
|
||||
cat es: Catalan variant with middle-dot L
|
||||
mac es: Macintosh
|
||||
nodeadkeys se: Eliminate dead keys
|
||||
dvorak se: Dvorak
|
||||
rus se: Russian phonetic
|
||||
rus_nodeadkeys se: Russian phonetic, eliminate dead keys
|
||||
smi se: Northern Saami
|
||||
mac se: Macintosh
|
||||
svdvorak se: Svdvorak
|
||||
legacy ch: Legacy
|
||||
de_nodeadkeys ch: German, eliminate dead keys
|
||||
de_sundeadkeys ch: German, Sun dead keys
|
||||
fr ch: French
|
||||
fr_nodeadkeys ch: French, eliminate dead keys
|
||||
fr_sundeadkeys ch: French, Sun dead keys
|
||||
fr_mac ch: French (Macintosh)
|
||||
de_mac ch: German (Macintosh)
|
||||
syc sy: Syriac
|
||||
syc_phonetic sy: Syriac phonetic
|
||||
ku sy: Kurdish, Latin Q
|
||||
ku_f sy: Kurdish, (F)
|
||||
ku_alt sy: Kurdish, Latin Alt-Q
|
||||
legacy tj: Legacy
|
||||
tam_unicode lk: Tamil Unicode
|
||||
tam_TAB lk: Tamil TAB Typewriter
|
||||
tis th: TIS-820.2538
|
||||
pat th: Pattachote
|
||||
f tr: (F)
|
||||
alt tr: Alt-Q
|
||||
sundeadkeys tr: Sun dead keys
|
||||
ku tr: Kurdish, Latin Q
|
||||
ku_f tr: Kurdish, (F)
|
||||
ku_alt tr: Kurdish, Latin Alt-Q
|
||||
intl tr: International (with dead keys)
|
||||
crh tr: Crimean Tatar (Turkish Q)
|
||||
crh_f tr: Crimean Tatar (Turkish F)
|
||||
crh_alt tr: Crimean Tatar (Turkish Alt-Q)
|
||||
indigenous tw: Indigenous
|
||||
saisiyat tw: Saisiyat
|
||||
phonetic ua: Phonetic
|
||||
typewriter ua: Typewriter
|
||||
winkeys ua: Winkeys
|
||||
legacy ua: Legacy
|
||||
rstu ua: Standard RSTU
|
||||
rstu_ru ua: Standard RSTU on Russian layout
|
||||
homophonic ua: Homophonic
|
||||
crh ua: Crimean Tatar (Turkish Q)
|
||||
crh_f ua: Crimean Tatar (Turkish F)
|
||||
crh_alt ua: Crimean Tatar (Turkish Alt-Q)
|
||||
extd gb: Extended - Winkeys
|
||||
intl gb: International (with dead keys)
|
||||
dvorak gb: Dvorak
|
||||
dvorakukp gb: Dvorak (UK Punctuation)
|
||||
mac gb: Macintosh
|
||||
colemak gb: Colemak
|
||||
latin uz: Latin
|
||||
crh uz: Crimean Tatar (Turkish Q)
|
||||
crh_f uz: Crimean Tatar (Turkish F)
|
||||
crh_alt uz: Crimean Tatar (Turkish Alt-Q)
|
||||
kr104 kr: 101/104 key Compatible
|
||||
CloGaelach ie: CloGaelach
|
||||
UnicodeExpert ie: UnicodeExpert
|
||||
ogam ie: Ogham
|
||||
ogam_is434 ie: Ogham IS434
|
||||
urd-crulp pk: CRULP
|
||||
urd-nla pk: NLA
|
||||
ara pk: Arabic
|
||||
legacy epo: displaced semicolon and quote (obsolete)
|
||||
igbo ng: Igbo
|
||||
yoruba ng: Yoruba
|
||||
hausa ng: Hausa
|
||||
left_hand brai: Left hand
|
||||
right_hand brai: Right hand
|
||||
alt tm: Alt-Q
|
||||
fr-oss ml: Français (France Alternative)
|
||||
us-mac ml: English (USA Macintosh)
|
||||
us-intl ml: English (USA International)
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
# usage: import-gsettings
|
||||
config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
|
||||
if [ ! -f "$config" ]; then exit 1; fi
|
||||
|
||||
gnome_schema="org.gnome.desktop.interface"
|
||||
gtk_theme="$(grep 'gtk-theme-name' "$config" | cut -d'=' -f2)"
|
||||
icon_theme="$(grep 'gtk-icon-theme-name' "$config" | cut -d'=' -f2)"
|
||||
cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | cut -d'=' -f2)"
|
||||
font_name="$(grep 'gtk-font-name' "$config" | cut -d'=' -f2)"
|
||||
gsettings set "$gnome_schema" gtk-theme "$gtk_theme"
|
||||
gsettings set "$gnome_schema" icon-theme "$icon_theme"
|
||||
gsettings set "$gnome_schema" cursor-theme "$cursor_theme"
|
||||
gsettings set "$gnome_schema" font-name "$font_name"
|
||||
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
|
||||
SELECTION="$(printf " Lock\n Suspend\n Log out\n Reboot\n Reboot to UEFI\n Shutdown" | fuzzel --dmenu -a top-right -l 6 -w 18 -p "Select an option: ")"
|
||||
|
||||
confirm_action() {
|
||||
local action="$1"
|
||||
CONFIRMATION="$(printf "No\nYes" | fuzzel --dmenu -a top-right -l 2 -w 18 -p "$action?")"
|
||||
[[ "$CONFIRMATION" == *"Yes"* ]]
|
||||
}
|
||||
|
||||
case $SELECTION in
|
||||
*" Lock"*)
|
||||
swaylock;;
|
||||
*" Suspend"*)
|
||||
if confirm_action "Suspend"; then
|
||||
systemctl suspend
|
||||
fi;;
|
||||
*" Log out"*)
|
||||
if confirm_action "Log out"; then
|
||||
swaymsg exit
|
||||
fi;;
|
||||
*" Reboot"*)
|
||||
if confirm_action "Reboot"; then
|
||||
systemctl reboot
|
||||
fi;;
|
||||
*" Reboot to UEFI"*)
|
||||
if confirm_action "Reboot to UEFI"; then
|
||||
systemctl reboot --firmware-setup
|
||||
fi;;
|
||||
*" Shutdown"*)
|
||||
if confirm_action "Shutdown"; then
|
||||
systemctl poweroff
|
||||
fi;;
|
||||
esac
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
output_id=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused).name')
|
||||
grim -o $output_id - | swappy -f -
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
grim -g "$(swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | slurp)" - | swappy -f -
|
||||
@@ -0,0 +1,229 @@
|
||||
from i3ipc import Connection, Event
|
||||
from threading import Thread
|
||||
from time import sleep
|
||||
|
||||
|
||||
FRAME_T = 0.01 # time taken between each frame of fade
|
||||
|
||||
# transparency values
|
||||
CON_AC = 1 # active window
|
||||
CON_INAC = 0.5 # inactive window
|
||||
FLOAT_AC = 1 # active floating window
|
||||
FLOAT_INAC = 0.5 # inactive floating window
|
||||
BOT_INAC = 0.9 # bottom window
|
||||
|
||||
|
||||
# fade durations
|
||||
FADE_TIME = 0.2
|
||||
ALT_FADE_TIME = 0.1
|
||||
|
||||
CON_OUT = FADE_TIME # window fading out
|
||||
CON_IN = 0.15 # window fading in
|
||||
FLOAT_OUT = ALT_FADE_TIME # floating window fading out
|
||||
FLOAT_IN = ALT_FADE_TIME # floating window fading in
|
||||
BOT_OUT = ALT_FADE_TIME # bottom window fading out
|
||||
BOT_IN = ALT_FADE_TIME # bottom window fading in
|
||||
BOT_SWITCH_IN = FADE_TIME # window becoming bottom window
|
||||
BOT_SWITCH_OUT = FADE_TIME # bottom window becoming window
|
||||
FLOAT_BOT_OUT = FADE_TIME # floating window fading out from bottom
|
||||
FLOAT_BOT_IN = FADE_TIME # floating window fading in from bottom
|
||||
|
||||
|
||||
class Fader:
|
||||
def __init__(self):
|
||||
self.floating_windows = []
|
||||
self.fader_running = False
|
||||
self.fade_queue = []
|
||||
self.fade_data = {}
|
||||
self.bottom_win = None
|
||||
self.old_win = None
|
||||
self.active_win = None
|
||||
|
||||
ipc = Connection()
|
||||
ipc.on(Event.WINDOW_FOCUS, self.on_window_focus)
|
||||
ipc.on(Event.WINDOW_NEW, self.on_window_new)
|
||||
ipc.on(Event.WINDOW_FLOATING, self.on_window_floating)
|
||||
|
||||
for win in ipc.get_tree():
|
||||
if win.type == "floating_con":
|
||||
self.floating_windows.append(win.id)
|
||||
if win.focused:
|
||||
change_opacity(win, FLOAT_AC)
|
||||
self.active_win = win
|
||||
else:
|
||||
change_opacity(win, FLOAT_INAC)
|
||||
elif win.type == "con":
|
||||
if win.focused:
|
||||
self.active_win = win
|
||||
change_opacity(win, CON_AC)
|
||||
else:
|
||||
change_opacity(win, CON_INAC)
|
||||
|
||||
ipc.main()
|
||||
|
||||
def add_fade(self, win, start, target, duration):
|
||||
if not duration:
|
||||
if win.id in self.fade_queue:
|
||||
self.fade_queue.remove(win.id)
|
||||
del self.fade_data[win.id]
|
||||
change_opacity(win, target)
|
||||
return
|
||||
|
||||
if win.id in self.fade_queue:
|
||||
f = self.fade_data[win.id]
|
||||
change = (FRAME_T / duration) * (target - f["opacity"])
|
||||
f["change"] = change
|
||||
f["target"] = target
|
||||
return
|
||||
|
||||
change_opacity(win, start)
|
||||
change = (FRAME_T / duration) * (target - start)
|
||||
fade_data = {"opacity": start, "change": change, "target": target, "win": win}
|
||||
self.fade_queue.append(win.id)
|
||||
self.fade_data[win.id] = fade_data
|
||||
|
||||
def start_fader(self):
|
||||
if not self.fader_running:
|
||||
self.fader_running = True
|
||||
Thread(target=self.fader).start()
|
||||
|
||||
def fader(self):
|
||||
while self.fade_queue:
|
||||
for win_id in self.fade_queue.copy():
|
||||
try:
|
||||
f = self.fade_data[win_id]
|
||||
except KeyError:
|
||||
continue
|
||||
f["opacity"] += f["change"]
|
||||
|
||||
finished = False
|
||||
if f["change"] > 0:
|
||||
if f["opacity"] >= f["target"]:
|
||||
finished = True
|
||||
elif f["opacity"] <= f["target"]:
|
||||
finished = True
|
||||
|
||||
if finished:
|
||||
change_opacity(f["win"], f["target"])
|
||||
try:
|
||||
self.fade_queue.remove(win_id)
|
||||
del self.fade_data[win_id]
|
||||
except (KeyError, ValueError):
|
||||
continue
|
||||
else:
|
||||
change_opacity(f["win"], f["opacity"])
|
||||
|
||||
sleep(FRAME_T)
|
||||
self.fader_running = False
|
||||
|
||||
def on_window_focus(self, ipc, e):
|
||||
if self.active_win.id == e.container.id:
|
||||
return
|
||||
|
||||
if self.active_win.type == "con":
|
||||
if e.container.type == "con":
|
||||
self.add_fade(
|
||||
e.container, CON_INAC,
|
||||
CON_AC, CON_IN)
|
||||
self.add_fade(
|
||||
self.active_win, CON_AC,
|
||||
CON_INAC, CON_OUT)
|
||||
|
||||
else:
|
||||
self.add_fade(
|
||||
e.container, FLOAT_INAC,
|
||||
FLOAT_AC, FLOAT_IN)
|
||||
self.add_fade(
|
||||
self.active_win, CON_AC,
|
||||
BOT_INAC, BOT_OUT)
|
||||
self.bottom_win = self.active_win
|
||||
|
||||
else:
|
||||
if e.container.type == "con":
|
||||
self.add_fade(
|
||||
self.active_win, FLOAT_AC,
|
||||
FLOAT_INAC, FLOAT_BOT_OUT)
|
||||
|
||||
if not self.bottom_win:
|
||||
self.add_fade(
|
||||
e.container, CON_INAC,
|
||||
CON_AC, CON_IN)
|
||||
|
||||
elif e.container.id != self.bottom_win.id:
|
||||
self.add_fade(
|
||||
self.bottom_win, BOT_INAC,
|
||||
CON_INAC, BOT_SWITCH_OUT)
|
||||
self.add_fade(
|
||||
e.container, CON_INAC,
|
||||
CON_AC, BOT_SWITCH_IN)
|
||||
self.bottom_win = e.container
|
||||
|
||||
else:
|
||||
self.add_fade(
|
||||
self.bottom_win, BOT_INAC,
|
||||
CON_AC, BOT_IN)
|
||||
|
||||
else:
|
||||
self.add_fade(
|
||||
self.active_win, FLOAT_AC,
|
||||
FLOAT_INAC, FLOAT_OUT)
|
||||
self.add_fade(
|
||||
e.container, FLOAT_INAC,
|
||||
FLOAT_AC, FLOAT_IN)
|
||||
|
||||
self.start_fader()
|
||||
self.active_win = e.container
|
||||
|
||||
def on_window_new(self, ipc, e):
|
||||
if self.active_win:
|
||||
if self.active_win.type == "con":
|
||||
change_opacity(self.active_win, CON_INAC)
|
||||
else:
|
||||
change_opacity(self.active_win, FLOAT_INAC)
|
||||
|
||||
if self.bottom_win:
|
||||
change_opacity(self.bottom_win, CON_INAC)
|
||||
|
||||
elif self.active_win and self.active_win.type == "con":
|
||||
self.bottom_win = self.active_win
|
||||
change_opacity(self.bottom_win, CON_INAC)
|
||||
|
||||
change_opacity(e.container, CON_AC)
|
||||
self.old_win = self.active_win
|
||||
self.active_win = e.container
|
||||
|
||||
def on_window_floating(self, ipc, e):
|
||||
c_id = e.container.id
|
||||
if c_id not in self.floating_windows:
|
||||
self.floating_windows.append(c_id)
|
||||
|
||||
if self.active_win.id != e.container.id:
|
||||
change_opacity(e.container, FLOAT_INAC)
|
||||
|
||||
else:
|
||||
if self.old_win and self.bottom_win:
|
||||
if self.old_win.type == "con":
|
||||
self.bottom_win = self.old_win
|
||||
change_opacity(self.bottom_win, BOT_INAC)
|
||||
change_opacity(e.container, FLOAT_AC)
|
||||
|
||||
else:
|
||||
self.floating_windows.remove(c_id)
|
||||
if self.active_win.id != e.container.id:
|
||||
change_opacity(e.container, CON_INAC)
|
||||
|
||||
else:
|
||||
if self.old_win and self.old_win.type == "con":
|
||||
change_opacity(self.old_win, CON_INAC)
|
||||
change_opacity(self.active_win, CON_AC)
|
||||
|
||||
self.active_win = e.container
|
||||
|
||||
|
||||
def change_opacity(win, trans):
|
||||
win.command("opacity " + str(trans))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
Fader()
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
LOC="$1"
|
||||
# HTML encode string as %20
|
||||
LOCATION=$(sed -e "s/ /%20/g" <<<"$LOC")
|
||||
content=$(curl -sS "https://thisdavej.azurewebsites.net/api/weather/current?loc=NewYork°=C")
|
||||
ICON=$(curl -s 'https://wttr.in/?format=1' | sed 's/[+0-9a-cA-Z°-]//g' )
|
||||
# echo $ICON
|
||||
TEMP=$(echo $content | jq -r '. | "\(.temperature)°\(.degType)"' | sed 's/"//g')
|
||||
TOOLTIP=$(echo $content | jq -r '. | "\(.temperature)°\(.degType)\n\(.skytext)"' | sed 's/"//g')
|
||||
CLASS=$(echo $content | jq .skytext)
|
||||
echo '{"text": "'$TEMP'", "tooltip": "'$ICON $TOOLTIP $LOC'", "class": '$CLASS' }'
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Define the lengths for each column
|
||||
ws_length=2
|
||||
app_id_length=14
|
||||
name_length=50
|
||||
|
||||
# Fetch the data from swaymsg and format it
|
||||
formatted_output=$(swaymsg -t get_tree | jq -r --arg ws_length "$ws_length" --arg app_id_length "$app_id_length" --arg name_length "$name_length" '
|
||||
def lpad($len; $char):
|
||||
if (.|length) > $len then $char * ($len - (.|length)) +.[:$len-1] + "\u2026" else $char * ($len - (.|length)) +. end;
|
||||
def rpad($len; $char):
|
||||
if (.|length) > $len then.[:$len-1] + "\u2026" else. + $char * ($len - (.|length)) end;
|
||||
..
|
||||
| objects
|
||||
| select(.type == "workspace") as $ws
|
||||
|..
|
||||
| objects
|
||||
| select(has("app_id"))
|
||||
| (if.focused then "*" else " " end) as $asterisk
|
||||
| "\($asterisk)[\($ws.name | lpad($ws_length | tonumber; " "))]\((.app_id // "xwayland") | lpad($app_id_length | tonumber; " ")): \(.name | rpad($name_length | tonumber; " ")) (\(.id))"
|
||||
')
|
||||
|
||||
# Launch fuzzel with the formatted output
|
||||
row=$(echo "$formatted_output" | fuzzel --dmenu --width=80 --lines=12)
|
||||
|
||||
# Get the container ID from the selection and focus the container
|
||||
if [ -n "$row" ]; then
|
||||
winid="${row##*(}"
|
||||
winid="${winid%%)*}"
|
||||
swaymsg "[con_id=$winid] focus"
|
||||
fi
|
||||
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Apply xed settings
|
||||
dbus-launch dconf load / < $HOME/.config/xed.dconf
|
||||
|
||||
# Notify user settings have been applied
|
||||
notify-send -i /usr/share/icons/Qogir/48/apps/accessories-text-editor.svg "Custom xed settings have been applied. "
|
||||
|
||||
# Remove xed.dconf file
|
||||
rm $HOME/.config/xed.dconf
|
||||
|
||||
# Remove xed_setup.sh from autostart config
|
||||
sed -i "/# Apply xed settings with self-destructing script/,+2d" $HOME/.config/sway/config.d/autostart_applications
|
||||
|
||||
# Remove this script
|
||||
rm $HOME/.config/sway/scripts/xed_setup.sh
|
||||
@@ -0,0 +1,186 @@
|
||||
{
|
||||
"layer": "top", // Waybar at top layer
|
||||
"position": "top", // Waybar position (top|bottom|left|right)
|
||||
// "height": 30, // Auto-height is used when commented
|
||||
// "width": 1280, // Full screen width when commented
|
||||
"spacing": 16, // Gaps between modules (in px)
|
||||
// See `man waybar` for more configuration options
|
||||
|
||||
// Configuration - modules-left
|
||||
|
||||
"modules-left": [
|
||||
"custom/launcher",
|
||||
"sway/workspaces",
|
||||
"sway/mode",
|
||||
"sway/window"
|
||||
],
|
||||
|
||||
"custom/launcher": {
|
||||
"format":"<span size='x-large'></span>",
|
||||
"on-click": "exec nwg-drawer",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"5": "5",
|
||||
"6": "6",
|
||||
"7": "7",
|
||||
"8": "8",
|
||||
"9": "9",
|
||||
"10": "10"
|
||||
}
|
||||
},
|
||||
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"sway/window": {
|
||||
"format": "{}",
|
||||
//"all-outputs": true, // Active window shows only on active display when commented
|
||||
"max-length": 120
|
||||
},
|
||||
|
||||
// Configuration - modules-center
|
||||
|
||||
"modules-center": [
|
||||
"network"
|
||||
],
|
||||
|
||||
"network": {
|
||||
"format-disabled": " Disabled",
|
||||
"format-wifi": " {bandwidthDownBits:>} {bandwidthUpBits:>} ",
|
||||
"tooltip-format-wifi": "{essid}",
|
||||
"format-ethernet": " {bandwidthDownBits:>} {bandwidthUpBits:>} ",
|
||||
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
|
||||
"format-disconnected": " Disconnected",
|
||||
"on-click": "footclient -T waybar_nmtui -e nmtui",
|
||||
"interval": 2
|
||||
},
|
||||
|
||||
// Configuration - modules-right
|
||||
|
||||
"modules-right": [
|
||||
"custom/keyboard-layout",
|
||||
"idle_inhibitor",
|
||||
"cpu",
|
||||
"memory",
|
||||
"backlight",
|
||||
"pulseaudio",
|
||||
"battery",
|
||||
"clock",
|
||||
"tray",
|
||||
"custom/power"
|
||||
],
|
||||
|
||||
"custom/keyboard-layout": {
|
||||
"exec": "i=$(swaymsg -t get_inputs); echo \"\"; echo \"$i\" | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
|
||||
"format": "",
|
||||
// Interval set only as a fallback; use signal to update the module more immediately
|
||||
"interval": 30,
|
||||
// See example config for sending signal to Waybar in ~/.config/sway/config.d/input
|
||||
"signal": 1,
|
||||
"on-click": "~/.config/waybar/scripts/keyhint.sh"
|
||||
},
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"tooltip-format-activated": "Idle Inhibitor Activated",
|
||||
"tooltip-format-deactivated": "Idle Inhibitor Deactivated"
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
"format": "{usage:>3}%",
|
||||
"states": {
|
||||
"warning": 70,
|
||||
"critical": 90,
|
||||
},
|
||||
"on-click": "footclient -T waybar_htop -e htop"
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 5,
|
||||
"format": "{:>3}%",
|
||||
"on-click": "footclient -T waybar_htop -e htop",
|
||||
"states": {
|
||||
"warning": 70,
|
||||
"critical": 90
|
||||
}
|
||||
},
|
||||
|
||||
"backlight": {
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", ""],
|
||||
"tooltip-format": "Backlight (Scroll): {percent:}%",
|
||||
"on-scroll-down": "brightnessctl -c backlight set 5%-",
|
||||
"on-scroll-up": "brightnessctl -c backlight set +5%"
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"scroll-step": 2,
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted":" muted",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"handsfree": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": " {:%H:%M}",
|
||||
"format-alt": " {:%OI:%M %p}",
|
||||
"tooltip-format": " {:%A %m/%d}\n\n<tt><small>{calendar}</small></tt>",
|
||||
"calendar": {
|
||||
"on-scroll": 1,
|
||||
"format": {
|
||||
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
||||
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
||||
},
|
||||
},
|
||||
"actions": {
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down"
|
||||
},
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing":10
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format":"⏻",
|
||||
"on-click": "exec ~/.config/sway/scripts/power_menu.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Set the font
|
||||
font="JetBrainsMono"
|
||||
|
||||
cheat=(
|
||||
--title="EndeavourOS Sway keybindings:"
|
||||
--no-buttons
|
||||
--geometry=1200x680
|
||||
--list
|
||||
--no-click
|
||||
--no-selection
|
||||
--column="<span font='$font Bold 18'>Function</span>"
|
||||
--column="<span font='$font Bold 18'>Binding</span>"
|
||||
--column=""
|
||||
--column="<span font='$font Bold 18'>Function</span>"
|
||||
--column="<span font='$font Bold 18'>Binding</span>"
|
||||
--column-align=ccccc
|
||||
--header-align=ccccc
|
||||
"<span font='$font 16' foreground='#808080'>GENERAL</span>"
|
||||
""
|
||||
""
|
||||
"<span font='$font 16' foreground='#808080'>LAUNCHERS AND MENUS</span>"
|
||||
""
|
||||
"<span font='$font 14'>Mod key (Super/Meta//)</span>"
|
||||
"<span font='$font 18'></span>"
|
||||
""
|
||||
"<span font='$font 14'>Open the launcher</span>"
|
||||
"<span font='$font 14'> + </span><span font='$font 18'></span>"
|
||||
"<span font='$font 14'>Change window focus</span>"
|
||||
"<span font='$font 14'> + </span><span font='$font 18'> </span>"
|
||||
""
|
||||
"<span font='$font 14'>Open the application menu</span>"
|
||||
"<span font='$font 14'> + Shift + </span><span font='$font 18'></span>"
|
||||
"<span font='$font 14'>Vim keys are supported</span>"
|
||||
"<span font='$font 14'> + </span><span font='$font 18'> </span>"
|
||||
""
|
||||
"<span font='$font 14'>Open the power menu</span>"
|
||||
"<span font='$font 14'> + Shift + </span><span font='$font 18'></span>"
|
||||
"<span font='$font 14'>Close a window</span>"
|
||||
"<span font='$font 14'> + </span><span font='$font 18'></span>"
|
||||
""
|
||||
"<span font='$font 14'>Activities overview</span>"
|
||||
"<span font='$font 14'> + </span><span font='$font 18'></span>"
|
||||
"<span font='$font 14'>Move a window</span>"
|
||||
"<span font='$font 14'> + Shift + </span><span font='$font 18'> </span>"
|
||||
""
|
||||
"<span font='$font 16' foreground='#808080'>SCREENSHOTS</span>"
|
||||
""
|
||||
"<span font='$font 14'>Move window with mouse</span>"
|
||||
"<span font='$font 14'> + </span>"
|
||||
""
|
||||
"<span font='$font 14'>Snip a screenshot</span>"
|
||||
"<span font='$font 14'>Print</span>"
|
||||
"<span font='$font 14'>Resize a window</span>"
|
||||
"<span font='$font 14'> + Ctrl + </span><span font='$font 18'> </span>"
|
||||
""
|
||||
"<span font='$font 14'>Screenshot a window</span>"
|
||||
"<span font='$font 14'>Ctrl + Print</span>"
|
||||
"<span font='$font 14'>Resize with right click</span>"
|
||||
"<span font='$font 14'> + </span>"
|
||||
""
|
||||
"<span font='$font 14'>Screenshot the display</span>"
|
||||
"<span font='$font 14'>Shift + Print</span>"
|
||||
"<span font='$font 14'>Change workspace</span>"
|
||||
"<span font='$font 14'> + </span><span font='$font 18'> </span><span font='$font 14'> ...</span>"
|
||||
""
|
||||
"<span font='$font 16' foreground='#808080'>CLIPBOARD MANAGER</span>"
|
||||
""
|
||||
"<span font='$font 14'>Send window to workspace</span>"
|
||||
"<span font='$font 14'> + Shift + </span><span font='$font 18'> </span><span font='$font 14'> ...</span>"
|
||||
""
|
||||
"<span font='$font 14'>Launch cliphist</span>"
|
||||
"<span font='$font 14'>Ctrl + + </span><span font='$font 18'></span>"
|
||||
"<span font='$font 14'>Toggle floating/tiling</span>"
|
||||
"<span font='$font 14'> + Shift + Space</span>"
|
||||
""
|
||||
"<span font='$font 14'>Delete an entry from cliphist</span>"
|
||||
"<span font='$font 14'>Ctrl + + </span><span font='$font 18'></span>"
|
||||
"<span font='$font 14'>Toggle fullscreen</span>"
|
||||
"<span font='$font 14'> + </span><span font='$font 18'></span>"
|
||||
""
|
||||
"<span font='$font 16' foreground='#808080'>APPLICATION SHORTCUTS</span>"
|
||||
""
|
||||
"<span font='$font 16' foreground='#808080'>SCRATCHPAD</span>"
|
||||
""
|
||||
""
|
||||
"<span font='$font 14'>Launch the terminal</span>"
|
||||
"<span font='$font 14'> + Enter</span>"
|
||||
"<span font='$font 14'>Move window to scratchpad</span>"
|
||||
"<span font='$font 14'> + Shift + </span><span font='$font 18'></span>"
|
||||
""
|
||||
"<span font='$font 14'>Launch the file explorer</span>"
|
||||
"<span font='$font 14'> + </span><span font='$font 18'></span>"
|
||||
"<span font='$font 14'>Show next scratchpad window</span>"
|
||||
"<span font='$font 14'> + </span><span font='$font 18'></span>"
|
||||
""
|
||||
"<span font='$font 14'>Launch the web browser</span>"
|
||||
"<span font='$font 14'> + </span><span font='$font 18'></span>"
|
||||
""
|
||||
)
|
||||
|
||||
yad "${cheat[@]}"
|
||||
@@ -0,0 +1,186 @@
|
||||
/* =============================================================================
|
||||
*
|
||||
* Waybar configuration
|
||||
*
|
||||
* Configuration reference: https://github.com/Alexays/Waybar/wiki/Configuration
|
||||
*
|
||||
* =========================================================================== */
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Keyframes
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
@define-color highlight #685878 ;
|
||||
@define-color base1 #19191e ;
|
||||
|
||||
@keyframes blink-warning {
|
||||
70% {
|
||||
color: white;
|
||||
}
|
||||
|
||||
to {
|
||||
color: white;
|
||||
background-color: orange;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blink-critical {
|
||||
70% {
|
||||
color: white;
|
||||
}
|
||||
|
||||
to {
|
||||
color: white;
|
||||
background-color: red;
|
||||
}
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Base styles
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
/* Reset all styles */
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
margin: 1px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* The whole bar */
|
||||
#waybar {
|
||||
background: transparent;
|
||||
color: #e3e3ea;
|
||||
background-color: @base1;
|
||||
font-family: JetBrainsMono;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* Every modules */
|
||||
#mode,
|
||||
#network,
|
||||
#custom-keyboard-layout,
|
||||
#idle_inhibitor,
|
||||
#cpu,
|
||||
#memory,
|
||||
#backlight,
|
||||
#pulseaudio,
|
||||
#battery,
|
||||
#clock,
|
||||
#tray {
|
||||
padding:0.5rem 0.6rem;
|
||||
margin: 1px 0px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Module styles
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
#custom-launcher {
|
||||
margin-left:15px;
|
||||
margin-right:10px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
border-radius: 5px;
|
||||
color: #eceff4;
|
||||
padding: 1px 6px;
|
||||
margin-right: 2px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
border: 1px solid #d8dee9;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
border-color: #c9545d;
|
||||
color: #c9545d;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background: @highlight;
|
||||
border-bottom: 3px transparent;
|
||||
color:white;
|
||||
margin-left: 5px;
|
||||
padding: 7px;
|
||||
}
|
||||
|
||||
#window {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
#cpu.warning {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
#cpu.critical {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#memory {
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#memory.warning {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
#memory.critical {
|
||||
color: red;
|
||||
animation-name: blink-critical;
|
||||
animation-duration: 2s;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
}
|
||||
|
||||
#backlight.icon {
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
color: @highlight;
|
||||
}
|
||||
|
||||
#battery {
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#battery.warning {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
#battery.critical {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#battery.warning.discharging {
|
||||
animation-name: blink-warning;
|
||||
animation-duration: 3s;
|
||||
}
|
||||
|
||||
#battery.critical.discharging {
|
||||
animation-name: blink-critical;
|
||||
animation-duration: 2s;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
margin-left:15px;
|
||||
margin-right:15px;
|
||||
font-size:15px;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
[org/x/editor/preferences/editor]
|
||||
bracket-matching=false
|
||||
display-line-numbers=true
|
||||
prefer-dark-theme=true
|
||||
scheme='cobalt'
|
||||
wrap-mode='none'
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Avahi Zeroconf Browser
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Avahi SSH Server Browser
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Avahi VNC Server Browser
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=EndeavourOS log tool
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=EndeavourOS Quickstart Installer
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=eos-update
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Foot Server
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Foot Client
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Advanced Network Configuration
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=File Roller
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Catfish File Search
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Text Editor Settings
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Qt V4L2 test Utility
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Qt V4L2 video capture utility
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Reflector Simple
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Software Token (small)
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Software Token
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Bulk Rename
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=File Manager Settings
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Removable Drives and Media
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=About Xfce
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=Icon Browser
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=YAD settings
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -1,232 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
“This License” refers to version 3 of the GNU General Public License.
|
||||
|
||||
“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
|
||||
|
||||
“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.
|
||||
|
||||
To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.
|
||||
|
||||
A “covered work” means either the unmodified Program or a work based on the Program.
|
||||
|
||||
To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
|
||||
|
||||
To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
|
||||
|
||||
A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
|
||||
|
||||
The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.
|
||||
|
||||
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
|
||||
|
||||
A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
|
||||
|
||||
“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
|
||||
|
||||
An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.
|
||||
|
||||
A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
|
||||
|
||||
A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
|
||||
|
||||
EndeavourOS-sway
|
||||
Copyright (C) 2026 seb
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
EndeavourOS-sway Copyright (C) 2026 seb
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <https://www.gnu.org/licenses/>.
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <https://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
|
||||
@@ -1,2 +1,83 @@
|
||||
# EndeavourOS-sway
|
||||
# Sway-WM Setup and Theme for EndeavourOS
|
||||
|
||||
**Sway EndeavourOS Community Edition**
|
||||
|
||||
[]()
|
||||
|
||||
## General Information
|
||||
|
||||
Please be aware that this is a private fork fromt he following Sway EndeavourOS Community Edition.
|
||||
|
||||
https://github.com/EndeavourOS-Community-Editions/sway/tree/main
|
||||
|
||||
## To Install Sway
|
||||
|
||||
### With the EOS Installer
|
||||
|
||||
1. In the live environment, choose "Fetch your install customization file" from the Welcome app.
|
||||
2. Type or paste the URL for the Sway user_commands.bash file.
|
||||
```
|
||||
https://git.pravida.info/seb/sway/raw/branch/main/setup_sway_isomode.bash
|
||||
```
|
||||

|
||||
|
||||
3. Click <kbd> OK </kbd>, then back in the Welcome app click <kbd> Start the Installer </kbd> and proceed with an online installation. Be sure to choose "no desktop" on the DE selection screen.
|
||||
|
||||

|
||||
|
||||
|
||||
### Manually (Post-Installation)
|
||||
|
||||
Alternatively, you can add Sway after the installation is complete by cloning the repo and running the `sway-install.sh` script.
|
||||
|
||||
git clone https://git.pravida.info/seb/sway.git
|
||||
|
||||
cd sway
|
||||
|
||||
sudo ./sway-install.sh
|
||||
|
||||
## Post install
|
||||
|
||||
- Keyboard layout in: `~/.config/sway/config.d/input`
|
||||
- Screen settings in: `~/.config/sway/config.d/output`
|
||||
- Keybindings Cheatsheet: press keyboard icon in waybar
|
||||
|
||||
|
||||
|
||||
## Tutorial for sway-wm settings:
|
||||
|
||||
- Background handled by Azote
|
||||
- Filebrowser = Thunar
|
||||
- Default Terminal-Emulator = Foot
|
||||
- Text-Editor = xed/nano/nvim
|
||||
- Bar = Waybar
|
||||
- Sound = Pulseaudio
|
||||
|
||||
- Login Manger = sddm
|
||||
-
|
||||
|
||||
## Keyboard shortcuts:
|
||||
|
||||
Click the keyboard icon in the Waybar to launch the keybinding cheatsheet.
|
||||
|
||||

|
||||
|
||||
|
||||
## Tiling:
|
||||
|
||||
Windows are set to tile by default in Sway. This can be changed to:
|
||||
|
||||
- stacking: Only the focused window in the container is displayed. You get a list of windows at the top of the container.
|
||||
- <kbd>Mod</kbd>+<kbd>S</kbd> = Vertical List
|
||||
- <kbd>Mod</kbd>+<kbd>W</kbd> = Horizontal List
|
||||
- navigate lists with <kbd>Mod</kbd>+<kbd>↑ ↓ → ←</kbd>
|
||||
- <kbd>Mod</kbd>+<kbd>E</kbd> = Back to tiling
|
||||
|
||||

|
||||
|
||||
Fuzzel:
|
||||

|
||||
|
||||
Waybar:
|
||||

|
||||
|
||||
|
||||
@@ -0,0 +1,139 @@
|
||||
[Autologin]
|
||||
# Whether sddm should automatically log back into sessions when they exit
|
||||
Relogin=false
|
||||
|
||||
# Name of session file for autologin session (if empty try last logged in)
|
||||
Session=
|
||||
|
||||
# Username for autologin session
|
||||
User=
|
||||
|
||||
|
||||
[General]
|
||||
# Which display server should be used.
|
||||
# Valid values are: x11, x11-user, wayland. Wayland support is experimental
|
||||
DisplayServer=x11
|
||||
|
||||
# Comma-separated list of environment variables to be set
|
||||
GreeterEnvironment=
|
||||
|
||||
# Halt command
|
||||
HaltCommand=/usr/bin/systemctl poweroff
|
||||
|
||||
# Input method module
|
||||
InputMethod=
|
||||
|
||||
# Comma-separated list of Linux namespaces for user session to enter
|
||||
Namespaces=
|
||||
|
||||
# Initial NumLock state. Can be on, off or none.
|
||||
# If property is set to none, numlock won't be changed
|
||||
# NOTE: Currently ignored if autologin is enabled.
|
||||
Numlock=none
|
||||
|
||||
# Reboot command
|
||||
RebootCommand=/usr/bin/systemctl reboot
|
||||
|
||||
|
||||
[Theme]
|
||||
# Current theme name
|
||||
Current=catppuccin-mocha
|
||||
|
||||
# Cursor size used in the greeter
|
||||
CursorSize=
|
||||
|
||||
# Cursor theme used in the greeter
|
||||
CursorTheme=
|
||||
|
||||
# Number of users to use as threshold
|
||||
# above which avatars are disabled
|
||||
# unless explicitly enabled with EnableAvatars
|
||||
DisableAvatarsThreshold=7
|
||||
|
||||
# Enable display of custom user avatars
|
||||
EnableAvatars=true
|
||||
|
||||
# Global directory for user avatars
|
||||
# The files should be named <username>.face.icon
|
||||
FacesDir=/usr/share/sddm/faces
|
||||
|
||||
# Font used in the greeter
|
||||
Font=
|
||||
|
||||
# Theme directory path
|
||||
ThemeDir=/usr/share/sddm/themes
|
||||
|
||||
|
||||
[Users]
|
||||
# Default $PATH for logged in users
|
||||
DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin
|
||||
|
||||
# Comma-separated list of shells.
|
||||
# Users with these shells as their default won't be listed
|
||||
HideShells=
|
||||
|
||||
# Comma-separated list of users that should not be listed
|
||||
HideUsers=
|
||||
|
||||
# Maximum user id for displayed users
|
||||
MaximumUid=60513
|
||||
|
||||
# Minimum user id for displayed users
|
||||
MinimumUid=1000
|
||||
|
||||
# Remember the session of the last successfully logged in user
|
||||
RememberLastSession=true
|
||||
|
||||
# Remember the last successfully logged in user
|
||||
RememberLastUser=true
|
||||
|
||||
# When logging in as the same user twice, restore the original session, rather than create a new one
|
||||
ReuseSession=true
|
||||
|
||||
|
||||
[Wayland]
|
||||
# Path of the Wayland compositor to execute when starting the greeter
|
||||
CompositorCommand=weston --shell=kiosk
|
||||
|
||||
# Enable Qt's automatic high-DPI scaling
|
||||
EnableHiDPI=true
|
||||
|
||||
# Path to a script to execute when starting the desktop session
|
||||
SessionCommand=/usr/share/sddm/scripts/wayland-session
|
||||
|
||||
# Comma-separated list of directories containing available Wayland sessions
|
||||
SessionDir=/usr/local/share/wayland-sessions,/usr/share/wayland-sessions
|
||||
|
||||
# Path to the user session log file
|
||||
SessionLogFile=.local/share/sddm/wayland-session.log
|
||||
|
||||
|
||||
[X11]
|
||||
# Path to a script to execute when starting the display server
|
||||
DisplayCommand=/usr/share/sddm/scripts/Xsetup
|
||||
|
||||
# Path to a script to execute when stopping the display server
|
||||
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
|
||||
|
||||
# Enable Qt's automatic high-DPI scaling
|
||||
EnableHiDPI=true
|
||||
|
||||
# Arguments passed to the X server invocation
|
||||
ServerArguments=-nolisten tcp
|
||||
|
||||
# Path to X server binary
|
||||
ServerPath=/usr/bin/X
|
||||
|
||||
# Path to a script to execute when starting the desktop session
|
||||
SessionCommand=/usr/share/sddm/scripts/Xsession
|
||||
|
||||
# Comma-separated list of directories containing available X sessions
|
||||
SessionDir=/usr/local/share/xsessions,/usr/share/xsessions
|
||||
|
||||
# Path to the user session log file
|
||||
SessionLogFile=.local/share/sddm/xorg-session.log
|
||||
|
||||
# Path to Xephyr binary
|
||||
XephyrPath=/usr/bin/Xephyr
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Defaults env_keep += "QT_QPA_PLATFORM WAYLAND_DISPLAY XDG_RUNTIME_DIR"
|
||||
@@ -0,0 +1,3 @@
|
||||
[Login]
|
||||
IdleAction=suspend
|
||||
IdleActionSec=10min
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
pkill swaybg
|
||||
swaybg -i "${HOME}/.config/sway/background.png" -m fill &
|
||||
|
||||
|
After Width: | Height: | Size: 80 KiB |
@@ -0,0 +1,19 @@
|
||||
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
||||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||
|
||||
include "~/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="Arc-Dark"
|
||||
gtk-icon-theme-name="Qogir-dark"
|
||||
gtk-font-name="Noto Sans 10"
|
||||
gtk-cursor-theme-name="Qogir-dark"
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=0
|
||||
gtk-menu-images=0
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=1
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle="hintmedium"
|
||||
gtk-xft-rgba="rgb"
|
||||
@@ -0,0 +1 @@
|
||||
include /usr/share/nano/*.nanorc
|
||||
@@ -0,0 +1,57 @@
|
||||
acpi
|
||||
arc-gtk-theme-eos
|
||||
autotiling
|
||||
awesome-terminal-fonts
|
||||
azote
|
||||
brightnessctl
|
||||
cliphist
|
||||
egl-wayland
|
||||
file-roller
|
||||
foot
|
||||
fuzzel
|
||||
sddm
|
||||
grim
|
||||
gtk-engine-murrine
|
||||
gtk-layer-shell
|
||||
gtklock
|
||||
gtklock-powerbar-module
|
||||
gtklock-userinfo-module
|
||||
gvfs
|
||||
gvfs-afc
|
||||
gvfs-gphoto2
|
||||
gvfs-mtp
|
||||
gvfs-nfs
|
||||
gvfs-smb
|
||||
htop
|
||||
jq
|
||||
mako
|
||||
network-manager-applet
|
||||
nwg-drawer
|
||||
nwg-look
|
||||
pamixer
|
||||
polkit-gnome
|
||||
slurp
|
||||
swappy
|
||||
sway
|
||||
swaybg
|
||||
sway-contrib
|
||||
swayidle
|
||||
sysstat
|
||||
thunar
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
ttf-jetbrains-mono
|
||||
ttf-nerd-fonts-symbols
|
||||
ttf-ubuntu-font-family
|
||||
waybar
|
||||
wayland-protocols
|
||||
wl-clipboard
|
||||
xdg-desktop-portal-wlr
|
||||
xed
|
||||
xorg-xwayland
|
||||
thunderbird-i18n-en-us
|
||||
vivaldi
|
||||
blueman
|
||||
neovim
|
||||
chezmoi
|
||||
zsh
|
||||
@@ -0,0 +1,62 @@
|
||||
#!/usr/bin/env bash
|
||||
username="$1"
|
||||
|
||||
# Clone the repo
|
||||
echo "Cloning the EOS Community Sway repo..."
|
||||
git clone https://git.pravida.info/seb/sway.git
|
||||
|
||||
# Check if nvidia-inst is installed
|
||||
# If it is, do the Nvidia stuff
|
||||
if pacman -Qq nvidia-inst 2>/dev/null | grep -q .; then
|
||||
echo "Adding the --unsupported-gpu flag to the sway call in greetd.conf..."
|
||||
sed -i 's|sway -c|sway --unsupported-gpu -c|' sway/etc/greetd/greetd.conf
|
||||
echo "Adding a custom desktop file for Nvidia sessions..."
|
||||
mkdir -p /usr/share/wayland-sessions
|
||||
cat <<EOF > /usr/share/wayland-sessions/sway-nvidia.desktop
|
||||
[Desktop Entry]
|
||||
Name=Sway-Nvidia
|
||||
Comment=Sway with Nvidia
|
||||
Exec=sway --unsupported-gpu
|
||||
Type=Application
|
||||
EOF
|
||||
echo "Adding dracut config for early module loading..."
|
||||
cat <<EOF > /etc/dracut.conf.d/nvidia-modules.conf
|
||||
force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "
|
||||
EOF
|
||||
echo "Regenerating initrds..."
|
||||
reinstall-kernels || dracut-rebuild
|
||||
fi
|
||||
|
||||
# Install the custom package list
|
||||
echo "Installing needed packages..."
|
||||
pacman -S --noconfirm --noprogressbar --needed --disable-download-timeout $(< ./sway/packages-repository.txt)
|
||||
|
||||
# Deploy user configs
|
||||
echo "Deploying user configs..."
|
||||
rsync -a sway/.config "/home/${username}/"
|
||||
rsync -a sway/.local "/home/${username}/"
|
||||
rsync -a sway/home_config/ "/home/${username}/"
|
||||
# Restore user ownership
|
||||
chown -R "${username}:${username}" "/home/${username}"
|
||||
|
||||
# Deploy system configs
|
||||
echo "Deploying system configs..."
|
||||
rsync -a --chown=root:root sway/etc/ /etc/
|
||||
rsync -a --chown=root:toot sway/usr/ /usr/
|
||||
|
||||
# Check if the script is running in a virtual machine
|
||||
#if systemd-detect-virt | grep -vq "none"; then
|
||||
# echo "Virtual machine detected; enabling WLR_RENDERER_ALLOW_SOFTWARE variable in ReGreet config..."
|
||||
# # Uncomment WLR_RENDERER_ALLOW_SOFTWARE variable in ReGreet config
|
||||
# sed -i '/^#WLR_RENDERER_ALLOW_SOFTWARE/s/^#//' /etc/greetd/regreet.toml
|
||||
#fi
|
||||
|
||||
# Remove the repo
|
||||
echo "Removing the EOS Community Sway repo..."
|
||||
rm -rf sway
|
||||
|
||||
# Enable the sddm service
|
||||
echo "Enabling the Greetd service..."
|
||||
systemctl enable sddm.service
|
||||
|
||||
echo "Installation complete."
|
||||
@@ -0,0 +1,43 @@
|
||||
#!/bin/bash
|
||||
|
||||
username="$(logname)"
|
||||
|
||||
# Check for sudo
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
echo "This script must be run with sudo."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Install the custom package list
|
||||
echo "Installing needed packages..."
|
||||
pacman -S --noconfirm --noprogressbar --needed --disable-download-timeout $(< packages-repository.txt)
|
||||
|
||||
# Deploy user configs
|
||||
echo "Deploying user configs..."
|
||||
rsync -a .config "/home/${username}/"
|
||||
rsync -a .local "/home/${username}/"
|
||||
rsync -a home_config/ "/home/${username}/"
|
||||
# Restore user ownership
|
||||
chown -R "${username}:${username}" "/home/${username}"
|
||||
|
||||
# Deploy system configs
|
||||
echo "Deploying system configs..."
|
||||
rsync -a --chown=root:root etc/ /etc/
|
||||
rsync -a --chown=root:root usr/ /usr/
|
||||
|
||||
# Check if the script is running in a virtual machine
|
||||
#if systemd-detect-virt | grep -vq "none"; then
|
||||
# echo "Virtual machine detected; enabling WLR_RENDERER_ALLOW_SOFTWARE variable in ReGreet config..."
|
||||
# # Uncomment WLR_RENDERER_ALLOW_SOFTWARE variable in ReGreet config
|
||||
# sed -i '/^#WLR_RENDERER_ALLOW_SOFTWARE/s/^#//' /etc/greetd/regreet.toml
|
||||
#fi
|
||||
|
||||
# Enable the sddm service
|
||||
echo "Enabling the Greetd service..."
|
||||
systemctl -f enable sddm.service
|
||||
|
||||
# Remove the repo
|
||||
echo "Removing the EOS Community Sway repo..."
|
||||
rm -rf ../sway
|
||||
|
||||
echo "Installation complete."
|
||||
@@ -0,0 +1,14 @@
|
||||
import QtQuick 2.15
|
||||
import SddmComponents 2.0
|
||||
|
||||
Clock {
|
||||
id: time
|
||||
color: config.text
|
||||
timeFont.family: config.Font
|
||||
dateFont.family: config.Font
|
||||
anchors {
|
||||
margins: 10
|
||||
top: parent.top
|
||||
right: parent.right
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,147 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Window 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
Item {
|
||||
property var user: userField.text
|
||||
property var password: passwordField.text
|
||||
property var session: sessionPanel.session
|
||||
property var inputHeight: Screen.height * 0.032
|
||||
property var inputWidth: Screen.width * 0.16
|
||||
Rectangle {
|
||||
id: loginBackground
|
||||
anchors {
|
||||
verticalCenter: parent.verticalCenter
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
height: inputHeight * 5.3
|
||||
width: inputWidth * 1.2
|
||||
radius: 5
|
||||
visible: config.LoginBackground == "true" ? true : false
|
||||
color: config.mantle
|
||||
}
|
||||
Column {
|
||||
spacing: 8
|
||||
anchors {
|
||||
bottom: parent.bottom
|
||||
left: parent.left
|
||||
}
|
||||
PowerButton {
|
||||
id: powerButton
|
||||
}
|
||||
RebootButton {
|
||||
id: rebootButton
|
||||
}
|
||||
SleepButton {
|
||||
id: sleepButton
|
||||
}
|
||||
z: 5
|
||||
}
|
||||
Column {
|
||||
spacing: 8
|
||||
anchors {
|
||||
bottom: parent.bottom
|
||||
right: parent.right
|
||||
}
|
||||
SessionPanel {
|
||||
id: sessionPanel
|
||||
}
|
||||
z: 5
|
||||
}
|
||||
Column {
|
||||
spacing: 8
|
||||
z: 5
|
||||
width: inputWidth
|
||||
anchors {
|
||||
verticalCenter: parent.verticalCenter
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
UserField {
|
||||
id: userField
|
||||
height: inputHeight
|
||||
width: parent.width
|
||||
}
|
||||
PasswordField {
|
||||
id: passwordField
|
||||
height: inputHeight
|
||||
width: parent.width
|
||||
onAccepted: loginButton.clicked()
|
||||
}
|
||||
Button {
|
||||
id: loginButton
|
||||
height: inputHeight
|
||||
width: parent.width
|
||||
enabled: user != "" && password != "" ? true : false
|
||||
hoverEnabled: true
|
||||
contentItem: Text {
|
||||
id: buttonText
|
||||
renderType: Text.NativeRendering
|
||||
font {
|
||||
family: config.Font
|
||||
pointSize: config.FontSize
|
||||
bold: true
|
||||
}
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
color: config.crust
|
||||
text: "Login"
|
||||
}
|
||||
background: Rectangle {
|
||||
id: buttonBackground
|
||||
color: config.sapphire
|
||||
radius: 3
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "pressed"
|
||||
when: loginButton.down
|
||||
PropertyChanges {
|
||||
target: buttonBackground
|
||||
color: config.teal
|
||||
}
|
||||
PropertyChanges {
|
||||
target: buttonText
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "hovered"
|
||||
when: loginButton.hovered
|
||||
PropertyChanges {
|
||||
target: buttonBackground
|
||||
color: config.teal
|
||||
}
|
||||
PropertyChanges {
|
||||
target: buttonText
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "enabled"
|
||||
when: loginButton.enabled
|
||||
PropertyChanges {
|
||||
target: buttonBackground
|
||||
}
|
||||
PropertyChanges {
|
||||
target: buttonText
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
onClicked: {
|
||||
sddm.login(user, password, session)
|
||||
}
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: sddm
|
||||
|
||||
function onLoginFailed() {
|
||||
passwordField.text = ""
|
||||
passwordField.focus = true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
TextField {
|
||||
id: passwordField
|
||||
focus: true
|
||||
selectByMouse: true
|
||||
placeholderText: "Password"
|
||||
echoMode: TextInput.Password
|
||||
passwordCharacter: "•"
|
||||
passwordMaskDelay: config.PasswordShowLastLetter
|
||||
selectionColor: config.overlay0
|
||||
renderType: Text.NativeRendering
|
||||
font.family: config.Font
|
||||
font.pointSize: config.FontSize
|
||||
font.bold: true
|
||||
color: config.text
|
||||
horizontalAlignment: TextInput.AlignHCenter
|
||||
background: Rectangle {
|
||||
id: passFieldBackground
|
||||
radius: 3
|
||||
color: config.surface0
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "focused"
|
||||
when: passwordField.activeFocus
|
||||
PropertyChanges {
|
||||
target: passFieldBackground
|
||||
color: config.surface1
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "hovered"
|
||||
when: passwordField.hovered
|
||||
PropertyChanges {
|
||||
target: passFieldBackground
|
||||
color: config.surface1
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
Item {
|
||||
implicitHeight: powerButton.height
|
||||
implicitWidth: powerButton.width
|
||||
Button {
|
||||
id: powerButton
|
||||
height: inputHeight
|
||||
width: inputHeight
|
||||
hoverEnabled: true
|
||||
icon {
|
||||
source: Qt.resolvedUrl("../icons/power.svg")
|
||||
height: height
|
||||
width: width
|
||||
color: config.crust
|
||||
}
|
||||
background: Rectangle {
|
||||
id: powerButtonBackground
|
||||
radius: 3
|
||||
color: config.red
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "hovered"
|
||||
when: powerButton.hovered
|
||||
PropertyChanges {
|
||||
target: powerButtonBackground
|
||||
color: config.rosewater
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
onClicked: sddm.powerOff()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
Item {
|
||||
implicitHeight: rebootButton.height
|
||||
implicitWidth: rebootButton.width
|
||||
Button {
|
||||
id: rebootButton
|
||||
height: inputHeight
|
||||
width: inputHeight
|
||||
hoverEnabled: true
|
||||
icon {
|
||||
source: Qt.resolvedUrl("../icons/reboot.svg")
|
||||
height: height
|
||||
width: width
|
||||
color: config.crust
|
||||
}
|
||||
background: Rectangle {
|
||||
id: rebootButtonBackground
|
||||
radius: 3
|
||||
color: config.red
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "hovered"
|
||||
when: rebootButton.hovered
|
||||
PropertyChanges {
|
||||
target: rebootButtonBackground
|
||||
color: config.rosewater
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
onClicked: sddm.reboot()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
import QtQml.Models 2.15
|
||||
|
||||
Item {
|
||||
property var session: sessionList.currentIndex
|
||||
implicitHeight: sessionButton.height
|
||||
implicitWidth: sessionButton.width
|
||||
DelegateModel {
|
||||
id: sessionWrapper
|
||||
model: sessionModel
|
||||
delegate: ItemDelegate {
|
||||
id: sessionEntry
|
||||
height: inputHeight
|
||||
width: parent.width
|
||||
highlighted: sessionList.currentIndex == index
|
||||
contentItem: Text {
|
||||
renderType: Text.NativeRendering
|
||||
font.family: config.Font
|
||||
font.pointSize: config.FontSize
|
||||
font.bold: true
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
color: config.text
|
||||
text: name
|
||||
}
|
||||
background: Rectangle {
|
||||
id: sessionEntryBackground
|
||||
color: config.surface1
|
||||
radius: 3
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "hovered"
|
||||
when: sessionEntry.hovered
|
||||
PropertyChanges {
|
||||
target: sessionEntryBackground
|
||||
color: config.surface2
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
property: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: {
|
||||
sessionList.currentIndex = index
|
||||
sessionPopup.close()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Button {
|
||||
id: sessionButton
|
||||
height: inputHeight
|
||||
width: inputHeight
|
||||
hoverEnabled: true
|
||||
icon {
|
||||
source: Qt.resolvedUrl("../icons/settings.svg")
|
||||
height: height
|
||||
width: width
|
||||
color: config.text
|
||||
}
|
||||
background: Rectangle {
|
||||
id: sessionButtonBackground
|
||||
color: config.surface0
|
||||
radius: 3
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "pressed"
|
||||
when: sessionButton.down
|
||||
PropertyChanges {
|
||||
target: sessionButtonBackground
|
||||
color: config.surface1
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "hovered"
|
||||
when: sessionButton.hovered
|
||||
PropertyChanges {
|
||||
target: sessionButtonBackground
|
||||
color: config.surface2
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "selection"
|
||||
when: sessionPopup.visible
|
||||
PropertyChanges {
|
||||
target: sessionButtonBackground
|
||||
color: config.surface2
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 150
|
||||
}
|
||||
}
|
||||
onClicked: {
|
||||
sessionPopup.visible ? sessionPopup.close() : sessionPopup.open()
|
||||
sessionButton.state = "pressed"
|
||||
}
|
||||
}
|
||||
Popup {
|
||||
id: sessionPopup
|
||||
width: inputWidth + padding * 2
|
||||
x: (sessionButton.width + sessionList.spacing) * -7.6
|
||||
y: -(contentHeight + padding * 2) + sessionButton.height
|
||||
padding: inputHeight / 10
|
||||
background: Rectangle {
|
||||
radius: 5.4
|
||||
color: config.surface0
|
||||
}
|
||||
contentItem: ListView {
|
||||
id: sessionList
|
||||
implicitHeight: contentHeight
|
||||
spacing: 8
|
||||
model: sessionWrapper
|
||||
currentIndex: sessionModel.lastIndex
|
||||
clip: true
|
||||
}
|
||||
enter: Transition {
|
||||
ParallelAnimation {
|
||||
NumberAnimation {
|
||||
property: "opacity"
|
||||
from: 0
|
||||
to: 1
|
||||
duration: 400
|
||||
easing.type: Easing.OutExpo
|
||||
}
|
||||
NumberAnimation {
|
||||
property: "x"
|
||||
from: sessionPopup.x + (inputWidth * 0.1)
|
||||
to: sessionPopup.x
|
||||
duration: 500
|
||||
easing.type: Easing.OutExpo
|
||||
}
|
||||
}
|
||||
}
|
||||
exit: Transition {
|
||||
NumberAnimation {
|
||||
property: "opacity"
|
||||
from: 1
|
||||
to: 0
|
||||
duration: 300
|
||||
easing.type: Easing.OutExpo
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
Item {
|
||||
implicitHeight: sleepButton.height
|
||||
implicitWidth: sleepButton.width
|
||||
Button {
|
||||
id: sleepButton
|
||||
height: inputHeight
|
||||
width: inputHeight
|
||||
hoverEnabled: true
|
||||
icon {
|
||||
source: Qt.resolvedUrl("../icons/sleep.svg")
|
||||
height: height
|
||||
width: width
|
||||
color: config.crust
|
||||
}
|
||||
background: Rectangle {
|
||||
id: sleepButtonBg
|
||||
color: config.red
|
||||
radius: 3
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "hovered"
|
||||
when: sleepButton.hovered
|
||||
PropertyChanges {
|
||||
target: sleepButtonBg
|
||||
color: config.rosewater
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
onClicked: sddm.suspend()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
TextField {
|
||||
id: userField
|
||||
height: inputHeight
|
||||
width: inputWidth
|
||||
selectByMouse: true
|
||||
echoMode: TextInput.Normal
|
||||
selectionColor: config.overlay0
|
||||
renderType: Text.NativeRendering
|
||||
font {
|
||||
family: config.Font
|
||||
pointSize: config.FontSize
|
||||
bold: true
|
||||
}
|
||||
color: config.text
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
placeholderText: "Username"
|
||||
text: userModel.lastUser
|
||||
background: Rectangle {
|
||||
id: userFieldBackground
|
||||
color: config.surface0
|
||||
radius: 3
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "focused"
|
||||
when: userField.activeFocus
|
||||
PropertyChanges {
|
||||
target: userFieldBackground
|
||||
color: config.surface1
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "hovered"
|
||||
when: userField.hovered
|
||||
PropertyChanges {
|
||||
target: userFieldBackground
|
||||
color: config.surface1
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Window 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
import "Components"
|
||||
|
||||
Item {
|
||||
id: root
|
||||
height: Screen.height
|
||||
width: Screen.width
|
||||
Rectangle {
|
||||
id: background
|
||||
anchors.fill: parent
|
||||
height: parent.height
|
||||
width: parent.width
|
||||
z: 0
|
||||
color: config.base
|
||||
}
|
||||
Image {
|
||||
id: backgroundImage
|
||||
anchors.fill: parent
|
||||
height: parent.height
|
||||
width: parent.width
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: config.CustomBackground == "true" ? true : false
|
||||
z: 1
|
||||
source: config.Background
|
||||
asynchronous: false
|
||||
cache: true
|
||||
mipmap: true
|
||||
clip: true
|
||||
}
|
||||
Item {
|
||||
id: mainPanel
|
||||
z: 3
|
||||
anchors {
|
||||
fill: parent
|
||||
margins: 50
|
||||
}
|
||||
Clock {
|
||||
id: time
|
||||
visible: config.ClockEnabled == "true" ? true : false
|
||||
}
|
||||
LoginPanel {
|
||||
id: loginPanel
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 6.3 KiB |
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<svg fill="#000000" height="800px" width="800px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 198.715 198.715" xml:space="preserve">
|
||||
<g>
|
||||
<path d="M161.463,48.763c-2.929-2.929-7.677-2.929-10.607,0c-2.929,2.929-2.929,7.677,0,10.606
|
||||
c13.763,13.763,21.342,32.062,21.342,51.526c0,19.463-7.579,37.761-21.342,51.523c-14.203,14.204-32.857,21.305-51.516,21.303
|
||||
c-18.659-0.001-37.322-7.104-51.527-21.309c-28.405-28.405-28.402-74.625,0.005-103.032c2.929-2.929,2.929-7.678,0-10.606
|
||||
c-2.929-2.929-7.677-2.929-10.607,0C2.956,83.029,2.953,138.766,37.206,173.019c17.132,17.132,39.632,25.697,62.135,25.696
|
||||
c22.497-0.001,44.997-8.564,62.123-25.69c16.595-16.594,25.734-38.659,25.734-62.129C187.199,87.425,178.059,65.359,161.463,48.763
|
||||
z"/>
|
||||
<path d="M99.332,97.164c4.143,0,7.5-3.358,7.5-7.5V7.5c0-4.142-3.357-7.5-7.5-7.5s-7.5,3.358-7.5,7.5v82.164
|
||||
C91.832,93.807,95.189,97.164,99.332,97.164z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1080" height="1080" viewBox="0 0 1080 1080" xml:space="preserve">
|
||||
<defs>
|
||||
</defs>
|
||||
<g transform="matrix(1 0 0 1 540 540)" id="2a220bb6-5b48-475d-961e-cf61e288ad30" >
|
||||
<rect style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(255,255,255); fill-rule: nonzero; opacity: 1; visibility: hidden;" vector-effect="non-scaling-stroke" x="-540" y="-540" rx="0" ry="0" width="1080" height="1080" />
|
||||
</g>
|
||||
<g transform="matrix(1 0 0 1 540 540)" id="fd45914b-ae78-4c99-8f0c-f2807b2dc79c" >
|
||||
</g>
|
||||
<g transform="matrix(45.29 0 0 45.29 556.31 508.95)" id="95767c2e-b581-4faa-9009-e8003f7e8866" >
|
||||
<path style="stroke: rgb(0,0,0); stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" transform=" translate(-8.36, -16)" d="M 15.88 13.84 C 14.200000000000001 10.36 10.440000000000001 8.6 6.840000000000002 9.24 L 7.800000000000002 7.44 C 8.040000000000001 7.04 7.880000000000002 6.5200000000000005 7.480000000000001 6.32 C 7.080000000000001 6.08 6.560000000000001 6.24 6.360000000000001 6.640000000000001 L 4.400000000000001 10.280000000000001 C 4.400000000000001 10.280000000000001 3.9600000000000013 11.000000000000002 4.6400000000000015 11.32 L 8.280000000000001 13.280000000000001 C 8.4 13.360000000000001 8.56 13.4 8.680000000000001 13.4 C 8.96 13.4 9.280000000000001 13.24 9.400000000000002 12.96 C 9.640000000000002 12.56 9.480000000000002 12.040000000000001 9.080000000000002 11.84 L 7.200000000000002 10.8 C 10.040000000000003 10.32 13.000000000000002 11.760000000000002 14.320000000000002 14.48 C 15.920000000000002 17.8 14.520000000000001 21.8 11.200000000000003 23.36 C 9.600000000000003 24.12 7.8000000000000025 24.24 6.120000000000003 23.64 C 4.440000000000003 23.040000000000003 3.0800000000000027 21.84 2.320000000000003 20.240000000000002 C 1.560000000000003 18.64 1.440000000000003 16.840000000000003 2.0400000000000027 15.160000000000002 C 2.200000000000003 14.720000000000002 1.9600000000000026 14.240000000000002 1.5200000000000027 14.080000000000002 C 1.1200000000000028 14.000000000000002 0.6400000000000027 14.240000000000002 0.48000000000000265 14.680000000000001 C -0.23999999999999733 16.8 -0.11999999999999733 19.040000000000003 0.8400000000000026 21.040000000000003 C 1.8000000000000025 23.040000000000003 3.4800000000000026 24.560000000000002 5.600000000000002 25.320000000000004 C 6.520000000000002 25.640000000000004 7.440000000000002 25.800000000000004 8.360000000000003 25.800000000000004 C 9.600000000000003 25.800000000000004 10.840000000000003 25.520000000000003 11.960000000000003 24.960000000000004 C 16.120000000000005 22.960000000000004 17.880000000000003 17.960000000000004 15.880000000000003 13.840000000000005 z" stroke-linecap="round" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.0 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M24 13.616v-3.232c-1.651-.587-2.694-.752-3.219-2.019v-.001c-.527-1.271.1-2.134.847-3.707l-2.285-2.285c-1.561.742-2.433 1.375-3.707.847h-.001c-1.269-.526-1.435-1.576-2.019-3.219h-3.232c-.582 1.635-.749 2.692-2.019 3.219h-.001c-1.271.528-2.132-.098-3.707-.847l-2.285 2.285c.745 1.568 1.375 2.434.847 3.707-.527 1.271-1.584 1.438-3.219 2.02v3.232c1.632.58 2.692.749 3.219 2.019.53 1.282-.114 2.166-.847 3.707l2.285 2.286c1.562-.743 2.434-1.375 3.707-.847h.001c1.27.526 1.436 1.579 2.019 3.219h3.232c.582-1.636.75-2.69 2.027-3.222h.001c1.262-.524 2.12.101 3.698.851l2.285-2.286c-.744-1.563-1.375-2.433-.848-3.706.527-1.271 1.588-1.44 3.221-2.021zm-12 2.384c-2.209 0-4-1.791-4-4s1.791-4 4-4 4 1.791 4 4-1.791 4-4 4z"/></svg>
|
||||
|
After Width: | Height: | Size: 811 B |
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg fill="#000000" width="800px" height="800px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<title>moon</title>
|
||||
<path d="M10.895 7.574c0 7.55 5.179 13.67 11.567 13.67 1.588 0 3.101-0.38 4.479-1.063-1.695 4.46-5.996 7.636-11.051 7.636-6.533 0-11.83-5.297-11.83-11.83 0-4.82 2.888-8.959 7.023-10.803-0.116 0.778-0.188 1.573-0.188 2.39z"></path>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 419 B |
@@ -0,0 +1,14 @@
|
||||
[SddmGreeterTheme]
|
||||
Name=Catppuccin mocha
|
||||
Description=Soothing pastel theme for SDDM
|
||||
Type=sddm-theme
|
||||
Version=2.1
|
||||
Website=https://github.com/catppuccin/sddm
|
||||
Screenshot=preview.png
|
||||
MainScript=Main.qml
|
||||
ConfigFile=theme.conf
|
||||
TranslationsDirectory=translations
|
||||
Theme-Id=Catppuccin
|
||||
Theme-API=2.0
|
||||
License=MIT
|
||||
QtVersion=6
|
||||
|
After Width: | Height: | Size: 34 KiB |
@@ -0,0 +1,39 @@
|
||||
[General]
|
||||
Font="Noto Sans"
|
||||
FontSize=9
|
||||
ClockEnabled="true"
|
||||
CustomBackground="false"
|
||||
LoginBackground="false"
|
||||
Background="backgrounds/wall.jpg"
|
||||
|
||||
# Uncomment this option to show the last letter of the password
|
||||
# for the number of milliseconds specified
|
||||
# PasswordShowLastLetter=1000
|
||||
|
||||
# DON'T CHANGE THESE
|
||||
rosewater = "#f5e0dc"
|
||||
flamingo = "#f2cdcd"
|
||||
pink = "#f5c2e7"
|
||||
mauve = "#cba6f7"
|
||||
red = "#f38ba8"
|
||||
maroon = "#eba0ac"
|
||||
peach = "#fab387"
|
||||
yellow = "#f9e2af"
|
||||
green = "#a6e3a1"
|
||||
teal = "#94e2d5"
|
||||
sky = "#89dceb"
|
||||
sapphire = "#74c7ec"
|
||||
blue = "#89b4fa"
|
||||
lavender = "#b4befe"
|
||||
text = "#cdd6f4"
|
||||
subtext1 = "#bac2de"
|
||||
subtext0 = "#a6adc8"
|
||||
overlay2 = "#9399b2"
|
||||
overlay1 = "#7f849c"
|
||||
overlay0 = "#6c7086"
|
||||
surface2 = "#585b70"
|
||||
surface1 = "#45475a"
|
||||
surface0 = "#313244"
|
||||
base = "#1e1e2e"
|
||||
mantle = "#181825"
|
||||
crust = "#11111b"
|
||||