Merge branch 'dev' of ssh://git.lyte.dev:2222/lytedev/dotfiles into dev

This commit is contained in:
Daniel Flanagan 2020-05-28 08:48:03 -05:00
commit ad0a428050
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
12 changed files with 93 additions and 8 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env sh #!/usr/bin/env sh
. "$DOTFILES_PATH/apps/de/x/profile" # . "$DOTFILES_PATH/apps/de/x/profile"
BAR_COMMAND="startbar" BAR_COMMAND="startbar"
BSPWM_STATE_FILE="$HOME/.bspwm_state" BSPWM_STATE_FILE="$HOME/.bspwm_state"

View file

@ -0,0 +1,5 @@
gesture swipe left 3 bspc desktop -f next
gesture swipe right 3 bspc desktop -f prev
gesture swipe right 2 swaymsg seat seat0 cursor press BTN_EXTRA && swaymsg seat seat0 cursor release BTN_EXTRA
gesture swipe left 2 swaymsg seat seat0 cursor press BTN_SIDE && swaymsg seat seat0 cursor release BTN_SIDE

View file

@ -163,3 +163,6 @@ exec_always makoctl reload
exec_always notify-send -a "Sway" -i ~/.wallpaper "Sway configuration loaded." exec_always notify-send -a "Sway" -i ~/.wallpaper "Sway configuration loaded."
include $ENV_PATH/sway/config.d/* include $ENV_PATH/sway/config.d/*
exec mako
exec libinput-gestures -c $DOTFILES_PATH/apps/de/libinput/sway-gestures.conf

View file

@ -1,7 +1,7 @@
{ {
"layer": "top", "layer": "top",
"position": "bottom", "position": "bottom",
"output": ["DP-1"], "output": ["DP-1", "eDP-1"],
"height": 32, "height": 32,
"modules-left": ["sway/workspaces"], "modules-left": ["sway/workspaces"],
"modules-center": ["clock"], "modules-center": ["clock"],

View file

@ -20,16 +20,22 @@ map ctrl+shift+v paste_from_selection
enable_audio_bell yes enable_audio_bell yes
# TODO: generate via color scheme generator
background #111111
foreground #f8f8f2
url_style curly url_style curly
# https://google.com # https://google.com
strip_trailing_spaces smart strip_trailing_spaces smart
kitty_mod ctrl+shift+alt
open_url_modifiers ctrl
# dark theme
# TODO: generate via color scheme generator
background #111111
foreground #f8f8f2
color0 #111111 color0 #111111
color1 #f92672 color1 #f92672
color2 #a6e22e color2 #a6e22e
@ -49,6 +55,35 @@ color13 #f5f4f1
color14 #cc6633 color14 #cc6633
color15 #f9f8f5 color15 #f9f8f5
# color18 #333333
# # light theme
#
# background #eeeeee
# foreground #000000
#
# color0 #eeeeee
# color1 #f92672
# color2 #a6e22e
# color3 #f4bf75
# color4 #66d9ef
# color5 #ae81ff
# color6 #a1efe4
# color7 #000000
#
# # TODO: where did these colors come from? donokai?
# color8 #aaaaaa
# color9 #fd971f
# color10 #cccccc
# color11 #49483e
# color12 #a59f85
# color13 #f5f4f1
# color14 #cc6633
# color15 #f9f8f5
#
# color18 #cccccc
#
color18 #333333 color18 #333333
kitty_mod ctrl+shift+alt kitty_mod ctrl+shift+alt
open_url_modifiers ctrl open_url_modifiers ctrl

View file

@ -40,7 +40,7 @@ pacaur --needed -S \
wlroots-git sway-git `# Wayland Compositor` \ wlroots-git sway-git `# Wayland Compositor` \
swaylock `# Wayland Compositor` \ swaylock `# Wayland Compositor` \
waybar mako `# Wayland Bar & Notifications` \ waybar mako `# Wayland Bar & Notifications` \
slurp grim `# Wayland Screen Selection & Clipping` \ slurp grim wl-clipboard `# Wayland Screen Selection & Clipping` \
wl-clipboard `# Wayland Clipboard CLI` \ wl-clipboard `# Wayland Clipboard CLI` \
terminus-font ttf-iosevka-type ttf-iosevka-term `# Primary Fonts` \ terminus-font ttf-iosevka-type ttf-iosevka-term `# Primary Fonts` \
ttf-font-awesome `# Icon Font` \ ttf-font-awesome `# Icon Font` \

8
env/laptop/bin/gamedock vendored Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env sh
autorandr --load games
xrandr --output eDP1 --mode 1600x900
"${DOTFILES_PATH}/apps/de/bspwm/rc"
xrdb -merge "$ENV_PATH/x/games.resources"
restartbar
"${HOME}/.fehbg"

9
env/laptop/bin/homedock vendored Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env sh
autorandr --change
xrandr --output eDP1 --scale-from 1600x900 --filter nearest --mode 3200x1800
xrdb -merge "$ENV_PATH/x/docked.resources"
xrdb -merge "$ENV_PATH/x/home.docked.resources"
"${DOTFILES_PATH}/apps/de/bspwm/rc"
restartbar
"${HOME}/.fehbg"

View file

@ -2,7 +2,7 @@
autorandr --change autorandr --change
xrandr --output eDP1 --scale-from 1600x900 --filter nearest --mode 3200x1800 xrandr --output eDP1 --scale-from 1600x900 --filter nearest --mode 3200x1800
"${DOTFILES_PATH}/apps/de/bspwm/rc"
xrdb -merge "$ENV_PATH/x/docked.resources" xrdb -merge "$ENV_PATH/x/docked.resources"
"${DOTFILES_PATH}/apps/de/bspwm/rc"
restartbar restartbar
"${HOME}/.fehbg" "${HOME}/.fehbg"

View file

@ -20,3 +20,17 @@ bindswitch lid:toggle exec swaylock
# You can get the names of your inputs by running: swaymsg -t get_inputs # You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section. # Read `man 5 sway-input` for more information about this section.
# Touchpad
# Identifier: 1739:30383:DLL075B:01_06CB:76AF_Touchpad
input type:touchpad {
dwt enabled
tap enabled
natural_scroll enabled
middle_emulation enabled
pointer_accel 0.33
}
input type:keyboard {
xkb_options ctrl:nocaps
}

7
env/laptop/x/games.resources vendored Normal file
View file

@ -0,0 +1,7 @@
dpi: 92
.dpi: 92
*dpi: 92
Xft.dpi: 92
polybar.display_monitor: eDP1
polybar.height: 40

4
env/laptop/x/home.docked.resources vendored Normal file
View file

@ -0,0 +1,4 @@
polybar.display_monitor: DP1-1
polybar.height: 40
bspwm.reverse_monitor_desktops: 1
bspwm.reverse_desktop_ordering: 1