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