Added labwc config
This commit is contained in:
+9
-6
@@ -7,9 +7,12 @@ alias pacin="sudo pacman -S"
|
|||||||
alias pacre="sudo pacman -R"
|
alias pacre="sudo pacman -R"
|
||||||
alias pacup="sudo pacman -Syu"
|
alias pacup="sudo pacman -Syu"
|
||||||
|
|
||||||
alias hyprconf="nvim ~/.config/hypr/hyprland.conf"
|
alias hyprconf="nvim ~/dotfiles/.config/hypr/hyprland.conf"
|
||||||
alias waybarconf="nvim ~/.config/waybar/config.jsonc"
|
alias swayconf="nvim ~/dotfiles/.config/sway/config"
|
||||||
alias aliasconf="nvim ~/.config/aliases"
|
alias labconf="nvim ~/dotfiles/.config/labwc/rc.xml"
|
||||||
alias kittyconf="nvim ~/.config/kitty/kitty.conf"
|
alias kanshiconf="nvim ~/dotfiles/.config/kanshi/config"
|
||||||
alias fishconf="nvim ~/.config/fish/config.fish"
|
alias waybarconf="nvim ~/dotfiles/.config/waybar/config.jsonc"
|
||||||
alias roficonf="nvim ~/.config/rofi/config.rasi"
|
alias aliasconf="nvim ~/dotfiles/.config/aliases"
|
||||||
|
alias kittyconf="nvim ~/dotfiles/.config/kitty/kitty.conf"
|
||||||
|
alias fishconf="nvim ~/dotfiles/.config/fish/config.fish"
|
||||||
|
alias roficonf="nvim ~/dotfiles/.config/rofi/config.rasi"
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
source ~/.config/aliases
|
source ~/.config/aliases
|
||||||
|
zoxide init fish | source
|
||||||
|
alias cd="z"
|
||||||
set fish_greeting
|
set fish_greeting
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
# Commands to run in interactive sessions can go here
|
# Commands to run in interactive sessions can go here
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#---MONITORS---#
|
#---MONITORS---#
|
||||||
monitor = DP-1, highres@highrr, 0x420, 1, vrr, 1
|
monitor = DP-1, highres@highrr, 0x420, 1, vrr, 1, bitdepth, 10
|
||||||
monitor = HDMI-A-1, highres@highrr, 2560x0, 1, transform, 1
|
monitor = HDMI-A-1, highres@highrr, 2560x0, 1, transform, 1
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#---GENERAL---#
|
#---GENERAL---#
|
||||||
|
|
||||||
general {
|
general {
|
||||||
gaps_in = 3
|
gaps_in = 0
|
||||||
gaps_out = 10
|
gaps_out = 0
|
||||||
|
|
||||||
border_size = 3
|
border_size = 3
|
||||||
col.active_border = rgba(99bbffff)
|
col.active_border = rgba(99bbffff)
|
||||||
@@ -14,6 +14,7 @@ general {
|
|||||||
misc {
|
misc {
|
||||||
force_default_wallpaper = 0
|
force_default_wallpaper = 0
|
||||||
disable_hyprland_logo = true
|
disable_hyprland_logo = true
|
||||||
|
vfr = true
|
||||||
}
|
}
|
||||||
gestures {
|
gestures {
|
||||||
workspace_swipe = false
|
workspace_swipe = false
|
||||||
@@ -23,19 +24,13 @@ gestures {
|
|||||||
#---DECORATION---#
|
#---DECORATION---#
|
||||||
|
|
||||||
decoration {
|
decoration {
|
||||||
rounding = 5
|
rounding = 0
|
||||||
active_opacity = 1.0
|
active_opacity = 1.0
|
||||||
inactive_opacity = 1.0
|
inactive_opacity = 1.0
|
||||||
#drop_shadow = true
|
shadow:enabled = true
|
||||||
#shadow_range = 4
|
shadow:range = 4
|
||||||
#shadow_render_power = 3
|
|
||||||
#col.shadow = rgba(1a1a1aee)
|
|
||||||
blur {
|
blur {
|
||||||
enabled = true
|
enabled = true
|
||||||
size = 3
|
|
||||||
passes = 3
|
|
||||||
|
|
||||||
vibrancy = 0.1696
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,9 +52,9 @@ dwindle {
|
|||||||
|
|
||||||
#----RENDER----#
|
#----RENDER----#
|
||||||
|
|
||||||
#render {
|
render {
|
||||||
#explicit_sync = 1
|
explicit_sync = 1
|
||||||
#explicit_sync_kms = 1
|
explicit_sync_kms = 1
|
||||||
#direct_scanout = true
|
direct_scanout = true
|
||||||
#}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
profile {
|
||||||
|
output DP-1 {
|
||||||
|
mode 2560x1440
|
||||||
|
position 0,420
|
||||||
|
adaptive_sync on
|
||||||
|
}
|
||||||
|
output HDMI-A-1 {
|
||||||
|
mode 1920x1080
|
||||||
|
position 2560,0
|
||||||
|
transform 90
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
# Example autostart file
|
||||||
|
|
||||||
|
# Set background color.
|
||||||
|
waypaper --restore
|
||||||
|
|
||||||
|
# Configure output directives such as mode, position, scale and transform.
|
||||||
|
# Use wlr-randr to get your output names
|
||||||
|
# Example ~/.config/kanshi/config below:
|
||||||
|
# profile {
|
||||||
|
# output HDMI-A-1 position 1366,0
|
||||||
|
# output eDP-1 position 0,0
|
||||||
|
# }
|
||||||
|
kanshi >/dev/null 2>&1 &
|
||||||
|
|
||||||
|
# Launch a panel such as yambar or waybar.
|
||||||
|
waybar >/dev/null 2>&1 &
|
||||||
|
|
||||||
|
# Enable notifications. Typically GNOME/KDE application notifications go
|
||||||
|
# through the org.freedesktop.Notifications D-Bus API and require a client such
|
||||||
|
# as mako to function correctly. Thunderbird is an example of this.
|
||||||
|
mako >/dev/null 2>&1 &
|
||||||
|
|
||||||
|
# Lock screen after 5 minutes; turn off display after another 5 minutes.
|
||||||
|
#
|
||||||
|
# Note that in the context of idle system power management, it is *NOT* a good
|
||||||
|
# idea to turn off displays by 'disabling outputs' for example by
|
||||||
|
# `wlr-randr --output <whatever> --off` because this re-arranges views
|
||||||
|
# (since a837fef). Instead use a wlr-output-power-management client such as
|
||||||
|
# https://git.sr.ht/~leon_plickat/wlopm
|
||||||
|
swayidle -w \
|
||||||
|
timeout 300 'swaylock -f -c 000000' \
|
||||||
|
timeout 600 'wlopm --off \*' \
|
||||||
|
resume 'wlopm --on \*' \
|
||||||
|
before-sleep 'swaylock -f -c 000000' >/dev/null 2>&1 &
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
##
|
||||||
|
## Example ~/.config/labwc/environment file.
|
||||||
|
## Uncomment lines starting with one '#' to suit your needs.
|
||||||
|
##
|
||||||
|
|
||||||
|
##
|
||||||
|
## Use the XKB_DEFAULT_LAYOUT variable to set the keyboard layout. For example
|
||||||
|
## to start with Swedish keyboard layout set it to 'se'. If you are unsure what
|
||||||
|
## your country code is, refer to the layout section of:
|
||||||
|
## /usr/share/X11/xkb/rules/evdev.lst
|
||||||
|
##
|
||||||
|
## Multiple keyboard layouts can be set by comma-separating the country codes.
|
||||||
|
## If a variant layout is needed, the syntax is layout(variant)
|
||||||
|
## If multiple layouts are used, specify the toggle-keybind using
|
||||||
|
## XKB_DEFAULT_OPTIONS as show below.
|
||||||
|
##
|
||||||
|
## For further details, see xkeyboard-config(7)
|
||||||
|
##
|
||||||
|
|
||||||
|
# XKB_DEFAULT_LAYOUT=se
|
||||||
|
# XKB_DEFAULT_LAYOUT=se,us(intl)
|
||||||
|
# XKB_DEFAULT_OPTIONS=grp:alt_shift_toggle
|
||||||
|
XKB_DEFAULT_OPTIONS=grp:caps:escape
|
||||||
|
|
||||||
|
##
|
||||||
|
## Set cursor theme and size. Find system icons themes with:
|
||||||
|
## `find /usr/share/icons/ -type d -name "cursors"`
|
||||||
|
##
|
||||||
|
|
||||||
|
XCURSOR_THEME=PolarCursorTheme
|
||||||
|
XCURSOR_SIZE=24
|
||||||
|
|
||||||
|
##
|
||||||
|
## Disable hardware cursors. Most users would not want to do this, but if you
|
||||||
|
## are experiencing issues with disappearing cursors, this might fix it.
|
||||||
|
##
|
||||||
|
|
||||||
|
# WLR_NO_HARDWARE_CURSORS=1
|
||||||
|
|
||||||
|
##
|
||||||
|
## In order for labwc to work out of the box, the environment variable below
|
||||||
|
## is set to "1" by default to avoid menus with incorrect offset and blank
|
||||||
|
## windows with Java applications such as JetBrains and Intellij Idea.
|
||||||
|
## See https://github.com/swaywm/sway/issues/595
|
||||||
|
## labwc will not override any already set environment variables, so if you for
|
||||||
|
## some reason do not want this, then just set it to "0" (not recommended, but
|
||||||
|
## mentioned here for completeness).
|
||||||
|
##
|
||||||
|
|
||||||
|
# _JAVA_AWT_WM_NONREPARENTING=0
|
||||||
|
|
||||||
|
##
|
||||||
|
## This allows xdg-desktop-portal-wlr to function (e.g. for screen-recording).
|
||||||
|
## It is automatically set to "labwc:wlroots" by labwc though, so it is only
|
||||||
|
## included here for completeness. Again, labwc will not over-write an
|
||||||
|
## already set environment variable, so if you need it set to something else,
|
||||||
|
## then uncomment and adjust.
|
||||||
|
##
|
||||||
|
|
||||||
|
# XDG_CURRENT_DESKTOP=labwc:wlroots
|
||||||
|
|
||||||
|
##
|
||||||
|
## This causes a virtual output to be created automatically whenever there
|
||||||
|
## are no outputs around. This helps for cases like wayvnc so there is always
|
||||||
|
## an output available to connect to. The name can be chosen freely but there
|
||||||
|
## must be no duplicate output names, for this reason using VIRTUAL-x or a
|
||||||
|
## physical connector name like HDMI-A-1 is not recommended as wlroots may
|
||||||
|
## want to create outputs with those names later on which would then fail.
|
||||||
|
##
|
||||||
|
## Using an output name that starts with NOOP- has the additional benefit
|
||||||
|
## that wayvnc will detect it being a virtual output and allow clients to
|
||||||
|
## resize the output to match the client resolution.
|
||||||
|
##
|
||||||
|
|
||||||
|
# LABWC_FALLBACK_OUTPUT=NOOP-fallback
|
||||||
|
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
This is a very simple config file with many options missing. For a complete
|
||||||
|
set of options with comments, see docs/rc.xml.all
|
||||||
|
-->
|
||||||
|
|
||||||
|
<labwc_config>
|
||||||
|
|
||||||
|
<core>
|
||||||
|
<adaptiveSync>yes</adaptiveSync>
|
||||||
|
<allowTearing>yes</allowTearing>
|
||||||
|
</core>
|
||||||
|
<theme>
|
||||||
|
<name></name>
|
||||||
|
<cornerRadius>8</cornerRadius>
|
||||||
|
<font name="sans" size="12" />
|
||||||
|
</theme>
|
||||||
|
|
||||||
|
<keyboard>
|
||||||
|
<default />
|
||||||
|
|
||||||
|
<keybind key="W-Return">
|
||||||
|
<action name="Execute" command="kitty" />
|
||||||
|
</keybind>
|
||||||
|
<keybind key="W-Shift_R">
|
||||||
|
<action name="Execute" command="nautilus" />
|
||||||
|
</keybind>
|
||||||
|
<keybind key="W-Control_R">
|
||||||
|
<action name="Execute" command="librewolf" />
|
||||||
|
</keybind>
|
||||||
|
|
||||||
|
<keybind key="W-r">
|
||||||
|
<action name="Execute" command="labwc -r" />
|
||||||
|
</keybind>
|
||||||
|
|
||||||
|
<keybind key="W-e">
|
||||||
|
<action name="kill"/>
|
||||||
|
</keybind>
|
||||||
|
|
||||||
|
<keybind key="W-End">
|
||||||
|
<action name="Exit"/>
|
||||||
|
</keybind>
|
||||||
|
</keyboard>
|
||||||
|
|
||||||
|
<mouse>
|
||||||
|
<default />
|
||||||
|
<!-- Show a custom menu on desktop right click -->
|
||||||
|
<context name="Root">
|
||||||
|
<mousebind button="Right" action="Press">
|
||||||
|
<action name="ShowMenu" menu="some-custom-menu" />
|
||||||
|
</mousebind>
|
||||||
|
</context>
|
||||||
|
</mouse>
|
||||||
|
|
||||||
|
</labwc_config>
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
// "icon-size": 21,
|
"icon-size": 22,
|
||||||
"spacing": 10
|
"spacing": 10
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
|
|||||||
Reference in New Issue
Block a user