Lots of changes

This commit is contained in:
Marko Korhonen 2020-05-06 09:47:03 +03:00
parent fea318ad89
commit 139da63a82
24 changed files with 98 additions and 509 deletions

View file

@ -4,3 +4,4 @@ border-color=#D65D0E
icons=1
default-timeout=5000
max-visible=6
layer=overlay

View file

@ -11,5 +11,6 @@ for_window [urgent="latest"] focus
# Gimp export window
for_window [title="Export Image*"] floating enable
for_window [app_id="fzf-launcher"] focus, floating enabled, border pixel 1
for_window [title="Mullvad VPN"] floating disable
for_window [app_id="firefox" title="^Extension: \(PassFF\)"] floating enable
for_window [title="About Firefox Nightly"] floating enable
for_window [title="About Mozilla Firefox"] floating enable

View file

@ -1,8 +1,8 @@
# vim:ft=i3config
default_border none
gaps inner 10
gaps outer 20
gaps inner 15
gaps outer 15
# Hide cursor after 4 seconds of inactivity
seat * hide_cursor 4000

View file

@ -9,7 +9,7 @@ exec {
kdeconnect-indicator
thunderbird
mako
wl-paste -t text --watch clipman store
wl-paste -t text --watch clipman store 1>> ~/.log/clipman 2>&1 &
mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
gnome-keyring-daemon --start --components=secrets

View file

@ -1,38 +0,0 @@
#!/bin/sh
# Set environment variables for Sway
# Firefox
export MOZ_ENABLE_WAYLAND=1
export MOZ_USE_XINPUT2=1
export MOZ_WEBRENDER=1
# Enable xdg-desktop-portal-wlr
export XDG_CURRENT_DESKTOP=sway
# Fix java on wayland
export _JAVA_AWT_WM_NONREPARENTING=1
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
# Enable qt5 theming and wayland support
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
# Fix redshift on wlroots
export WLR_DRM_NO_ATOMIC=1
# Run sway
dbus-run-session sway
# Unset the variables after quitting Sway
unset MOZ_ENABLE_WAYLAND
unset MOZ_USE_XINPUT2
unset MOZ_WEBRENDER
unset _JAVA_AWT_WM_NONREPARENTING
unset _JAVA_OPTIONS
unset QT_QPA_PLATFORMTHEME
unset QT_QPA_PLATFORM
unset QT_WAYLAND_DISABLE_WINDOWDECORATION
unset WLR_DRM_NO_ATOMIC
unset XDG_CURRENT_DESKTOP

View file

@ -0,0 +1,6 @@
[Unit]
Description=Removes files older than a week from trash can
[Service]
Type=oneshot
ExecStart=/usr/bin/trash-empty 7

View file

@ -0,0 +1,9 @@
[Unit]
Description=Runs trash-empty.service every hour
[Timer]
OnUnitActiveSec=1h
Unit=trash-empty.service
[Install]
WantedBy=timers.target