Merge pull request #1 from ericonr/emojiparty

Merge changes made in my different devices.
This commit is contained in:
Érico Nogueira Rolim 2020-03-12 14:06:13 -03:00 committed by GitHub
commit 28b6b17c77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 44 additions and 18 deletions

View File

@ -1,4 +1,4 @@
# Configuration for Alacritty, the GPU enhanced terminal emulator. # ericonr's configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as # Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables # environment variables. Some entries may override variables

View File

@ -27,9 +27,21 @@ set smartcase
" APPEARANCE " APPEARANCE
" Tab width
set tabstop=3
set shiftwidth=3
" Show relative line numbers " Show relative line numbers
set number rnu set number rnu
" Pretty color scheme that works well with the one chosen for alacritty " Pretty color scheme that works well with the one chosen for alacritty
colorscheme slate colorscheme slate
" FUNCTIONS
" Sets up the editor for spaces instead of tabs - WIP
" https://stackoverflow.com/questions/1878974/redefine-tab-as-4-spaces
fu! SpaceTabs()
:set tabstop=8 softtabstop=0 expandtab shiftwidth=2 smarttab
endfunction

9
script/.local/bin/mktmpdir Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
NEW_DIR="/tmp/$(pwd)/$1"
echo New dir created in $NEW_DIR
mkdir -p $NEW_DIR
ln -s $NEW_DIR $1

View File

@ -46,8 +46,7 @@ input * {
} }
bindsym $mod+Space exec keyboard_layout_switcher bindsym $mod+Space exec keyboard_layout_switcher
# Touchpad # Touchpad
set $touchpad "1739:31251:SYNA2393:00_06CB:7A13_Touchpad" input * {
input $touchpad {
tap enabled tap enabled
natural_scroll disabled natural_scroll disabled
} }
@ -79,6 +78,8 @@ bindsym $mod+Return exec $term
bindsym $mod+t exec $term -e start-tmux bindsym $mod+t exec $term -e start-tmux
# Start a terminal with music tmux # Start a terminal with music tmux
bindsym $mod+Mod1+m exec $term -e start-tmux-music bindsym $mod+Mod1+m exec $term -e start-tmux-music
# Start MPV with clipboard as arg
bindsym $mod+Mod1+p exec bash -c "mpv `wl-paste`"
# Launch editor # Launch editor
bindsym $mod+Shift+w exec $editor bindsym $mod+Shift+w exec $editor
# Start Dolphin file browser # Start Dolphin file browser
@ -152,21 +153,21 @@ bindsym $mod+Shift+a focus child
## Workspaces ## Workspaces
# Workspace name # Workspace name
set $ws1 "1" set $ws1 "💜"
set $ws2 "2" set $ws2 "👯"
set $ws3 "3" set $ws3 "🔱"
set $ws4 "4" set $ws4 "🍀"
set $ws5 "5" set $ws5 "🌟"
set $ws6 "6" set $ws6 "🌈"
set $ws7 "7" set $ws7 "🐞"
set $ws8 "8" set $ws8 "♾️"
set $ws9 "9" set $ws9 "👌"
set $ws10 "10" set $ws10 "🌀"
set $wsb "browser" set $wsb "🌎"
set $wsn "nth" set $wsn ""
set $wsm "media" set $wsm "🎺"
set $wso "oh" set $wso "🧛"
set $wsp "pdf" set $wsp "📜"
# Switch to workspace # Switch to workspace
bindsym $mod+1 workspace $ws1 bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2 bindsym $mod+2 workspace $ws2
@ -256,6 +257,7 @@ assign [app_id="Kicad"] $wsn
assign [title="CubeMX"] $wsn assign [title="CubeMX"] $wsn
# PDF # PDF
assign [app_id="okular"] $wsp assign [app_id="okular"] $wsp
assign [app_id="zathura"] $wsp
## Application specific settings ## Application specific settings
for_window [app_id="krunner"] floating enable for_window [app_id="krunner"] floating enable

View File

@ -2,4 +2,5 @@
daemonize daemonize
color=000000 color=000000
image=~/Pictures/wallpaper.png

View File

@ -4,3 +4,5 @@ prompt=Hello!
normal_window=false normal_window=false
allow_images=true allow_images=true
cache=~/.cache/wofi