mirror of
https://github.com/10h30/endeavouros-i3wm-setup.git
synced 2026-07-11 18:55:54 +09:00
release 27.8.2021 preparations
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
|
||||
exec --no-startup-id ~/set_once.sh
|
||||
# This file is a modified version based on default i3-config-wizard config
|
||||
# source is available here:
|
||||
# https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/master/.config/i3/config
|
||||
|
||||
@@ -1,2 +1,24 @@
|
||||
#!/bin/sh
|
||||
yad --title="EndeavourOS i3-wm keybindings:" --no-buttons --geometry=400x345-15-400 --list --column=key: --column=description: --column=command: "ESC" "close this app" "" "=" "modkey" "(set mod Mod4)" "+enter" "open a terminal" "" "+w" "open Browser" "" "+n" "open Filebrowser" "" "F9" "app menu" "(rofi)" "+c" "close focused app" "(kill)" "Print-key" "screenshot" "(scrot)" "+Shift+e" "logout menu" "(rofi)" "+F1" "open keybinding helper" "full list"
|
||||
#!/bin/bash
|
||||
|
||||
Main() {
|
||||
source /usr/share/endeavouros/scripts/eos-script-lib-yad || return 1
|
||||
|
||||
local command=(
|
||||
eos_yad --title="EndeavourOS i3-wm keybindings:" --no-buttons --geometry=400x345-15-400 --list
|
||||
--column=key: --column=description: --column=command:
|
||||
"ESC" "close this app" ""
|
||||
"=" "modkey" "(set mod Mod4)"
|
||||
"+enter" "open a terminal" ""
|
||||
"+w" "open Browser" ""
|
||||
"+n" "open Filebrowser" ""
|
||||
"F9" "app menu" "(rofi)"
|
||||
"+c" "close focused app" "(kill)"
|
||||
"Print-key" "screenshot" "(scrot)"
|
||||
"+Shift+e" "logout menu" "(rofi)"
|
||||
"+F1" "open keybinding helper" "full list"
|
||||
)
|
||||
|
||||
"${command[@]}"
|
||||
}
|
||||
|
||||
Main "$@"
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
dbus-launch dconf load / < ~/xed.dconf
|
||||
chmod -R +x ~/.config/i3/scripts
|
||||
sed -i 's|\(exec --no-startup-id ~/set_once.sh\)|# \1|' ~/.config/i3/config
|
||||
rm ~/xed.dconf
|
||||
rm ~/set_once.sh
|
||||
Reference in New Issue
Block a user