Removed commit history

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2019-10-26 20:05:31 +03:00
commit b1335a3628
199 changed files with 36930 additions and 0 deletions

View file

@ -0,0 +1,6 @@
# vim:ft=sway
set $mod Mod4
set $term alacritty
set $gnome-schema org.gnome.desktop.interface
set $wallpaper ~/Pictures/Wallpapers/random/$(ls ~/Pictures/Wallpapers/random | sort -R | tail -n 1)

View file

@ -0,0 +1,6 @@
# vim:ft=sway
bar {
swaybar_command waybar
output eDP-1
}

View file

@ -0,0 +1,13 @@
# vim:ft=sway
input * {
xkb_layout eu
xkb_options caps:escape
}
input "1739:32382:DELL0884:00_06CB:7E7E_Touchpad" {
tap enabled
natural_scroll enabled
}
input '1267:9364:ELAN_Touchscreen' map_to_output eDP-1

View file

@ -0,0 +1,3 @@
# vim:ft=sway
output * bg $wallpaper fill

View file

@ -0,0 +1,17 @@
# vim:ft=sway
# Start applications in specific workspaces
assign [title="Telegram"] workspace 3
assign [app_id="evolution"] workspace 4
# Make passff float
for_window [title="moz-extension:\/\/aa3e4372-6ac1-4d2f-b1f4-1bd4cf33c726 - Firefox Nightly"] floating enable
# Automatically switch to urgent workspace
for_window [urgent="latest"] focus
# Make gimp export window float
for_window [title="Export Image*"] floating enable
# Make fzf-launcher float
for_window [app_id="fzf-launcher"] focus, floating enabled, border pixel 1

View file

@ -0,0 +1,177 @@
# vim:ft=sway
# start terminal
bindsym $mod+Return exec $term
# kill focused window
bindsym $mod+w kill
# start your launcher
bindsym $mod+Shift+p exec rofi-pass --bmarks
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
# reload the configuration file
bindsym $mod+Shift+r reload
# open link from clipboard in default application
bindsym $mod+Shift+o exec mimeo "$(wl-paste)"
# flash the current window
bindsym $mod+n exec flash_window
# turn on and off internal screen
bindsym --locked XF86Search output eDP-1 enable
bindsym --locked Shift+XF86Search output eDP-1 disable
# FZF
# exit menu
bindsym $mod+Shift+e exec $term --class fzf-launcher -e $HOME/Scripts/sway-exit.sh
# launch a program
bindsym $mod+d exec $term --class fzf-launcher --title "FZF Launcher" -e sh -c '~/Scripts/sway-launcher-desktop.sh'
# open a file
bindsym $mod+o exec $term --class fzf-launcher --title "FZF Open file" -e sh -c 'setsid mimeo $(fzf)'
# password manager
bindsym $mod+p exec $term --class fzf-launcher --title "FZF pass" -e sh -c fzf-pass
# manage notifications
bindsym $mod+Backspace exec makoctl invoke
bindsym Control+Escape exec makoctl dismiss
# activate lockscreen
bindsym Control+Shift+l exec loginctl lock-session
# Move your focus around
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# or use $mod+[up|down|left|right]
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# _move_ the focused window with the same, but add Shift
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# ditto, with arrow keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# Layout stuff:
# Split direction
bindsym $mod+y splith
bindsym $mod+x splitv
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+e layout tabbed
bindsym $mod+t layout toggle split
# Make the current focus fullscreen
bindsym $mod+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
# move focus to the parent container
bindsym $mod+a focus parent
# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
mode "resize" {
# left will shrink the containers width
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym h resize grow width 10px
bindsym j resize shrink height 10px
bindsym k resize grow height 10px
bindsym l resize shrink width 10px
# ditto, with arrow keys
bindsym Left resize grow width 10px
bindsym Down resize shrink height 10px
bindsym Up resize grow height 10px
bindsym Right resize shrink width 10px
# return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# start browser
bindsym $mod+b exec firefox-nightly
# media keys
bindsym --locked XF86AudioRaiseVolume exec pulseaudio-ctl up
bindsym --locked XF86AudioLowerVolume exec pulseaudio-ctl down
bindsym --locked XF86AudioMute exec pulseaudio-ctl mute
bindsym --locked XF86AudioNext exec playerctl next
bindsym --locked XF86AudioPrev exec playerctl previous
bindsym --locked XF86AudioPlay exec playerctl play-pause
bindsym --locked XF86AudioStop exec playerctl stop
bindsym --locked Ctrl+Alt+s exec playerctl stop
# rotate screen
bindsym $mod+Control+Left exec swaymsg output eDP-1 transform 90
bindsym $mod+Control+Down exec swaymsg output eDP-1 transform 0
bindsym $mod+Control+Up exec swaymsg output eDP-1 transform 180
bindsym $mod+Control+Right exec swaymsg output eDP-1 transform 270
# display brightness
bindsym --locked XF86MonBrightnessUp exec light -A 5
bindsym --locked XF86MonBrightnessDown exec light -U 5
# switch to urgent workspace
bindsym $mod+u [urgent=latest] focus
# Switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
# Move container to workspace
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
# Take a screenshot to clipboard
bindsym Print exec grim -g "$(slurp -d)" - | wl-copy -t image/png
# Copy qr code to clipboard
bindsym Shift+Print exec grim -g "$(slurp -d)" - | zbarimg -q --raw PNG:- | wl-copy

View file

@ -0,0 +1,17 @@
# vim:ft=sway
default_border none
gaps inner 10
gaps outer 20
seat * hide_cursor 4000
###### Borders ######
# class border backgr. text indicator child_border
#client.focused #F7B125 #F7B125 #FFFFFF #377375 #F7B125
#client.focused_inactive #5C6370 #2E3440 #FFFFFF #2E3440 #2E3440
#client.unfocused #5C6370 #2E3440 #FFFFFF #2E3440 #2E3440
#for_window [app_id="^.*"] border pixel 5
#for_window [class="^.*"] border pixel 5
#####################

View file

@ -0,0 +1,36 @@
# vim:ft=sway
exec {
{%@@ if profile == "Mirkwood" @@%}
nm-applet --indicator
redshift-gtk -m wayland
mpDris2
evolution
telegram-desktop
syncthing-gtk -m
mako
$HOME/Scripts/swayidle.sh
{%@@ elif profile == "Rivendell" @@%}
kodi
{%@@ endif @@%}
/usr/lib/kdeconnectd
kdeconnect-indicator
/usr/bin/gnome-keyring-daemon --start --components=secrets
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
ydotoold
wl-paste -t text --watch clipman store
autotiling
}
exec_always {
{%@@ if profile == "Mirkwood" @@%}
bash $HOME/.config/sway/randr/laptop.sh
{%@@ endif @@%}
gsettings set $gnome-schema gtk-theme 'Matcha-dark-aliz'
gsettings set $gnome-schema icon-theme 'Numix'
gsettings set $gnome-schema cursor-theme 'Breeze'
gsettings set $gnome-schema font-name 'Overpass 12'
gsettings set $gnome-schema document-font-name 'Overpass 12'
gsettings set $gnome-schema monospace-font-name 'Hack Nerd Font Mono 12'
flashfocus
}