Fix terminal key binding
This commit is contained in:
parent
0fa771c1c4
commit
7cf45f8ba0
@ -29,39 +29,28 @@ from pathlib import Path
|
|||||||
home = str(Path.home())
|
home = str(Path.home())
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
# Define Bar
|
# Define Status Bar
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
wm_bar = "polybar"
|
wm_bar = "polybar"
|
||||||
# wm_bar = "qtile"
|
# wm_bar = "qtile"
|
||||||
|
|
||||||
# --------------------------------------------------------
|
|
||||||
# Check for VirtualBox
|
|
||||||
# --------------------------------------------------------
|
|
||||||
|
|
||||||
if (os.path.isfile("/usr/bin/VBoxService")):
|
|
||||||
terminal = "terminator"
|
|
||||||
else:
|
|
||||||
terminal = "alacritty"
|
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
# Check for Desktop/Laptop
|
# Check for Desktop/Laptop
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
|
|
||||||
# 3 = Desktop
|
# 3 = Desktop
|
||||||
platform = int(os.popen("cat /sys/class/dmi/id/chassis_type").read())
|
platform = int(os.popen("cat /sys/class/dmi/id/chassis_type").read())
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
# Set default apps
|
# Set default apps
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
|
terminal = "alacritty"
|
||||||
# terminal = guess_terminal(terminal)
|
|
||||||
browser = "chromium"
|
browser = "chromium"
|
||||||
# browser = "brave"
|
# browser = "brave"
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
# Keybindings
|
# Keybindings
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
mod = "mod4"
|
mod = "mod4" # SUPER KEY
|
||||||
|
|
||||||
keys = [
|
keys = [
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user