Refactored for i3. Sway is having some issues.
I may end up using i3 for a little bit.
This commit is contained in:
parent
ccb3696285
commit
3afd9d05ce
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -11,6 +11,10 @@
|
|||
# EMACS
|
||||
emacs/custom.el
|
||||
|
||||
################################################################################
|
||||
# i3
|
||||
i3/config
|
||||
|
||||
################################################################################
|
||||
# VIM
|
||||
vim/backup/*
|
||||
|
|
|
@ -18,10 +18,12 @@ set $right l
|
|||
# Your preferred terminal emulator
|
||||
set $term kitty
|
||||
|
||||
set $menu rofi --show
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:Fira Code 9
|
||||
|
||||
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
#font pango:DejaVu Sans Mono 8
|
||||
|
@ -43,7 +45,7 @@ bindsym $mod+Return exec i3-sensible-terminal
|
|||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec dmenu_run
|
||||
bindsym $mod+d exec $menu
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
|
@ -174,5 +176,3 @@ bindsym $mod+r mode "resize"
|
|||
bar {
|
||||
status_command i3status
|
||||
}
|
||||
|
||||
include autostart
|
|
@ -9,14 +9,22 @@ init:
|
|||
ifeq ($(call cmd_exist,i3), true)
|
||||
$(info => Setting up i3)
|
||||
$(mk_link) $(SRC) $(TARGET)
|
||||
else
|
||||
$(report) warn "i3 not installed."
|
||||
endif
|
||||
|
||||
update:
|
||||
ifeq ($(call cmd_exist,i3-msg), true)
|
||||
$(info => Reloading i3-msg)
|
||||
$(MAKE) -C $(SRC) build_i3
|
||||
swaymsg reload ; $(report) "i3 reload"
|
||||
else
|
||||
$(report) warn "i3 not installed."
|
||||
endif
|
||||
|
||||
remove:
|
||||
$(info => Remvoing sway)
|
||||
$(rm_link) $(TARGET)
|
||||
|
||||
build_i3:
|
||||
cat $(SRC)/config.d/* > $(SRC)/config
|
||||
|
|
Loading…
Reference in New Issue
Block a user