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
. "$DOTFILES_PATH/apps/de/x/profile"
# . "$DOTFILES_PATH/apps/de/x/profile"
BAR_COMMAND="startbar"
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."
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",
"position": "bottom",
"output": ["DP-1"],
"output": ["DP-1", "eDP-1"],
"height": 32,
"modules-left": ["sway/workspaces"],
"modules-center": ["clock"],

View File

@ -20,16 +20,22 @@ map ctrl+shift+v paste_from_selection
enable_audio_bell yes
# TODO: generate via color scheme generator
background #111111
foreground #f8f8f2
url_style curly
# https://google.com
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
color1 #f92672
color2 #a6e22e
@ -49,6 +55,35 @@ color13 #f5f4f1
color14 #cc6633
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
kitty_mod ctrl+shift+alt
open_url_modifiers ctrl

View File

@ -40,7 +40,7 @@ pacaur --needed -S \
wlroots-git sway-git `# Wayland Compositor` \
swaylock `# Wayland Compositor` \
waybar mako `# Wayland Bar & Notifications` \
slurp grim `# Wayland Screen Selection & Clipping` \
slurp grim wl-clipboard `# Wayland Screen Selection & Clipping` \
wl-clipboard `# Wayland Clipboard CLI` \
terminus-font ttf-iosevka-type ttf-iosevka-term `# Primary Fonts` \
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
xrandr --output eDP1 --scale-from 1600x900 --filter nearest --mode 3200x1800
"${DOTFILES_PATH}/apps/de/bspwm/rc"
xrdb -merge "$ENV_PATH/x/docked.resources"
"${DOTFILES_PATH}/apps/de/bspwm/rc"
restartbar
"${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
# 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