Compare commits

...

2 Commits

Author SHA1 Message Date
Joachim Nielandt
271506e2e0 Added sworkstyle and wofi 2023-05-25 10:02:37 +02:00
Joachim Nielandt
0982f4c655 Added work in progress 2023-05-25 10:02:22 +02:00
5 changed files with 61 additions and 4 deletions

View File

@ -11,7 +11,8 @@ include $swaydir/settings.conf
# Hide borders for single window # Hide borders for single window
hide_edge_borders smart hide_edge_borders smart
default_border normal # default_border normal # border + title
default_border pixel
# Font # Font
font pango:Hasklig Medium 9 font pango:Hasklig Medium 9
@ -21,6 +22,8 @@ font pango:Hasklig Medium 9
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \ exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
# make idea work - should be fine now
exec wmname LG3D
### Idle configuration ### Idle configuration
# #
@ -145,8 +148,8 @@ bar swaybar_command waybar
################### ###################
exec --no-startup-id gammastep exec --no-startup-id gammastep
# overrule mako and start mako # overrule mako and start mako
# exec --no-startup-id pkill dunst exec --no-startup-id pkill dunst
# exec --no-startup-id mako exec --no-startup-id mako
# start multi touch support # start multi touch support
exec --no-startup-id libinput-gestures-setup start exec --no-startup-id libinput-gestures-setup start
# start greenclip, this somehow fails to start at launch (sometimes?) # start greenclip, this somehow fails to start at launch (sometimes?)

View File

@ -133,7 +133,7 @@ set $scale_down $swayscripts/scale.sh down
set $wlsunset '[ -x "$(command -v wlsunset)" ] && $swayscripts/scripts/sunset.sh "on"' set $wlsunset '[ -x "$(command -v wlsunset)" ] && $swayscripts/scripts/sunset.sh "on"'
#set $autotiling '[ -x "$(command -v autotiling-rs)" ] && autotiling-rs' #set $autotiling '[ -x "$(command -v autotiling-rs)" ] && autotiling-rs'
#set $foot_server '[ -x "$(command -v foot)" ] && /usr/share/sway/scripts/foot.sh --server' #set $foot_server '[ -x "$(command -v foot)" ] && /usr/share/sway/scripts/foot.sh --server'
set $workspace_icons '[ -x "$(command -v sworkstyle)" ] && sworkstyle -d -l info &> /tmp/sworkstyle.log' set $workspace_icons '[ -x "$(command -v sworkstyle)" ] && sworkstyle -d -l info -c $HOME/.config/sworkstyle/config.toml &> /tmp/sworkstyle.log'
#set $mounting_daemon '[ -x "$(command -v pcmanfm)" ] && pcmanfm -d' #set $mounting_daemon '[ -x "$(command -v pcmanfm)" ] && pcmanfm -d'
## restart kanshi https://github.com/emersion/kanshi/issues/43#issuecomment-531679213 ## restart kanshi https://github.com/emersion/kanshi/issues/43#issuecomment-531679213
#set $kanshi '[ -x "$(command -v kanshi)" ] && pkill kanshi; exec kanshi' #set $kanshi '[ -x "$(command -v kanshi)" ] && pkill kanshi; exec kanshi'

View File

@ -0,0 +1,38 @@
# get an overview of all open windows etc
# swaymsg -t get_tree
fallback = ''
[matching]
'/(?i)Github.*Firefox/' = ''
'/node/' = ''
'/npm/' = ''
'/nvim ?\w*/' = ''
'/yarn/' = ''
'Alacritty' = ''
'Bitwarden' = ''
'Chia Blockchain' = ''
'Chromium' = ''
'Code' = ''
'Emacs' = ''
'GitHub Desktop' = ''
'Google-chrome' = ''
'Insomnia' = ''
'Microsoft-edge' = '󰇩'
'Nightly' = ''
'Postman' = ''
'Slack' = ''
'Spotify' = ''
'Steam' = ''
'Thunderbird' = ''
'balena-etcher' = ''
'code-oss' = ''
'discord' = ''
'firefox' = ''
'firefoxdeveloperedition' = ''
'foot' = '󰽒'
'jetbrains-idea-ce' = ''
'jetbrains-studio' = ''
'org.qbittorrent.qBittorrent' = ''
'thunderbird' = ''
'vlc' = ''

9
dot_config/wofi/config Normal file
View File

@ -0,0 +1,9 @@
mode=drun,run
run-always_parse_args=true
term=foot
allow_images=true
hide_scroll=true
insensitive=true
prompt=
height=40%
width=20%

View File

@ -7,9 +7,13 @@ fi
# set wayland specific settings # set wayland specific settings
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
# make firefox work
export MOZ_ENABLE_WAYLAND=1 export MOZ_ENABLE_WAYLAND=1
# make idea work
wmname LG3D
fi fi
# To check # To check
# Uncomment the following line to disable bi-weekly auto-update checks. # Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true" # DISABLE_AUTO_UPDATE="true"
@ -84,6 +88,9 @@ if ! zgenom saved; then
# This ZSH plugin enables using fzf to search your command history and do file searches. # This ZSH plugin enables using fzf to search your command history and do file searches.
zgenom load unixorn/fzf-zsh-plugin zgenom load unixorn/fzf-zsh-plugin
# Provide tips about aliases, give hint when using a command that has one
zgenom load djui/alias-tips
# generate the init script from plugins above # generate the init script from plugins above
zgenom save zgenom save
fi fi