This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install -y devilspie | |
mkdir -p ~/.devilspie | |
echo ' | |
(if (contains (window_class) "Code") | |
(begin | |
(spawn_async (str "xprop -id " (window_xid) " -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 ")) | |
(spawn_async (str "xprop -id " (window_xid) " -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY 0xD8000000")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'listify_listing_data', 'smyles_custom_featured_listing_map_icon', 50, 2 ); | |
function smyles_custom_featured_listing_map_icon( $data, $post ){ | |
// Make sure passed $post is WP_Post object | |
if( $post instanceof WP_Post ){ | |
// If listing is featured listing, change icon | |
if( ! empty( $post->_featured ) ){ | |
// Set the icon to use below (@see http://ionicons.com/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function do_things_late() { | |
global $listify_job_manager; | |
$template = $listify_job_manager->template; | |
$childargs = ''; | |
global $listify_navigation; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: PMPro Customizations | |
Plugin URI: http://www.paidmembershipspro.com/wp/pmpro-customizations/ | |
Description: Customizations for Paid Memberships Pro (14 day trial on level 1) | |
Version: .1 | |
Author: Stranger Studios | |
Author URI: http://www.strangerstudios.com | |
*/ |