diff options
author | Mateja <mail@matejamaric.com> | 2020-09-01 16:20:40 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-09-01 16:20:40 +0200 |
commit | 77f4ff43b8c98f1480cdcb0103980ff030cec156 (patch) | |
tree | ab79ed2b8682649a9ae757f00b417b42880b3089 | |
parent | d91f16a96662b559893b049840e8599847877c33 (diff) | |
download | dotfiles-77f4ff43b8c98f1480cdcb0103980ff030cec156.tar.gz dotfiles-77f4ff43b8c98f1480cdcb0103980ff030cec156.zip |
Nord theme for Termite. Qtile autostart. bash_profile don't force startx.
-rw-r--r-- | .bash_profile | 2 | ||||
-rwxr-xr-x | .config/qtile/autostart.sh | 8 | ||||
-rw-r--r-- | .config/qtile/config.py | 16 | ||||
-rw-r--r-- | .config/termite/config | 51 |
4 files changed, 48 insertions, 29 deletions
diff --git a/.bash_profile b/.bash_profile index 24aa5a0..acb50cc 100644 --- a/.bash_profile +++ b/.bash_profile @@ -5,5 +5,5 @@ [[ -f ~/.bashrc ]] && . ~/.bashrc if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then - exec startx + startx fi diff --git a/.config/qtile/autostart.sh b/.config/qtile/autostart.sh new file mode 100755 index 0000000..c05510b --- /dev/null +++ b/.config/qtile/autostart.sh @@ -0,0 +1,8 @@ +#!/bin/sh +xset -b +setxkbmap -option caps:swapescape +#setxkbmap -layout us,rs -variant ,alternatequotes -option grp:alt_shift_toggle,caps:swapescape +dunst & +udiskie & +#picom & +feh --bg-fill ~/stuff/pictures/alps-house.jpg diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 8315d83..34b104d 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -24,18 +24,30 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +import os +import subprocess + from typing import List # noqa: F401 -from libqtile import bar, layout, widget +from libqtile import bar, layout, widget, hook from libqtile.config import Click, Drag, Group, Key, Screen from libqtile.lazy import lazy from libqtile.utils import guess_terminal mod = "mod4" -#terminal = guess_terminal() terminal = "termite" +@hook.subscribe.startup_once +def autostart(): + home = os.path.expanduser('~/.config/qtile/autostart.sh') + subprocess.call([home]) + keys = [ + #MY KEYS + Key([mod], "t", lazy.window.toggle_floating(), + desc="Toggle floating"), + ######## + # Switch between windows in current stack pane Key([mod], "k", lazy.layout.down(), desc="Move focus down in stack pane"), diff --git a/.config/termite/config b/.config/termite/config index 8791d4d..b64bfdc 100644 --- a/.config/termite/config +++ b/.config/termite/config @@ -6,7 +6,7 @@ #cell_width_scale = 1.0 #clickable_url = true #dynamic_title = true -font = Fira Mono 9 +font = Monospace 9 #fullscreen = true #icon_name = terminal #mouse_autohide = false @@ -53,31 +53,30 @@ scrollback_lines = 10000 # vim: ft=dosini cms=#%s -# Solarized dark color scheme - +#Nord color theme [colors] -foreground = #839496 -foreground_bold = #eee8d5 -#foreground_dim = #888888 -background = #002b36 -cursor = #93a1a1 +cursor = #d8dee9 +cursor_foreground = #2e3440 + +foreground = #d8dee9 +foreground_bold = #d8dee9 +background = #2e3440 -# if unset, will reverse foreground and background -#highlight = #839496 +highlight = #4c566a -color0 = #073642 -color1 = #dc322f -color2 = #859900 -color3 = #b58900 -color4 = #268bd2 -color5 = #d33682 -color6 = #2aa198 -color7 = #eee8d5 -color8 = #002b36 -color9 = #cb4b16 -color10 = #586e75 -color11 = #657b83 -color12 = #839496 -color13 = #6c71c4 -color14 = #93a1a1 -color15 = #fdf6e3 +color0 = #3b4252 +color1 = #bf616a +color2 = #a3be8c +color3 = #ebcb8b +color4 = #81a1c1 +color5 = #b48ead +color6 = #88c0d0 +color7 = #e5e9f0 +color8 = #4c566a +color9 = #bf616a +color10 = #a3be8c +color11 = #ebcb8b +color12 = #81a1c1 +color13 = #b48ead +color14 = #8fbcbb +color15 = #eceff4 |